Funky Language Parser Implementation - #7
Conversation
- Defined AST structures in src/ast.ts. - Implemented Lexer in src/lexer.ts with support for Funky identifiers and literals. - Implemented recursive descent Parser in src/parser.ts. - Added support for curried function definitions, struct/enum literals, and protocols. - Added parser tests in tests/parser.test.ts and verified multiple cases. - Configured project with TypeScript and ESM support. Co-authored-by: sonneko <152277125+sonneko@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Implemented the foundation for Funky lang by creating a Lexer and a recursive descent Parser. The parser handles the unique grammar of Funky, including curried functions, structural typing, and block expressions with 'where' clauses. While some complex cases in 'where' clauses require further refinement, the core parsing logic for functions, types, and expressions is functional.
Fixes #6
PR created automatically by Jules for task 16588918734704750088 started by @sonneko