jbcoe / jbcoe/mylang

Prototype impl for function body parser that "holds" until it has seen the closing brace token

Open
#68 3 comments 0 reactions 1 assignee Claimed by @ajbennieston View on GitHub
Dominant language
Rust
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Instead of a layer between lexer and parser that waits for a closing `}` before trying to parse a func. body, we could use the function body parser to "hold" parsing until sufficient tokens are available to contain the appropriate closing `}`. This approach could be used for both REPL and compiler, thus unifying the translation across both.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.