Stream: helpdesk (published)

Topic: Julia grammar definition


view this post on Zulip Andrey Popp (Mar 23 2021 at 16:33):

Is there a document somewhere which describes productions of the Julia grammar?

view this post on Zulip Mason Protter (Mar 23 2021 at 16:35):

What do you mean by the productions of the julia grammar?

view this post on Zulip Mason Protter (Mar 23 2021 at 16:35):

Are you talking about a formal language spec?

view this post on Zulip Andrey Popp (Mar 23 2021 at 16:49):

Yeah, formal spec, found https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm I guess this is the closest I can get?

view this post on Zulip Expanding Man (Mar 23 2021 at 17:04):

there is no formal language spec, if that's what you're asking

view this post on Zulip Kirill Simonov (Mar 23 2021 at 17:36):

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: Nov 22 2024 at 04:41 UTC