BSDLUA – evolved Unix scripting (CROSBI ID 572837)
Prilog sa skupa u zborniku | stručni rad | međunarodna recenzija
Podaci o odgovornosti
Voras, Ivan
engleski
BSDLUA – evolved Unix scripting
The issue of scriptability of Unix system seems like a topic resolved a long time ago with shell scripts – they are reasonably powerful and can be very tightly integrated with system utilities. However, though it is an old truism that the quality of the program depends mostly on the programmer and not on his tools, newer and better tools can significantly increase productivity and ease maintenance. Lua has many advantages over traditional shell scripts: a cleaner syntax with powerful language features (lexical scoping, OOP, closures, tail calls), exceptional suitability for interaction with C libraries, a garbage collector and a modular approach which makes writing long programs much cleaner then in shell code. In addition to that, the Lua interpreter is very small, easily embeddable in widely different environments and MIT licensed. BSDLUA is an experimental effort to integrate Lua as a scripting language in a modern Unix environment, by providing native Lua-C bindings for a subset of libc, as well as maintaining the ability to invoke and interface with system utilities. By doing this, Lua can be used both for simple shell scripting tasks and for writing more complex system utilities.
FreeBSD; Lua; scripting
nije evidentirano
nije evidentirano
nije evidentirano
nije evidentirano
nije evidentirano
nije evidentirano
Podaci o prilogu
121-124.
2011.
objavljeno
Podaci o matičnoj publikaciji
Proceedings of the 2011 AsiaBSDCon conference
Sato, Hiroki
Tokyo:
Podaci o skupu
AsiaBSDCOn Conference
predavanje
01.01.2011-01.01.2011
Tokyo, Japan