Risc Lua

lua-users home
wiki

An implementation of Lua for RISC OS

Available at http://www.wra1th.plus.com/lua .

Compiled with Norcroft v.5.61, linked with the shared Clib.

Differences from standard Lua:

1. #define LUA_NUMBER int
2. No math library, but bitwise operators ~ (not), & (and), | (or), ^^ (xor) and shifts <<, >> instead.
3. Base library extended with rnd and Diego Nehab's protect and newtry.
4. os extended with a directory iterator dir and filetype.
5. New library block for arrays.
6. New library swi for software interrupts.
7. Peter Shook's local x,y,z in t syntax.
9. Hard space lexed as a soft space.
10. `,$,?,!,@ allowed in identifiers.
11. Syntactic sugar: \ for function and => for return.

FindPage · RecentChanges · preferences
edit · history
Last edited August 1, 2007 8:37 pm GMT (diff)