[texhax] TexLua configuration file parsing

Brian Dunn 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.


Brian


-- 
Brian Dunn
BD Tech Concepts LLC
http://www.BDTechConcepts.com
bd at BDTechConcepts.com

http://www.linkedin.com/in/bdtechconcepts/


More information about the texhax mailing list