From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E4NrF-0004L2-PC for mharc-grub-devel@gnu.org; Sun, 14 Aug 2005 15:09:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E4NrE-0004Kl-0H for grub-devel@gnu.org; Sun, 14 Aug 2005 15:09:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E4Np0-0003ys-Sh for grub-devel@gnu.org; Sun, 14 Aug 2005 15:07:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E4Now-0003ow-KJ for grub-devel@gnu.org; Sun, 14 Aug 2005 15:06:58 -0400 Received: from [64.233.170.202] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E4NUb-00056F-Vn for grub-devel@gnu.org; Sun, 14 Aug 2005 14:45:58 -0400 Received: by rproxy.gmail.com with SMTP id y7so699066rne for ; Sun, 14 Aug 2005 11:30:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:disposition-notification-to:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=QvH1zCmz3zc+8tK0t3lyT+hoXv+4SG+2erLBnR49wDdQIdJ8xVEXg3G2uEZ7mBKxq4zGOVn/wHtFOPJw9avWmPYeV4GcwTjs0wyQ6BNCcTaFaO8xXWijdcnCp+iKy7mtfv8tbeVtJuIBmoC+rZkW5eYI0PYdqFn2CfwWMZmkNCA= Received: by 10.38.75.11 with SMTP id x11mr1521416rna; Sun, 14 Aug 2005 11:30:21 -0700 (PDT) Received: from ?192.168.1.100? ([83.76.3.140]) by mx.gmail.com with ESMTP id k6sm850182rnd.2005.08.14.11.30.20; Sun, 14 Aug 2005 11:30:21 -0700 (PDT) Message-ID: <42FF8DB7.10700@gmail.com> Date: Sun, 14 Aug 2005 20:30:15 +0200 From: Vladimir Serbinenko User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <42FF0C53.1070601@gmail.com> <200508141635.29675.okuji@enbug.org> <42FF6B6D.4050403@gmail.com> <200508142001.25893.okuji@enbug.org> In-Reply-To: <200508142001.25893.okuji@enbug.org> Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Subject: Re: [DISCUSSION] Scripts and menus 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: Sun, 14 Aug 2005 19:09:20 -0000 Ok. At this moment I have one thing to do that will be approximately finished on Thursday and then I'll do it (on next Monday I suppose my assignment will be finished) Is it ok to create bison parser that will parse command by command and create a pseudocode at output that can be easily executed? Yoshinori K. Okuji wrote: >On Sunday 14 August 2005 18:03, Vladimir Serbinenko wrote: > > >>It's only a question of syntax so it's ok but IMHO 2 points are important: >> 1) It must be possible to set additional attributes to a menu entry >> >> > >I'd like to use options for these. Like this: > >entry --label="gnu" --key="g" "GNU 0.3" { > root=(hd0,0) > multiboot /gnumach > module /serverboot >} > > > >> 2) It must be possible to create functions that are *not* the menu >>entries >> >> > >They should be the same as Bash: > >function load_modules { > module /boot/module1 > module /boot/module2 >} > >entry "My OS version 1" { > multiboot /boot/kernel-1 > load_modules >} > >entry "My OS version 2" { > multiboot /boot/kernel-2 > load_modules >} > >Okuji > > >_______________________________________________ >Grub-devel mailing list >Grub-devel@gnu.org >http://lists.gnu.org/mailman/listinfo/grub-devel > > >