Skip to content

Fourth compilers project for CS4013 at the University of Tulsa

License

Notifications You must be signed in to change notification settings

jaredk2g/cs4013-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs4013 Build Status

Fourth compilers project for CS4013 at the University of Tulsa

Introduction

This project is the front-end to a compiler for a subset of Pascal. Steps performed are:

  1. Lexical analysis

  2. Syntax analysis: recursive descent parsing

  3. Semantic analysis: type/scope checking and declarations processing

  4. Memory address computation

Requirements

  • make
  • gcc
  • Check (only for testing)

Usage

Compile the program with make.

make

Output from gcc will be in the bin directory.

./bin/parser reserved_words_file source_file output_dir

Testing

Testing is provided with Check. Make sure it is installed before running tests.

make check

License

Released under MIT license.

About

Fourth compilers project for CS4013 at the University of Tulsa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published