Skip to content

Update to ANTLR 4.x #1524

@xael-fry

Description

@xael-fry

Is your feature request related to a problem? Please describe.
I'm always frustrated when I encounter limitations with ANTLR 2.7.7, such as the lack of support for modern language features and the complexity of grammar definitions. This often leads to difficulties in maintaining and extending our grammars, resulting in increased development time and potential bugs.

Describe the solution you'd like
I would like to update our ANTLR implementation from version 2.7.7 to 4.x. This update would provide access to significant improvements, including a more powerful and flexible grammar syntax, better error handling, and support for generating parsers in multiple target languages. Additionally, ANTLR 4's visitor and listener patterns would simplify the process of traversing parse trees.

Additional context
Updating to ANTLR 4.x would not only enhance our parsing capabilities but also align our project with current best practices in language processing. It would be beneficial to provide training sessions for the team to familiarize them with the new features and grammar syntax in ANTLR 4. Documentation and examples of ANTLR 4 features could be included to illustrate the advantages of the upgrade.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions