ClearOne Writing StreamNet User Manual
Page 7
Introduction
1-3
All specifications subject to change without notification. All rights reserved. Copyright © 2007 NetStreams
Main +1 512.977-9393 / fax +1 512.977.9398 / Toll Free Technical Support +1 866-353-3496
3600 W. Parmer Lane, Suite 100; Austin, TX 78727 /
www.netstreams.com.
portion of the control system can be written in C/C++ while a minimum of device
specific code is written in interpreted Lua.
Minimal System Interface and Dependence – The Lua virtual machine and its
associated parser/compiler are written in ANSI-standard C with a minimum system
interface. There is no operating system (OS) interface defined at the script level.
Native String Manipulation – The bulk of the necessary string operations
(concatenation, searching, formatting, regular expressions, etc.) are implemented
in ANSI C, rather than being implemented in the script language. This provides for
substantially improved performance given that the majority of control applications
are string parsing and generation.
Virtual Machine (VM) implementation – The Lua scripting language is compiled
(either at runtime or in advance) into a VM-interpreted language that is
subsequently run on a virtual machine designed with the language constraints in
mind. This substantially improves performance over similar languages that are
fully interpreted.
Object-oriented – While Lua is not an object-oriented language, there are sufficient
language features that it can be treated as such.
The Lua script engine and its associated tools are licensed under a MIT-style license,
which states that it is copyrighted material but free license is granted for commercial
and non-commercial usage.
For the full Lua license see Appendix A, Lua 5.0 License on page A-1.
Further information on Lua is available either from the web site
http://www.lua.org
or
Programming in Lua by Roberto Lerusalimschy.