antlr / antlr/antlr4

Specify and implement lexer tracing for debugging support

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
comp:runtime lexers 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 lexer 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 with the issue's planned wiki article and use it to define the lexer trace information and log format before implementation. The work is done when the debugging requirements are specified and the lexer tracing feature is implemented against that specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
compilers, tooling
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.