Crates.io | stap-lang |
lib.rs | stap-lang |
version | 0.2.1 |
source | src |
created_at | 2023-01-11 09:03:46.783018 |
updated_at | 2023-01-14 07:05:48.101422 |
description | Stap programming language (STAck Processor, ala Lisp) |
homepage | https://github.com/hiljusti/stap |
repository | https://github.com/hiljusti/stap |
max_upload_size | |
id | 756262 |
size | 42,448 |
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)
I wanted to see if I could use the Rail virtual machine for a Lisp.
TODO: What is this madness?
A 2023 side quest of J.R. Hill.