antlr / antlr/antlr3

C target broken in antlr >= 3.5

Open
#175 6 comments 0 reactions 0 assignees View on GitHub
comp:tool target:c
Dominant language
Java
Stars
253
Forks
178
PR merge metrics
No merged PRs in 30d

Description

The C target is entirely broken in antlr >= 3.5. In earlier versions there was a warning which became an error in antlr >= 3.5:

error(24): template error: context [/outputFile /parser] 1:1 could not pass through undefined attribute filterMode

making antlr not producing lexer code.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce C-target generation with ANTLR >= 3.5 and inspect the reported template error involving the undefined filterMode attribute. No files or tests are named in the issue, so first locate the C target's parser and lexer templates. Done means lexer code is produced without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.