lua-users home
lua-l archive

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


On Sat, Feb 27, 2010 at 6:32 PM, Mark Hamburg <mark@grubmah.com> wrote:
> Speaking of which, could one implement a slow version of token filters by having an option to run the reader output through a lexer and then processing the material that came out of that?

We could do that today, but the massaged tokens would need to be
stringified first - in other words, a traditional macro preprocessor
;)

BTW, given that Lua has become an attractive intermediate form for
compilers, a standard way of specifying actual source file line
numbers (like C's #line directive) would be cool.

steve d.