Skip to content

Lexer, Parser and semantic analyzer for COOL programming language, built as an optional project for a course "Jezici i prevoditelji".

Notifications You must be signed in to change notification settings

MucaMuci/COOL-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

COOL-compiler

Lexer, Parser and semantic analyzer for COOL programming language

Lexer

You can check main Lexer's code (code that I've written) in cool.flex file. All the other files are support files needed for Lexer to run properly, and files used for testing. To start and test Lexer run these commands:

  1. make lexer
  2. make lexer_test
  3. ./lexer_test

This will check all of lexer's abilities and give you back test results and a grade.

Parser

You can check main Parser's code (code that I've written) in cool.y file. All the other files are support files needed for Parser to run properly, and files used for testing. To start and test Parser run these commands:

  1. make parser
  2. make parser_test
  3. ./parser_test

This will check all of parser's abilities and give you back test results and a grade.

About

Lexer, Parser and semantic analyzer for COOL programming language, built as an optional project for a course "Jezici i prevoditelji".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published