tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lua as a scripting language in NetBSD

On Sat, Oct 17, 2009 at 09:03:20PM +0200, Joerg Sonnenberger wrote:
 > Second is a new small footprint DHCP server. Lua makes a sane
 > configuration language here with the possibility of arbitrary
 > customisation.

That's not a feature. Config formats shouldn't be Turing-complete.

 > For scripts a good candidate for use is pkg_install. The current use of
 > sh/awk/sed both requires larger bootstrap kits on !NetBSD and makes it
 > difficult to correctly handle e.g. configuration files with spaces (XXX
 > add PR reference here). This is not strictly a reason to move it to
 > base, but might provide an idea for what it is useful.

I'm not sure I understand this. Isn't pkg_install mostly compiled C
code? Is the goal to rewrite it in Lua instead of C?

David A. Holland

Home | Main Index | Thread Index | Old Index