Pregled bibliografske jedinice broj: 513735
BSDLUA – evolved Unix scripting
BSDLUA – evolved Unix scripting // Proceedings of the 2011 AsiaBSDCon conference / Sato, Hiroki (ur.).
Tokyo, 2011. str. 121-124 (predavanje, međunarodna recenzija, cjeloviti rad (in extenso), stručni)
CROSBI ID: 513735 Za ispravke kontaktirajte CROSBI podršku putem web obrasca
Naslov
BSDLUA – evolved Unix scripting
Autori
Voras, Ivan
Vrsta, podvrsta i kategorija rada
Radovi u zbornicima skupova, cjeloviti rad (in extenso), stručni
Izvornik
Proceedings of the 2011 AsiaBSDCon conference
/ Sato, Hiroki - Tokyo, 2011, 121-124
Skup
AsiaBSDCOn Conference
Mjesto i datum
Tokyo, Japan, 2011
Vrsta sudjelovanja
Predavanje
Vrsta recenzije
Međunarodna recenzija
Ključne riječi
FreeBSD; Lua; scripting
Sažetak
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.
Izvorni jezik
Engleski
Znanstvena područja
Računarstvo