./devel/hs-pandoc-lua-marshal, Use pandoc types in Lua

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.6nb1, Package name: hs-pandoc-lua-marshal-0.2.6nb1, Maintainer: pkgsrc-users

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.


Master sites:

Filesize: 37.814 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-03 11:41:05 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-pandoc-lua-marshal: Update to 0.2.6

0.2.6 - Released 2024-03-29.

    Fixed a bug that caused problems with empty Block lists in the content
    attributes of Div, Figure, and BlockQuote elements.

0.2.5 - Released 2024-03-04.

    The clone method on Blocks and Inlines elements now creates deep copies
    of the lists.

0.2.4 - Released 2024-01-19.

    Relaxed upper bound for aeson, allowing aeson-2.2.*.

0.2.3 - Released 2024-01-19.

    Relaxed upper bound for text, containers, and bytestring, allowing
    text-2.1, containers-0.7, and bytestring-0.12.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-30 19:12:34 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-pandoc-lua-marshal: Update to 0.2.2

0.2.2 - Released 2023-03-15.
* Add __tostring metamethods to Blocks and Inlines.

0.2.1.1 - Released 2023-03-13.
* The version constraints for hslua packages have been relaxed; other
  changes in hslua 2.3.* do not affect this package.

0.2.1 - Released 2023-02-11.
* All userdata types have been given a __tojson metamethod. The methods
  return the default JSON representations of AST objects.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-27 17:01:05 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-pandoc-lua-marshal: Update to 0.2.0

0.2.0
* Depend on pandoc-types 1.23: the Null Block constructor has been removed,
  and a Figure constructor has been added.
* Support for Lua 5.3 has been dropped; the package now requires hslua 2.2
  or later.
* The implementation for List has been moved to the separate hslua-list
  module. This module no longer contains C code.

0.1.7 - Released 2022-07-16
* Allow Blocks to be passed as Caption value. The resulting caption has the
  Blocks as its long version and no short version.
* Add clone method to Pandoc elements.

0.1.6.1 - Released 2022-06-10
* Provide better error messages when fuzzy retrieval of Inlines or Blocks
  fails.
* Relax upper bound for text, allow text-2.0.

0.1.6 - Released 2022-06-03
* Fix applyFully: the function always traversed the document type-wise,
  never topdown.
* Avoid shadowing of a function name that was added in hslua-2.2.
* Support concatenating of Pandoc values with the .. operator.

0.1.5.1 - Released 2022-02-19
* Relax upper bound for lua and hslua.

0.1.5 - Released 2022-02-17
* Allow any type of callable object as argument to List functions filter,
  map, and find_if. These previously required the argument to be of type
  function, which was too restrictive.
* Inline: the type of Image captions is now Inlines instead of List.
   2022-08-20 10:08:24 by Thomas Klausner | Files touched by this commit (211)
Log message:
hs*: recursive bump for new dependencies needed

for hs-aeson, hs-vector
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk