WokLang is a minimalist programming language crafted in go. This project is being used to explore some of the complexities of interpretation of a functional programing language.
WokLang as language is initially broadly inspired by Lisp but eventually will end up diverging from it
go build
GOOS=js GOARCH=wasm go build -o live/wok.wasm wasm/wok.go
wok exec [filename] will execute the script
wok eval [code] will execute the code passed as argument
Because WebAssembly.instantiateStreaming requires CORS, a local server is required
npm install http-server cd live http-server
- Implemented tokenizer (scanner)
- Implemented parser (s-expression parser)
- Added rough runtime interpretation schema
- Added conditional expressions
- Added loop expressions
- Added math expressions
- Added func definition expression