[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Standalone problem to test syntax rules
From: |
Bean |
Subject: |
Re: Standalone problem to test syntax rules |
Date: |
Mon, 23 Jul 2007 00:34:52 +0800 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Jul 22, 2007 at 06:21:18PM +0200, Marco Gerards wrote:
> The code already uses an AST. Or what do you mean?
I mean the test program.
> If I am not mistaken, you are going over parser.y to make it work with
> more situations and to introduce proper error handling. Or am I
> mistaken?
There is a lot of change. The basic idea is that commands should be seperated
by either ';' or '\n', followed by zero or more '\n'.
delimiter: '\n'
| ';'
| delimiter '\n'
>
> > Would you take a look at the program, especially the error recover rules.
> > I think it can handle all situation, but you never know until it's fully
> > tested.
>
> In the tarball?
Yes.
--
Bean