[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: class system with token filters
- From: John Belmonte <john@...>
- Date: Sat, 16 Sep 2006 09:31:57 -0400
Andreas Stenius wrote:
> I've begun a small attempt at a class system implemented with token
> filters.
>
> Find it here: http://kaos.explosive.se/svn/lua/class.lua
> This one requires the new token filter patch from lhf.
I'd prefer that token filters use the convention of a $ prefix for any
added keywords (e.g. $class). Rationale:
* makes it clear that the keyword is an extension
* avoids clash with identifiers in an existing program
* avoids clash with future real keywords
--John