Parsing of recursive array literals
Open
bug
- Dominant language
- JavaScript
- Stars
- 507
- Forks
- 45
- Avg merge
- 11h 22m
- Merged PRs (30d)
- 4
Description
This code:
```scheme
(write '(1 2 #0=#(1 2 #0#)))
```
Prints:
```scheme
(1 2 #(1 2 #))
```
On the first type it threw an error about expecting parenthesis but `#` found. I was not able to repeat this error.
`DatumReference` is an internal value of the parser, and it should never be exposed.
Contributor guide
Research direction
Start by running the Scheme example in the issue and tracing the parser's handling of recursive array literals and DatumReference values. Done means the expression parses and prints without exposing the internal DatumReference value, while avoiding the reported unexpected EOF error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100