pandoc-lua-marshal: Use pandoc types in Lua

[ foreign, library, mit ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 0.1.0, 0.1.0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.3.1, 0.1.4, 0.1.5, 0.1.5.1, 0.1.6, 0.1.6.1, 0.1.7, 0.2.0, 0.2.1, 0.2.1.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.7.1, 0.2.8, 0.2.9, 0.3.0
Change log CHANGELOG.md
Dependencies aeson (>=1.5 && <2.3), base (>=4.12 && <5), bytestring (>=0.10 && <0.13), containers (>=0.6 && <0.8), exceptions (>=0.8 && <0.11), hslua (>=2.2 && <2.4), hslua-list (>=1.1.4 && <1.2), hslua-marshalling (>=2.2 && <2.4), pandoc-types (>=1.23 && <1.24), safe (>=0.3 && <0.4), text (>=1.1.1.0 && <1.3 || >=2.0 && <2.2) [details]
Tested with ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.5, ghc ==9.4.4
License MIT
Copyright © 2017-2024 Albert Krewinkel, John MacFarlane
Author Albert Krewinkel, John MacFarlane
Maintainer Albert Krewinkel <albert@zeitkraut.de>
Category Foreign
Home page https://github.com/pandoc/pandoc-lua-marshal
Bug tracker https://github.com/pandoc/pandoc-lua-marshal/issues
Source repo head: git clone https://github.com/pandoc/pandoc-lua-marshal.git
Uploaded by tarleb at 2024-10-01T12:28:55Z
Distributions Arch:0.2.7, Fedora:0.2.2, LTSHaskell:0.3.0, NixOS:0.2.9, Stackage:0.3.0, openSUSE:0.2.9
Reverse Dependencies 2 direct, 167 indirect [details]
Downloads 11298 total (407 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-10-01 [all 1 reports]

Readme for pandoc-lua-marshal-0.2.9

[back to package description]

pandoc-lua-marshal

GitHub CI Hackage Stackage Lts Stackage Nightly MIT license

Use pandoc types in Lua.

Description

This package provides functions to marshal and unmarshal pandoc document types to and from Lua.

The values of most types are pushed to pandoc as "userdata" objects that wrap a stable pointer to the Haskell value; these objects come with methods to access and modify their properties.

Sequences are pushed as normal Lua tables, but are augmented with convenience functions.