lua-users home
lua-l archive

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


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