I wanted to ask a couple of questions about the doc/grammar.txt file:

  * Is this the complete grammar of Nim?



I've read on the forum that this is a custom grammar that was introduced to 
replace a previous EBNF grammar.

  * Has this grammar definition got a name?
  * Was it created specifically for Nim, or is it used in other contexts too?
  * Can anyone describe me its properties (e.g. context-free grammar, typology, 
etc.)?



Since Nim uses this grammar, I'd like to learn more about it for it could be 
used to create custom languages in Nim too. The presentation of this grammar in 
the Nim Manual is very brief, so I was wondering if there are other resources 
dedicated to it, which I could study to learn more about it.

Thanks

Reply via email to