Risc Os Lua |
|
RiscLua uses 32-bit integers for its number type, though doubles can be used
via its dbl library. The riscos library provides a directory iterator and filetype function, and mimics BBC Basic in providing functions dim and sys and operators !,? and $. It uses Peter Shook's patch to provide statements
local <varlist> in <table_expr>
and offers the syntactic sugar \ (for function) and => (for return).
Sadly RISC OS has as yet no dynamic linking facility, so loadlib cannot be used.
The StrongED editor has a Lua mode for syntax colouring and provides a development environment: a Lua script in one window can act on the text in another and put its output into yet another (or replace it).