Stack-based 2D esoteric programming language inspired by Befunge.
| Command | Description |
|---|---|
0 - 9 |
Push corresponding number onto the stack |
$ |
Pop top of stack and discard |
. |
Pop top of stack and output as integer |
, |
Pop top of stack and output as ASCII character |
# |
Skip next command in current direction |
@ |
End program |
: |
Duplicate top of the stack |
> |
Direction right |
< |
Direction left |
^ |
Direction up |
v |
Direction down |
? |
Pop top of stack, if value=0 reflect direction |
+ |
Add: pop a and b, push b+a |
- |
Subtraction: pop a and b, push b-a |
* |
Multiplication: pop a and b, push b*a |
/ |
Integer division: pop a and b, push b/a |
% |
Modulo: pop a and b, push the remainder of b/a |
& |
Accept integer from user and push it |
- C interpreter, learn multifile C programming
- Language server, learn about language servers, possibly Zig or Rust
- Prove turing completeness, learn about proof assistants and their relevance to SWE, likely Lean 4
- Other interpreters, possibly Zig and Rust