antlr / antlr/antlr4

Specify and implement parser tracing for debugging support

Open
#34 1 comment 0 reactions 0 assignees View on GitHub
comp:runtime parsers type:feature
Dominant language
Java
Stars
19k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

This is a broad feature for discussing the type of trace information logged by the parser for debugging purposes as well as the log format. The trace information should support (at minimum) a range of to-be-specified debugging features. I'll work on opening a wiki article for planning this feature in further detail, and use this issue for tracking progress.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the issue and the planned wiki discussion, focusing on the debugging features the parser trace must support and the proposed log format. The work is done when the trace requirements and format are specified and the parser implementation supports the agreed design.

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.