Is there a document somewhere which describes productions of the Julia grammar?
What do you mean by the productions of the julia grammar?
Are you talking about a formal language spec?
Yeah, formal spec, found https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm I guess this is the closest I can get?
there is no formal language spec, if that's what you're asking
There are also Tokenize.jl and CSTParser.jl, which might be easier to follow than scheme code. They are used by the Julia Language Server. I have no experience with them though.
Last updated: Dec 28 2024 at 04:38 UTC