Skip to content

s-cabrera/CS152_labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS152 Compiler Design Project

A project that parses and compiles source code written in the MINI-L Language
by Stephanie Cabrera and Richard Duong



Phase 1: Lexical Analysis

The goal of this phase is to tokenize source code written in the MINI-L language

Lexer Goals

  • Determine a priority for same length tokens (e.g. identifiers & keywords)
  • Be able to identify and log errors from invalid tokens
  • Provide the column and character count for errors
  • Successfully output tokens from parsing the input into a file
  • Develop and run tests on weird boundary cases and conditions

Testing

  • Keywords
  • Operators
  • Special Symbols
  • Identifiers
  • Numbers
  • Comments
  • Errors



Releases

No releases published

Packages

No packages published