Skip to content

LanguagesProgramming/lua-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-interpreter

Lua interpreter made with Python using PLY (Python Lex-Yacc)

Usage

python3 main.py

Interface

You may run the project in an interface made with tkinter. You need to run:

python3 ui.py

This assumes that you have correctly setup your python installation with tkinter

Development

You can install nodemon to watch for changes on files and test new functionality. On a shell you can run

nodemon --exec python3 main.py

You may install nodemon by using npm install -g nodemon

To test your Lua file

Syntax

python3 -m tests.test_syntax <your_github_username> <your_lua_file>

e.g.

python3 -m tests.test_syntax brauliorivas sort.lua

About

Lua interpreter made in Python using PLY (Python Lex-Yacc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •