LuaOs

The LuaOS provides an operating system layer mainly addressing embedded systems. The LuaOS is executed by a LuaJit VM lvm with an extended synchronous and asynchronous IO layer similar to nodejs. The LuaOS is programmed entirely in the Lua programming language. The LuaOS and the lvm provide multi-level parallel and concurrent execution of scripts using fibers (co-routines) and threads.

The LuaOS and LuaOS WEB GUI are used for educations purposes and for production systems, too. Due to the easy learning programming language Lua students learn programming of distributed sensor networks using embedded computers like the Raspberry PI zero and a common WEB browser.

LuaOs WEB GUI

The LuaOS WEB interface provides a programming and execution interface for LuaOS nodes. The LusOS WEB GUI can be used in any WEB browser and communicates with LuaOS via HTTP communication.

The WEB interface consists of the following components:

  1. A LusOS shell interpreter featuring remote execution of LuaOS commands.
  2. A Lua script editor featuring syntax highlighting and remote execution of scripts.
  3. Message logging windows for remote script execution
  4. Integrated help system
  5. A WEB clipboard using an external WEB clipboard server providing sharing of program code directly from the editor window

luaosweb

LVM

The extended LuaJit Virtual Machine (lvm) consists of the following components:

  1. Improved and extended LuaJIT engine (Lua bytecode engine with native code just-in-time compiler)
  2. Asynchronous multi-threaded IO via the uv library (used in nodejs, too) and an extensinve API to uv
  3. Libraries (Threads, HTTP, HTML, RPC, Sensors, HAL, ...)
  4. A REPL command line interface
  5. Parallel and concurrent programming with processes, threads, fibers (co-routines)