All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Can LUA e coming with future Grub2
@ 2008-09-03  4:56 y.volta
  2008-09-03  8:25 ` Bean
  0 siblings, 1 reply; 8+ messages in thread
From: y.volta @ 2008-09-03  4:56 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

For the Grub2 internal script engine, yes, it is little. but need more work to be improved. About the size, i think, Lua can be a replacement if this lua.mod is available at runtime. at the same time, why not load gziped mod file from disk? this will reduce the size of lua module: 100,436 bytes -> 49,766.

But the benifit of using Lua, i think, is for graphic menu. the gfxmenu uses a strange script engine, it is hard to learn for a common user; but the Lua, it is easy. ;-) 


So, it is good to have lua support in Grub2.


----------------------
Y.Volta




[-- Attachment #2: Type: text/html, Size: 1326 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <48C052F5.80B3EF.08497@m12-68.163.com>]
* Can LUA e coming with future Grub2
@ 2008-09-03  1:08 y.volta
  2008-09-03  3:03 ` Colin D Bennett
  0 siblings, 1 reply; 8+ messages in thread
From: y.volta @ 2008-09-03  1:08 UTC (permalink / raw)
  To: grub-devel

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 )? 

    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?


----------------
y.volta

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-09-05  0:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-03  4:56 Can LUA e coming with future Grub2 y.volta
2008-09-03  8:25 ` Bean
2008-09-03 10:25   ` Robert Millan
2008-09-03 16:44     ` Vesa Jääskeläinen
2008-09-04 19:24       ` Robert Millan
     [not found] <48C052F5.80B3EF.08497@m12-68.163.com>
2008-09-05  0:49 ` y.volta
  -- strict thread matches above, loose matches on Subject: below --
2008-09-03  1:08 y.volta
2008-09-03  3:03 ` Colin D Bennett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.