Your locale preferences have been saved. We like to think that we have excellent support for English in pretalx, but if you encounter issues or errors, please contact us!

litua - transform text documents with Lua hooks
2023-04-15 , HS i2
Language: English

Litua is FLOSS. You can download it and start right away. It will take your text document … and print the same document as output document. But if you attach hooks written in the Lua programming language, you can adjust this behavior.
Specifically, it recognizes an input language (which is a little bit more powerful than XML) and reads it into a tree data structure. User-specified functions (so-called hooks) can now operate on this tree and modify it. Finally, this tree is converted back into a string (yes, also this string representation can be modified with a hook).

One can describe Litua as “not XSLT, but Lua” or “text transformation utility”.

https://github.com/typho/litua

See also: litua lightning talk slides (610.6 KB)

Software developer. Prefers rust and python to many other languages. Develops digital typesetting software in rust. Eternal discoverer of Aikidō. Mi parolas Esperanto. 僕も一寸日本語を勉強しています. Reads papers and studies mathematics in his leisure time.

This speaker also appears in: