LUA is an ultra lightweight scripting language comprising less than two dozen keywords: and, break, do, else, elseif, end, false, for, function, if, in, local, nil, not, or, repeat, return, then, true, until, while.
LUA has a considerably smaller footprint than other programming languages (with its complete source code and documentation taking a mere 1.3 MB).
This repository contains the source code cnversion from lua to python scripting language.
Check whether python is installed in your system. You can check that through:
python --version
Clone this repository using
git clone https://github.com/Mansimran7/ASE_Group12_Hws.git
Now you just need to run the following line inside /src folder to run all its test cases:
python main.py -g all
You can also choose a single test to test from ["num","sym","rand","the"] by the following command line:
python main.py -g [name-of-test-case]
This project is licensed under MIT. Further details regarding the license can be found here.
C:.
│ .gitignore
│ CITATION.cff
│ CODE_OF_CONDUCT.md
│ CONTRIBUTING.md
│ LICENSE.md
│ README.md
│ requirements.txt
│
├───.github
│ └───workflows
│ LUA2Python.yml
│
├───docs
│ docs.md
│
├───etc
│ ├───data
│ │ auto93.csv
│ │
│ ├───img
│ │ Discord_server_proof.png
│ │ luatopython_group12.gif
│ │
│ └───out
│ cluster.out
│ data.out
│ script.out
│
├───src
│ ├───Hw1-script
│ │ │ help.py
│ │ │ main.py
│ │ │ misc.py
│ │ │ num_class.py
│ │ │ sym_class.py
│ │ │ utils.py
│ │ │ __init__.py
│ │
│ ├───Hw2-data
│ │ │ cols_class.py
│ │ │ DATA_class.py
│ │ │ help.py
│ │ │ main.py
│ │ │ misc.py
│ │ │ num_class.py
│ │ │ row_class.py
│ │ │ sym_class.py
│ │ │ utils.py
│ │ │ __init__.py
│
│ ├───Hw3-cluster
│ │ │ cols_class.py
│ │ │ DATA_class.py
│ │ │ help.py
│ │ │ main.py
│ │ │ misc.py
│ │ │ num_class.py
│ │ │ row_class.py
│ │ │ sym_class.py
│ │ │ utils.py
│ │ │ __init__.py
│
└───tests
│ testEngine.py
│ test_add.py
│ __init__.py
To find out how you can contribute to this project, read the CONTRIBUTING.md file
The discord chat channel link is included in the file CONTRIBUTING.md