Skip to content

Conversation

@LeanSerra
Copy link
Owner

@LeanSerra LeanSerra commented Aug 28, 2025

Description
This PR adds rustemo as the parser generator implementing the following simple functionality:

  • Simple language definition in grammar.rustemo that allows parsing hello_world.lm example
  • Writing the output of the lexer to a file
  • Modifies lex.l to return rustemo tokens and implements the custom lexer to use rflex with rustemo
  • Writes the output of the parser to a file .parser with the rules it recognized

Copy link
Collaborator

@MatiBarcia MatiBarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LeanSerra LeanSerra merged commit 6b869f9 into main Aug 28, 2025
2 checks passed
@LeanSerra LeanSerra deleted the feat/rustemo_support branch August 28, 2025 03:08
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.

3 participants