From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Kaiep-00057J-3a for mharc-grub-devel@gnu.org; Tue, 02 Sep 2008 23:03:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kaien-00056x-QR for grub-devel@gnu.org; Tue, 02 Sep 2008 23:03:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kaiem-00056i-8g for grub-devel@gnu.org; Tue, 02 Sep 2008 23:03:45 -0400 Received: from [199.232.76.173] (port=51363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kaiem-00056f-0F for grub-devel@gnu.org; Tue, 02 Sep 2008 23:03:44 -0400 Received: from gateway13.websitewelcome.com ([69.93.35.6]:39836) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kaiel-0004oE-Hz for grub-devel@gnu.org; Tue, 02 Sep 2008 23:03:43 -0400 Received: (qmail 18648 invoked from network); 3 Sep 2008 03:11:29 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway13.websitewelcome.com with SMTP; 3 Sep 2008 03:11:29 -0000 Received: from c-67-185-142-228.hsd1.wa.comcast.net ([67.185.142.228]:36513 helo=localhost) by gator297.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Kaief-0005Kk-UK for grub-devel@gnu.org; Tue, 02 Sep 2008 22:03:38 -0500 Date: Tue, 2 Sep 2008 20:03:39 -0700 From: Colin D Bennett To: grub-devel@gnu.org Message-ID: <20080902200339.5277c207@gibibit.com> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Can LUA e coming with future Grub2 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: Wed, 03 Sep 2008 03:03:46 -0000 On Wed, 3 Sep 2008 09:08:13 +0800 "y.volta" wrote: > hi, > > i get to know the Fancy menu branch has lua supported, and just > wondering, the official release of Grub2 will have Lua inside ( as a > mod )? It would be cool, to be sure! I never used Lua before, and it was a great experience integrating it into GRUB; Lua is very easy and clean to integrate, and it makes adding totally customizable functionality to themes really easy. I haven't had a chance to really discuss the possibility of Lua support with the core GRUB developers, however. My plan was to modularize Lua in such a way that it is an optionally loadable piece of the gfxmenu functionality. Currently the Lua branch has a hard dependency on Lua. > if so, i'm usre, it will extend grub2 much more: for it can load > its function library and its scripts. Let's suppose we are trying > develop a window GUI style menu system, just like the XOSL does, we > can make this as a lua module, user can design its dialog or controls > layout in its scripts and 'require ("gui.so");' to have modern window > based menu UI. ;-) > > at the same time, we can also use lua to extend the grub.cfg, > isn't it? Actually, I think replacing GRUB's "bash-ish" scripting with Lua would be great in many ways, but it is true that Lua (at ~100 KB) is larger than the GRUB script engine. Regards, Colin