Skip to content

soumyas98/Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler

Usage

Clone the project

$ git clone https://github.com/soumyas98/Compiler.git 

Parser

$ cd Compiler/parser
$ make

Genetic Algorithm

  1. Create a virtual environment
$ cd GA
$ python -m venv ./env
  1. Activate virtual environment

For command prompt

$ env/Scripts/activate.bat

For power shell

$ env/Scripts/Activate.ps1
  1. Install dependencies
$ pip install -r requirements.txt
  1. To run
$ python src/main.py
  1. To run the UI
$ cd ui
$ npm install
$ ng serve