Forth Programming Language, hosted by Lua.
Work in progress.
- Compiles directly to (optimized) Lua source code
- Modeless with no interpretation mode
- Uses Lua call semantics, no return stack
- Lua table and array support
- Seamless Love2D integration
Lua table operations
Operation | Array | Table |
---|---|---|
Create | [ 1 2 3 ] | { key1 val1 } |
Append | tbl item append | |
Insert new | tbl idx item insert | tbl key value put |
Overwrite | tbl idx item put | tbl key value put |
Lookup | tbl idx at | tbl key at |
Remove | tbl idx remove | tbl key nil put |
Remove & Return | tbl idx table.remove/2 | |
Size | tbl size |