Skip to content

soumyas98/Compiler

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
GA
 
 
 
 
ui
 
 
 
 
 
 
 
 

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