Vladimir Serbinenko <[EMAIL PROTECTED]> 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



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to