2 releases
0.2.1 | Jan 14, 2023 |
---|---|
0.2.0 | Jan 11, 2023 |
#1070 in Programming languages
14KB
300 lines
🛑 (stap)
Stap (STAck Processor) is an experimental riff on Lisp (LISt Processor) but uses a persistent global stack like your favorite concatenative programming language. Pronounce it like "stop" and perhaps also stop before trying anything too crazy with this language.
The following are all equivalent in stap:
# Note: "pl" is "print line"
(pl (+ 1 1))
1 (pl (+ 1))
1 1 (pl (+))
(+ 1 1) (pl)
1 (+ 1) (pl)
1 1 (+) (pl)
Y Tho?
I wanted to see if I could use the Rail virtual machine for a Lisp.
More explanation
TODO: What is this madness?
Etc
A 2023 side quest of J.R. Hill.
Dependencies
~13–24MB
~364K SLoC