Julia syntax in antlr4?

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

In the above repo there is a bunch of antlr4 syntax definitions are languages but no Julia folder.

Is anyone aware of an antlr4 syntax file for Julia?

I don’t think Julia has a syntax standard like C++ etc. the Julia syntax uses its official implementation as “standard”, but I remember @thautwarm wrote a BNF for Julia syntax before.

2 Likes

Sorry, Roger… I think you’d mean the authors of Intellij-Julia…
I cannot write a BNF for Julia. It’s too hard :sweat_smile:

2 Likes

I am new to the parser subject. Currently looking into ANTLR for a project I want to do in Julia. But no Julia support. Have people used ANTLR/Python and pycall to get it back into the julia-sphere?

1 Like