v3.5 Java Runtime CommonTreeNodeStream's push and pop methods are fragile
Open
- Dominant language
- Java
- Stars
- 253
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
`CommonTreeNodeStream`'s super class `FastQueue`'s `data` and `p` fields may be clear by the `remove` method. So the example [Simple Tree-based Interpreter](http://www.antlr.org/wiki/display/ANTLR3/Simple+tree-based+interpeter) doesn't work as it expected.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Simple Tree-based Interpreter example linked in the issue. Read CommonTreeNodeStream and its FastQueue superclass, focusing on push, pop, and remove and how data and p are handled. Done means the example behaves as expected after queue removal operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100