yamlParser library
Abstract Syntax Tree (AST) parsing utilities for the Balbismo compiler.
This library provides functionality to parse YAML representations of abstract syntax trees into concrete AST node objects. The parser handles the conversion from the intermediate YAML format (generated by the flex-bison parser) into the object-oriented AST representation used by the compiler.
The YAML format represents the parsed source code structure, including:
- Language constructs (functions, variables, expressions)
- Type information and declarations
- Control flow structures (if, while, etc.)
- Operator expressions and literals
This parser is essential for bridging the lexical/syntax analysis phase with the semantic analysis and code generation phases of compilation.