pandoc-lua-marshal: Use pandoc types in Lua

[ foreign, library, mit ] [ Propose Tags ]

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.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

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
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 && <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]
License MIT
Copyright © 2017-2024 Albert Krewinkel, John MacFarlane
Author Albert Krewinkel, John MacFarlane
Maintainer Albert Krewinkel <albert@zeitkraut.de>
Revised Revision 1 made by tarleb at 2024-04-23T10:02:42Z
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-03-29T17:56:57Z
Distributions Arch:0.2.3, Fedora:0.2.2, LTSHaskell:0.2.7, NixOS:0.2.7, Stackage:0.2.7, openSUSE:0.2.4
Reverse Dependencies 2 direct, 166 indirect [details]
Downloads 8798 total (314 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-03-29 [all 1 reports]

Readme for pandoc-lua-marshal-0.2.6

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