[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch] Scripting engine
From: |
Marco Gerards |
Subject: |
Re: [Patch] Scripting engine |
Date: |
Wed, 31 Aug 2005 21:22:38 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
Vladimir Serbinenko <address@hidden> writes:
> I wrote the preciew version of scripting engine. I'll add some comments
> soonly.
> Parser parses everytime one command because the commands could be
> entered from
> commandline. Bison converts in kind of pseudocode. Arithmethic support
> will be done
> by separate parser because arithmetic parse is very different form
> bash one.
Can't this be done in the same bison parser? Or what do you mean?
I noticed that you have hand written yylex, wouldn't it be a lot
easier to use flex for this? In that case you can easily detect
tokens using regular expressions. This makes maintaining the
tokenizer really easy.
Thanks,
Marco
- [DISCUSSION] Grub2 Improvements, (continued)
Re: [DISCUSSION] Scripts and menus, Yoshinori K. Okuji, 2005/08/14
- Re: [DISCUSSION] Scripts and menus, Vladimir Serbinenko, 2005/08/14
- Re: [DISCUSSION] Scripts and menus, Yoshinori K. Okuji, 2005/08/14
- Re: [DISCUSSION] Scripts and menus, Vladimir Serbinenko, 2005/08/14
- Re: [DISCUSSION] Scripts and menus, Marco Gerards, 2005/08/15
- [Patch] Scripting engine, Vladimir Serbinenko, 2005/08/24
- Re: [Patch] Scripting engine, Yoshinori K. Okuji, 2005/08/28
- Re: [Patch] Scripting engine, Vladimir Serbinenko, 2005/08/28
- Re: [Patch] Scripting engine,
Marco Gerards <=