ANTLR - F# support (OD-848)
Closed
Matthias Gramberg opened 2 years ago

Hi :)

Considering the list on the README is up to date, there is currently support for C# I ask myself, how much effort it is to add F# as well?

Robin Shen commented 2 years ago

Unfortunately I did not see any F# language grammar in ANTLR existing grammar supports:

https://github.com/antlr/grammars-v4

Or does F# has a Java parser? With that, we can go without ANTLR at all.

Robin Shen changed state to 'Closed' 2 years ago
Previous Value Current Value
Open
Closed
Robin Shen commented 2 years ago

No resource to add this

Matthias Gramberg commented 1 year ago

Hi :D

I did find a way, to create an ANTLR from our Yacc files

If I do this, would you open this issue again?

??

Robin Shen commented 1 year ago

Yes of course, I can try to add F# support once a ANTLR grammar is there.

Matthias Gramberg commented 1 year ago

Just being curious: How difficult is it, to do that?

Since if it's easy, I consider doing that as well, at contributions.

For other languages :)

Robin Shen commented 1 year ago
Robin Shen commented 1 year ago

Biggest problem is that I did not write any docs for it. Will do that when have time.

Matthias Gramberg commented 1 year ago

Oh, I am not all fluent in Java. I thought this is more something about configuration files, or such. I can understand now, why not more Antlr languages are supported by you.

Is there a way, to do this more generically, possibly automated?

Thanks for your support ??????

Robin Shen commented 1 year ago

Unfortunately I don't think this can be automated, as different language has different symbol definitions as well as the approach to extract them.

Matthias Gramberg commented 1 year ago

Yeah, I feared so. Ok, I will try to get that Antlr. Stay tuned :)

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-848
Please wait...
Page is in error, reload to recover