/stopka

Experimental: Clone of min-lang implemented in golang

Primary LanguageGo

Stopka is a functional, concatenative toy programming language which is clone of min-lang

Start REPL
$ go run cmd/stopka/main.go
> (1 2 3) (1000 +) map
[[1001 1002 1003]]

> dup
[[1001 1002 1003] [1001 1002 1003]]

> (500 -) map
[[1001 1002 1003] [501 502 503]]

> swap +
[[501 502 503 1001 1002 1003]] 
Features
  • Follows the functional and concatenative programming paradigms
  • Simplicity
  • No external dependencies, no generators
  • Parser in less than 100 lines of code