From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CzhbJ-0006Zc-Ic for mharc-grub-devel@gnu.org; Fri, 11 Feb 2005 15:41:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CzhbF-0006XZ-4R for grub-devel@gnu.org; Fri, 11 Feb 2005 15:41:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CzhbA-0006Uv-4O for grub-devel@gnu.org; Fri, 11 Feb 2005 15:41:09 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Czhb9-0006UX-Uv for grub-devel@gnu.org; Fri, 11 Feb 2005 15:41:08 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CzhNL-0005DE-11 for grub-devel@gnu.org; Fri, 11 Feb 2005 15:26:51 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 822BB9D5C for ; Fri, 11 Feb 2005 21:26:50 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 25164-04 for ; Fri, 11 Feb 2005 21:26:48 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 7F7379A8C for ; Fri, 11 Feb 2005 21:26:48 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 42A77C04A for ; Fri, 11 Feb 2005 21:26:48 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <20050207121011.GC1380@mjk.myfqdn.de> <42077EA1.5090403@list.ru> <200502081420.43561.okuji@enbug.org> <4208E717.9040205@list.ru> From: Marco Gerards Date: Fri, 11 Feb 2005 20:27:00 +0000 In-Reply-To: <4208E717.9040205@list.ru> (Serbinenko Vladimir's message of "Tue, 08 Feb 2005 17:21:43 +0100") Message-ID: <87650yonaj.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: [Suggestion] LILO-like direct menu item access && scripting X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 20:41:14 -0000 Serbinenko Vladimir writes: > Yoshinori K. Okuji wrote: > >>On Monday 07 February 2005 15:43, Serbinenko Vladimir wrote: >> >> >>>private. The other problem is the mails: the patch is quite big and >>>is blocked somewhere (I sent it to grub-devel but haven't received). >>>If somebody is interested he can send me private e-email and I'll >>>send the patch in private >>> >>> >> >>Please don't send it by e-mail here. Is it difficult for you to put the >>patch somewhere? If you have no public place yourself, you can use >>Savannah. >> >> >> > Here it is http://phcoder.narod.ru/bash.diff. I know that it's slow > hosting but I haven't received the confirmation e-mail from faster one yet I had a quick look at the patch for now. Can you please explain in a new thread how the patch globally works? I will reply about the other issues there as well. There are still some things I would like to know: - Why does everything happen with strings? - Why are that many functions duplicated? (for example grub_bash_dupstr). - What is that huge table with operators? What kind of parser is it? I have never seen this in a top-down or bottom-up parser I have studied. - How does the parser in general work? So can you explain what happens when executing a script? First you load the file. Do you parse it, make pcode of it, run it directly? How about error handling? Thanks, Marco