Skip to content

Mansimran7/ASE_Group12_Hws

Repository files navigation

Automated Software Engineering (2023) Lua to Python

DOI GitHub Python 3.8 GitHub language count Discord GitHub forks GitHub issues GitHub code size in bytes GitHub release (latest by date) GitHub pull requests GitHub contributors GitHub Workflow Status (with branch)

Table of Contents:

  1. Introduction
  2. Getting Started
  3. License
  4. Directory Structure
  5. Contributors

Introduction

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.

Getting Started

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]

License

This project is licensed under MIT. Further details regarding the license can be found here.

Directory Structure

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 

Contributors

  1. Devanshi Savla
  2. Indranil Banerjee
  3. Mansimran Singh Anand

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