Skip to content

An educational Yacc parser implementation for the specified grammar, featuring Java-like addition rules and integrated type checking for assignment consistency. Explore code, examples, and tests to deepen your understanding of Yacc parsing and semantic analysis.

Notifications You must be signed in to change notification settings

Cizr/Yacc-Parser-Addition-Rules-and-Type-Checking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Yacc-Parser-Addition-Rules-and-Type-Checking

Yacc parser tailored for this grammar:

S → def Type id = E E → E + E | Val Val → nb.nb | nb Type → int | float

This implementation incorporates Java-like addition rules and includes type checking to ensure consistent assignments. A valuable resource for educational activities, showcasing the implementation of semantic checks within parsing. Explore the code, examples, and tests to deepen your understanding of Yacc parsing and semantic analysis.

About

An educational Yacc parser implementation for the specified grammar, featuring Java-like addition rules and integrated type checking for assignment consistency. Explore code, examples, and tests to deepen your understanding of Yacc parsing and semantic analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages