[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: David Kastrup <dak@...>
- Date: Sun, 10 Jan 2010 20:01:37 +0100
steve donovan <steve.j.donovan@gmail.com> writes:
> One model is filter chaining, where each filter is invoked in turn
> upon the token stream, potentially each modifying it. (Of course, one
> should not assume a particular filter ordering)
>
> A useful design principle for such filters is then that they should
> always return syntactically valid Lua token streams, so that they can
> be combined safely.
I was of the impression that the point of token filters was that they
were to convert something _not_ being syntactically valid Lua into Lua.
--
David Kastrup