Migration away from JavaCC
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by locating the repository's JavaCC-based parser generators and documenting which Java grammars and actions depend on them. Compare the mentioned parsers.org project and ANTLR, then define what a viable migration would need to cover. Done means the project has an agreed replacement and migration scope, not merely an investigation.
Written by the indexing model from the issue text.
Description
Right now most of our parser generator needs that are associated with Java projects go through JavaCC: https://github.com/javacc/javacc
JavaCC does not support Java 8 syntax in actions, let alone Java 11, Java 14, or Java 17: https://github.com/javacc/javacc/issues/258
This is increasingly becoming an issue. It doesn't appear that the maintainers of JavaCC have any interest in updating it, and I have now been repeatedly frustrated by the limitations of the grammar of JavaCC rejecting valid Java code.
The issue I linked refers us to this project: https://parsers.org/
This is worth a try, but it also ignores the elephant in the room: ANTLR
We should investigate migrating away from JavaCC so as to not have to deal with the problems associated with it not being actively maintained.
- Dominant language
- Python
- Stars
- 591
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from runtimeverification/k
-
runtimeverification/k#4939 · 1 assignee ·
-
Concolic Explorer Open
Difficulty 5/5 Over a week Newbie friendliness 32/100
runtimeverification/k#4937 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
runtimeverification/k#4936 ·
-
type:epic
runtimeverification/k#4934 · 4 comments · 1 assignee ·
-
runtimeverification/k#4924 · 1 assignee ·
All issues in runtimeverification/k
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100