[texhax] TexLua configuration file parsing
bd at bdtechconcepts.com
Sat Dec 17 20:10:39 CET 2016
> one concern is that it loads a
> project-specific configuration file via a lua "dofile" command, which
> means that the configuration file itself is live lua code.
Followup: In the end the lua function string.find was used to split
each line into fields with required contents and delimiters, and the
resulting entries were checked and assigned manually. This may not be
totally "secure", but it will help catch most common errors.
Lua was also used to replace make, grep, and gawk, and is a nice
addition to the TeX ecosystem.
BD Tech Concepts LLC
bd at BDTechConcepts.com
More information about the texhax