__,__
.--. .-" "-. .--.
/ .. \/ .-. .-. \/ .. \
| | '| / Y \ |' | |
| \ \ \ 0 | 0 / / / |
\ '- ,\.-"""""""-./, -' /
''-' /_ ^ ^ _\ '-''
| \._ _./ |
\ \ '~' / /
'._ '-=-' _.'
'-----'
- mathematical expressions
- variable bindings
- functions
- application of those functions
- conditionals
- return statements
- higher-order functions
- closures
- data types
- integers
- booleans
- strings
- arrays
- hashes
- bytecode compiler
- virtual machine
go run main.go
go build -o monkey . && ./monkey
go build -o fibonacci ./benchmark
./fibonacci -engine=eval
./fibonacci -engine=vm
Go there and buy this now: https://interpreterbook.com/