Skip to content

BrandonHeinrich/Compiler-Design

Repository files navigation

CS 442 - Compiler Construction

Semantics Part 2

This repository contains files to be addded to your main project repository to include the semantic processing capabilities to compile programs of the language Q.

The Assignment

  • Step 5, 10 pts, Implement increment and decrement operators or builtin functions.
  • Step 6, 10 pts, Implement a FOR loop.
  • Step 7, 10 pts, Implement a LOOP construct and BREAK statment.
  • Step 8, 15 pts, Implement a SWITCH construct.
  • Step 9, 15 pts, Implement a stack data type.
  • Step 10, 15 pts, Implement an array data type.
  • Step 11, 15 pts, Implement parameterless functions.
  • Step 12, 15 pts, Implement function parameters.
  • Step 13, 15 pts, Implement a floating point data type.
  • Step 14, 20 pts, Implement local variables in functions.

What To Do

  • Do not fork this repository on Gitlab, instead
  • On your development machine, in a location different than your assignment repository, clone this project. Your assignment repository will continue to accumulate all files for the project.
  • Copies the files from this repository to your assignment repository.
  • Discard the clone of this repository.
  • Implement the required capabilities.
  • When complete, "make clean" to remove object files and executables, use git to add and commit your changes and push the project back up to your repository. Rememger to create an issue in Gitlab with me as the assignee indicating that your submission is ready for grading.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published