Skip to content

Minimal parser#5

Merged
JoudiAlakkad merged 7 commits intomainfrom
minimal-parser
Jul 30, 2025
Merged

Minimal parser#5
JoudiAlakkad merged 7 commits intomainfrom
minimal-parser

Conversation

@sidrasali
Copy link
Copy Markdown
Contributor

This PR implements a basic parser for the compiler, integrating it with the existing lexer component. The implementation focuses on handling simple C-like function definitions and return statements.

Changes

  • Added data classes for AST nodes
  • Implemented pretty-printing functionality for AST nodes
  • Added parser implementation for simple AST definition
  • Added unit tests for the parser
  • Created integration tests between lexer and parser

Related Issue

Closes #4

@JoudiAlakkad JoudiAlakkad merged commit ead6638 into main Jul 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement a minimal parser

2 participants