aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua/Marshaling.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-10-22Lua: marshal Version values as userdataAlbert Krewinkel1-1/+0
2021-10-22Switch to hslua-2.0Albert Krewinkel1-0/+1
The new HsLua version takes a somewhat different approach to marshalling and unmarshalling, relying less on typeclasses and more on specialized types. This allows for better performance and improved error messages. Furthermore, new abstractions allow to document the code and exposed functions.
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel1-2/+2
2020-04-17API change: use PandocError for exceptions in Lua subsystemAlbert Krewinkel1-1/+2
The PandocError type is used throughout the Lua subsystem, all Lua functions throw an exception of this type if an error occurs. The `LuaException` type is removed and no longer exported from `Text.Pandoc.Lua`. In its place, a new constructor `PandocLuaError` is added to PandocError.
2020-03-13Update copyright year (#6186)Albert Krewinkel1-2/+2
* Update copyright year * Copyright: add notes for Lua and Jira modules
2019-10-09Options.WriterOptions: Change type of writerVariables to Context Text.John MacFarlane1-0/+1
This will allow structured values. [API change]
2019-05-29Lua: add Version type to simplify comparisonsAlbert Krewinkel1-0/+1
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts.
2019-02-16T.P.Lua: split StackInstances into smaller Marshaling modulesAlbert Krewinkel1-0/+16