pandoc-lua-marshal: Use pandoc types in Lua

[ foreign, library, mit ] [ Propose Tags ]
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
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), bytestring (>=0.10 && <0.12), containers (>=0.6 && <0.7), exceptions (>=0.8 && <0.11), hslua (>=2.0.1 && <2.1), hslua-marshalling (>=2.0.1 && <2.1), lua (>=2.0.2 && <2.1), pandoc-types (>=1.22.1 && <1.23), safe (>=0.3 && <0.4), text (>=1.1.1.0 && <1.3) [details]
License MIT
Copyright © 2017-2021 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 2022-01-14T09:47:29Z
Distributions Arch:0.1.5.1, LTSHaskell:0.1.5.1, NixOS:0.1.5.1, Stackage:0.1.5.1, openSUSE:0.1.4
Downloads 2632 total (325 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-01-14 [all 1 reports]

Readme for pandoc-lua-marshal-0.1.3.1

[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.