antlr / antlr/antlr4

support -depend on code generation

Open
#384 6 comments 0 reactions 0 assignees View on GitHub
comp:tool type:feature
Dominant language
Java
Stars
19k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Today, we need to do 2 calls for generation the code and get the generated files:

```
antlrTool G.g4 -o dir
```

```
antlrTool -depend G.g4
```

It would be nice if those two features can be executed in one single call, like:

```
antlrTool G.g4 -depend -o dir
```

Thanks

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by locating the command-line argument handling for -depend and the code-generation path; make a single invocation support both dependency output and generated files, then verify the combined antlrTool G.g4 -depend -o dir command.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.