A simple BASIC interpreter written in Go.
I wrote this for trying out the yacc
tool provided by Go.
Refer to parse.y
for the grammar. To generate the parser, run go generate
.
Run go build
to build the interpreter.
- Arrays
- Functions and procedures
- Strings and other basic types
- Input