Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-10-26 | Lua: marshal SimpleTable values as userdata objects | Albert Krewinkel | 1 | -18/+56 | |
2021-10-22 | Switch to hslua-2.0 | Albert Krewinkel | 1 | -21/+16 | |
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-08 | Update copyright notices for 2021 (#7012) | Albert Krewinkel | 1 | -1/+1 | |
2020-09-20 | Lua filters: add SimpleTable for backwards compatibility (#6575) | Albert Krewinkel | 1 | -0/+59 | |
A new type `SimpleTable` is made available to Lua filters. It is similar to the `Table` type in pandoc versions before 2.10; conversion functions from and to the new Table type are provided. Old filters using tables now require minimal changes and can use, e.g., if PANDOC_VERSION > {2,10,1} then pandoc.Table = pandoc.SimpleTable end and function Table (tbl) tbl = pandoc.utils.to_simple_table(tbl) … return pandoc.utils.from_simple_table(tbl) end to work with the current pandoc version. |