Converting LUA Code to Python
Lua is a powerful scripting language with several functionalities such as :
- Procedural programming
- Object-oriented programming
- Functional programming
- Data-driven programming
This repo seeks to translate a Lua code into Python while maintaining its essential logic and functionalities.
This repo is for users who want to get detailed understanding of LUA working system and converting it into Python
The source LUA code can be found here
The Python Code for Cols
, Data
, Num
, Row
, Sym
and Utils
is available in this repo
The Test Cases for all the Classes are also available here
Classes | |||||
Cols | Data | Num | Row | Sym | Utils |
To run these programs make sure you have python version 3 and pytest version 7 installed.
python --version
Run the following command to install all requirements.
pip install -r requirements. txt
Initially you need to add the following paths to the Environment variables under
System Requirements\Advanced\Environment Variables\System Variables\Path\New
...<path to directory>\CSC510_Group25_HW02-main\code
...<path to directory>\CSC510_Group25_HW02-main\data
Open the following directory in Command Prompt using
cd ...<path to directory>\CSC510_Group25_HW02-main
To check whether the test caes are running correctly, execute the following command.
pytest tests/test_lua.py -v
To view the results of tasks, execute the following command.
python code/main.py
For documentation, you can help yourself by referring to Documentation
MIT License is used in this project.
You can email any queries to the contributors -
| Dhruv Patel | Manan Patel | Ravi Ghevariya | Divya Giridhar | Shreyas Titus |