lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


----- Original Message -----
From: Luiz Henrique de Figueiredo
Date: 8/27/2011 9:28 PM
Anyway, I may have to use a full preprocessor anyway.  I was just hoping
to use an all Lua technique that would allow for symbol resolution.
See http://lua-users.org/lists/lua-l/2007-05/msg00480.html

A token filter can certainly be a useful technique, but, annoyingly, requires a separate custom Lua executable just for this one approach. It is, however, no worse than having to run a C preprocessor over the code, as both result in some separate executable that must be run.

Thank you for the two pointers, though. A search of the archives didn't turn these up for me. (When is Google going to provide me a "read-my-brain" conceptual search? ;) )

-Josh