A Flex/Bison lua interpreter
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
Makefile
README.md
generate_dot.sh
test.sh

README.md

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