Lua Server Pages, a PHP/ASP like scripting language, simplifies design of remote real-time monitoring and controller applications for embedded systems.
Barracuda Lua Server Pages, or LSP for short, is an easy to use scripting language for embedded systems.
LSP follows the PHP syntax, and the server side HTML tags start with <?lsp and ends with ?> .
LSP is very fast when for example compared to PHP. LSP can also handle multiple concurrent requests.
LSP is a plugin to the Barracuda Embedded Web Server. The server is specifically designed to be run in embedded devices, but can also be run on host computers.
LSP pages can be maintained with commonly available HTML/XML tools.
Lua is designed as a script language to embed in other programs. The implementation is extensible.
The Lua core depends lightly on the ANSI C runtime library. It requires only a few simple runtime library functions and basic C standard library functions.
On top of all of the great reason why Lua is good non-embedded, it has a straightforward license for embedding, few dependencies, unobtrusive API, a small binary footprint, and very readable/modifiable source code.
Dynamically typed programming languages were once seen as slow, unreliable, and suitable only for small throw-away tasks. However, their ability to aid rapid systems development and to facilitate the pervasive, mobile, and frequently updated systems that are increasingly in demand in the modern world has led to their stock rising considerably.
Barracuda extends the core Lua language making it possible to upload and manage applications via the web-server.
Another feature that is great for embedded applications that have limited memory is that the larger parts of the Lua core (lexer, parser, and code generator) can be very easily removed, and still leave a fully functional Lua, which of course can only run precompiled programs.
The new LSP plugin is included in our free BarracudaDrive server. The server targets home users and comes with many features that are useful for remote PC management. BarracudaDrive is free for PC, Mac, and Linux.