Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

delete/cool-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cool Language Compiler (working in progress)

Compiler for Cool Language created for compilers' class from my Computer Science degrees at Fluminense Federal University.

Installation

Clone the project:

$ git clone https://github.com/delete/cool-compiler.git
$ cd cool-compiler/

Install the requirements packages:

See here how to install pip.

$ pip install -r requirements.txt

Usage example

Web app:

Only lexical and syntatic analyzers are working on web app for now, if you want use semantic, please, run from terminal.

$ python2 app.py

Access: http://127.0.0.1:5000/

Run from the terminal:

$ python2 compiler.py examples/hello-world.cl

If no message appear, then everything is fine.

About

🆒 Compiler for Cool Language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published