ANTLR - F# support (OD-848)
ShalokShalom opened 3 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 3 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' 3 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 3 years ago

    No resource to add this

  • ShalokShalom commented 3 years 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 3 years ago

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

  • ShalokShalom commented 3 years 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 3 years ago

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

  • ShalokShalom commented 3 years 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 3 years 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.

  • ShalokShalom commented 3 years ago

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

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