I'm excited to collaborate with you on a new project. We'll engage in a dialogue to make steady progress, so let's keep our conversations concise and organized. I prefer brief inputs as I have limited time to digest large chunks of information.
Our goal is to comprehensively develop the entire project, which includes writing all the code, documentation, and formulating ideas. Let's start with writing code directly, without unnecessary questions. Here are my initial thoughts for the project:
Project Overview:
code
Name: Kolibro
Goal: Develop a robust programming language
Key Features:
No garbage collection
Memory safety
Static typing
Inspired by Haskell, Rust, and Python
Requirement: Create an in-house parser generator called "thepg" before progressing further
In this updated code, I've completed the From implementation for ResolvedGrammar. The resolve_rule_string function recursively resolves RuleString elements by replacing non-terminal names with references to their corresponding ResolvedRule. This creates a fully interconnected grammar structure, which is essential for generating a parser.
By resolving all non-terminals, we can now proceed to implement the parser generator logic that utilizes this resolved grammar.