Skip to content

johan-bjareholt/lua-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Flex/Bison lua interpreter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published