Log In  


Cart #japi_jorth_1-1 | 2024-11-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Jorth

A small stack-based language interpreter implemented in Pico-8, oh and a text editor too. It's a programming toy. If you know Forth, this language won't be too hard to learn.

Controls

Ctrl-G: Switches modes
Ctrl-D: Deletes the current code
Ctrl-C: Copies the code (bugged)
Ctrl-V: Pastes whatever is in the clipboard (bugged)
Click to run the code.

2


Be nice if there was a documentation


Also agree with @SwordF , I'm struggling.

strings viewed as text with dump show as 0, but "TXTB" as number with . displays 0.0002 ???

How about adding a new LUA keyword ?

10 30 20
3 "mid" LUA
.

Would display 20
the parameters of the LUA call would be the number of stack elements to pop and pass to the lua function, and the function name. The return value(s) of the call would be put on the stack.
Example :

def cosinus
1 "cos" LUA
end
0.5 cosinus . # -1



[Please log in to post a comment]