Eager expansion of definitions’ right-hand sides can be detected
Open
Nobody has claimed this yet.
- Dominant language
- Racket
- Stars
- 601
- Forks
- 74
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 5
Description
For example, this program
#lang rhombus
block:
def a:
b
def b = #false
#false
makes the reference to b a syntax error, while this program
#lang rhombus
block:
def a:
#false
b
def b = #false
#false
is a run-time exception, like the Racket counterpart.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the two Rhombus programs in the issue and compare their behavior with the Racket counterpart. Trace how the right-hand sides of the definitions are expanded, then determine how the differing handling of the reference to b should be reported or prevented; done means the two cases behave consistently with the intended semantics.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100