grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting (IMPORTANT!)


From: Marco Gerards
Subject: Re: Scripting (IMPORTANT!)
Date: Fri, 13 Oct 2006 11:48:32 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Hollis Blanchard <address@hidden> writes:

> On Thu, 2006-10-05 at 15:41 +0200, Marco Gerards wrote:
>> I'm looking forwards to your ideas, questions, suggestions, criticism
>> and bug reports. :-)
>
> How hard do you think it will be to implement all these features (and
> handle the bugs)?

Most of it is implemented already.  Other features will be
implemented.

Some things are easy to implement.  Like the test and expr commands.
I hope I can move the iterators to modules as well.  Modules are
easier to maintain, because of its interfaces.

But of course there are things that I do not like, when talking about
maintainability:

- The lexer is handcoded, I prefer a generated scanner.
- Preventing memory leaks is annoying.
- Perhaps more thoughts about error handling is required.


> I wonder if we wouldn't be better served by a simpler scripting
> language, rather than trying to emulate bash.

I think it is simple already.  But suggestions to make the code easier
to read, increase maintainability and flexibility are always welcome.

--
Marco





reply via email to

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