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, 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
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.1 && <2.3), hslua-marshalling (>=2.1 && <2.3), lua (>=2.1 && <2.3), pandoc-types (>=1.22.1 && <1.23), safe (>=0.3 && <0.4), text (>=1.1.1.0 && <1.3 || >=2.0 && <2.1) [details]
License MIT
Copyright © 2017-2022 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-07-16T13:29:37Z
Distributions Arch:0.2.2, Fedora:0.2.2, LTSHaskell:0.2.6, NixOS:0.2.5, Stackage:0.2.6, openSUSE:0.2.4
Reverse Dependencies 2 direct, 166 indirect [details]
Downloads 8433 total (368 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-07-16 [all 1 reports]

Readme for pandoc-lua-marshal-0.1.7

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