Is there a language spec for clojure?

前端 未结 4 1755
执念已碎
执念已碎 2021-02-18 21:05

Is there a language specification for clojure? Something that precisely defines the lexical syntax and grammar in EBNF or something similar?

The closest thing that I co

4条回答
  •  暖寄归人
    2021-02-18 21:34

    This is the closest thing to an official Clojure EBNF that you are likely to find.

    https://github.com/laurentpetit/ccw/blob/3738a4fd768bcb0399630b7f6a6427a3066bdaa9/clojure-antlr-grammar/src/Clojure.g

提交回复
热议问题