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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel