Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of ANTLR grammar instead of json-formatted grammar #48

Open
bendrissou opened this issue Jun 18, 2024 · 1 comment
Open

Use of ANTLR grammar instead of json-formatted grammar #48

bendrissou opened this issue Jun 18, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bendrissou
Copy link

Hi,

Is there a way to produce the generator and mutator from an ANTLR grammar instead of a json-formatted grammar? I know that the antlr grammar is generated and used in intermediate steps, so there should be a way to initiate the process directly with ANTLR, example:

make GRAMMAR_FILE=grammars/ruby.g4

Thank you.

@h1994st h1994st added the enhancement New feature or request label Jun 18, 2024
@h1994st h1994st self-assigned this Jun 18, 2024
@h1994st h1994st added the help wanted Extra attention is needed label Jun 18, 2024
@h1994st
Copy link
Collaborator

h1994st commented Jun 18, 2024

It is possible, if we can parse antlr grammar and implement equivalent functionalities to f1_c_gen.py. Your help would be appreciated, if you have time to work on this :)

On the other hand, it is easy to parse the json file for us to understand the tree structure and produce tree generation functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

2 participants