[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] A catcode patch
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 24 May 2011 12:06:51 +0200
On Tue, May 24, 2011 at 11:46 AM, Dirk Laurie <email@example.com> wrote:
> In Lua, many special characters are idle, e.g. !, ?, @ etc.
> Lua 5.2 makes it easy to bring these characters into the syntax
> as alphabetic or space characters via the table in lctype.c.
So setcatcode('$','A') would allow you to write identifiers with dollar signs?
> This is NOT a suggestion to change official Lua!
That should be a standard disclaimer and would make a useful .sig ;)