grub-devel
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]