-
-
Notifications
You must be signed in to change notification settings - Fork 5
Parser architecture improvement #47
Copy link
Copy link
Description
Improve the current hybrid parser (regex + parser combinator) to a unified token-based parser with TypeSlot concept.
Goals
- Better error messages with accurate location tracking
- Stronger gradual typing support
- Parsing performance improvement (remove duplicate type parsing)
- Easier extensibility for new type syntax
Key Concepts
- Two Tree Structure: Code Node tree + Type tree
- TypeSlot: Explicit tracking of "positions where types should appear"
- Single Type Processor: All type parsing/validation through one entry point
- Self-validation: Each node validates itself
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done