Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

oneturkmen/fun-front-end-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Compiler front-end for the Decaf Language

Decaf is a strongly-typed, object-oriented language with support for inheritance and encapsulation. It is very similar to Java, but less so (you can treat it as a language for learning-only purposes).

Built lexical analyzer, parser, type checker for the Compiler Construction I class at University of Wyoming.

Check it out!

Requires make.

Build:

cd src && make

Run with the test code (make sure you are in src directory):

./main < test

Done!

Notes

  • Decaf is the strongly-typed object-oriented language with support for inheritance and encapsulation.
  • Flex is the lexical analyzer (.l or .lpp file extension)
  • Bison is the syntactic analyzer, formerly know as yacc (.y or .yy file extension). Compatible with yacc.

About

Front-end compiler for Decaf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published