[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP parser
From: |
Hans Aberg |
Subject: |
Re: GMP parser |
Date: |
Thu, 3 May 2001 11:22:17 +0200 |
At 09:31 +1000 2001/05/03, Kevin Ryde wrote:
>> Was not "hexx" to be treated as an identifier?
>
>No, just single letter variables "a" to "z" for that demo.
OK. But then the following lex grammar would work as well:
...
"abs" { return ABS; }
"bin" { return BIN; }
...
[a-z] { return VARIABLE; }
. { return BAD; }
Hans Aberg