Skip to content

Mcklmo/Simplified-GPL-Syntax-Compiler-P4-Project-AAU-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Make sure you have a recent python version and all requirements installed, using:

pip install -r requirements.txt

You might have to first create a virtual environment:

python -m venv env

And activate it:

env\scripts\activate

If unsure whether installing the requirements was successful, run:

pip freeze

and check if the module names from requirements.txt are listed.

Update parser

antlr4 -Dlanguage=Python3 src\AlgoPractise.g4 -visitor -no-listener

[Remember to move AlgoPractiseLexer.py to src/_lexer and AlgoPractiseParser.py to src/_parser!]

Compile source code

src\main.py

Testing

src\tests.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published