-
Notifications
You must be signed in to change notification settings - Fork 0
Fredotez/Compilers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
/************* The Platypus Compiler *************/ This repo contains the work material for the course CST8152 - Compilers. The objective of this course was to build a complete working compiler for the Platypus language. Originally created by Prof. Svillen Ranev, the documation for the platypus grammar can be found in the Documents/ folder. The Platypus compiler uses 3 main components. The Buffer: Using dynamic data structures with the C language to create an expanding and retracting container for a series of characters to be analyzed. Scanner: By creating Regular Expressions based on the language specifications for Platypus, we can implement Finite Deterministic Automaton to create a Lexical Analyzer for the Platypus Language. Reads from the buffer. The Parser: the objective is to write a Recursive Decent Predictive Parser fro the Platypus 2.0 language and implement it into the existing Lexical Analyzer. Finally, you end up with a rudimentary PLATYPUS interpreter!
About
This repository contains work material for the course: CST8152 - Compilers
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published