/interp2

yet another language interpreter written in Go

Primary LanguageGoMIT LicenseMIT

interp2

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.

TODO

  • Arrays
  • Functions and procedures
  • Strings and other basic types
  • Input