grub-devel
[Top][All Lists]
Advanced

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

Re: Scripting support


From: Yoshinori K. Okuji
Subject: Re: Scripting support
Date: Fri, 28 Oct 2005 05:04:54 +0200
User-agent: KMail/1.7.2

On Saturday 22 October 2005 04:46 pm, Vladimir Serbinenko wrote:
> I propose the following argorithm. Bison parser transforms the text-form
> to internal form of a linked list of commands with some special commands
> like jump if last value was true, ... . Think about assembler. Then it's
> executed by simple engine that works like CPU: it takes one command from
> a linked list. Executes it and changes the pointer so it points to the
> next command. A command is a structure containing:
>     variable showing it's type (normal command, jump, loop, end of loop,
> ...)
>     union of data necessary for necessary commands
>     pointer to next command.

Ahghh. Please avoid making yet another language. Since the language constructs 
in shell is so few, I don't see much benefit from such a translation.

Okuji




reply via email to

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