Skip to content

Repository files navigation

CSC 4351 – Project 2: ANSI C Parser Team Information Team Members: Amy Granados: implement second half of expression with corresponding Absyn files Konor Trosclair: implement first half of expression with corresponding Absyn files Stella Levy: implement declaration with corresponding Absyn files Huarong Teng: implement statement with corresponding Absyn files

What Works: Grammar Parsing:

  1. Declarations: The parser correctly recognizes and processes variable and function declarations using the modified grammar with var and fun keywords. Pass all the grammar rules.
  2. Statements: Pass all the grammar rules, such as label statement, compound statement, Jump statement etc.
  3. Expressions: Arithmetic, relational, and logical expressions are parsed accurately, including operator precedence and associativity. The parser correctly handles binary and unary operations, parenthesized expressions, and variable references. Pass all the grammar rules.
  4. Abysn files: Each grammar rule has an appropriate Absyn node Error Recovery:

Use of Resources and AI Tools Online C89 Specification: Provided on Moodle AI Tools: ChatGPT for code structure and general information

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages