[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: my current project: new lalr module
From: |
Matt Wette |
Subject: |
Re: my current project: new lalr module |
Date: |
Sat, 06 Jun 2015 10:19:43 -0700 |
On Jun 4, 2015, at 1:41 AM, Nala Ginrut <address@hidden> wrote:
>
>> 1) There is no specification of terminals. Terminals are detected in
>> rules (via fenders) as quoted symbols or characters.
>> Example of terminals: 'number, #\+
>
> hmm...and strings? Do you have plan to let users choose whether to use
> terminals-inference? ;-)
This I will think about. It should not be difficult. (I'm wondering what to
do with strings like "(hello)" that I might want to convert to symbols.)
Also todo: provide hash functions that would allow the parser and lexer to work
with integers instead of symbols.
Matt