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:
- 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.
- Statements: Pass all the grammar rules, such as label statement, compound statement, Jump statement etc.
- 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.
- 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