[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: load() and standard iterators for reading files in 5.2
- From: steve donovan <steve.j.donovan@...>
- Date: Sat, 27 Feb 2010 18:38:20 +0200
On Sat, Feb 27, 2010 at 6:32 PM, Mark Hamburg <email@example.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.