antlr / antlr/antlr4

do we need parse tree modification routines?

Open
#369 14 comments 10 reactions 0 assignees View on GitHub
trees-contexts type:feature
Dominant language
Java
Stars
19k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

If we allow patterns, we can also allow tree construction from input snippets. Should we add routines to replace parse tree nodes?
Ter

Contributor guide

Open the contributing guide

Research direction

The issue proposes patterns, tree construction from input snippets, and routines to replace parse-tree nodes, but it names no files, tests, or entry points. First determine whether these capabilities fit ANTLR's existing parse-tree design and identify the relevant implementation and test locations. Done would require an agreed scope and design rather than an isolated edit.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.