/lua-interpreter

A Flex/Bison lua interpreter

Primary LanguageLuaMIT LicenseMIT

lua-interpreter

A Flex+Bison Lua 5.1 interpreter.

It has complete grammar support, interpretation however is incomplete.

The first project in the course DV1465, Compiler Techniques at Blekinge Institute of Technology.

Features

  • Integer arithmetic
  • Variables
  • io.read, io.write and print for I/O
  • for, if, while loops
  • functions

Todo

  • Rewrite the type system
  • Refactoring
  • Tables
  • Add support for \n and \t for print/io.write
  • Make a stdlib for filehandling, proper I/O etc