16 lines
481 B
Plaintext
Executable file
16 lines
481 B
Plaintext
Executable file
header
|
|
s" Jorth Crash Course" write
|
|
s" Syntax & Semantics" write
|
|
bullet
|
|
s" * Read text until a space is encountered" write pause
|
|
s" * Look up word in dictionary" write pause
|
|
s" * If a definition is found: Execute it" write pause
|
|
s" * Otherwise: Parse it as a number" write pause
|
|
s" * Otherwise: Give up" write pause
|
|
s" * Postfix / Reverse Polish Notation" write
|
|
s" parameters and return values live on The Stack" write pause
|
|
s" * D E M O !" write pause
|
|
demorepl
|
|
|
|
|