Kotlin Grammar


#1

The Kotlin grammar at http://kotlinlang.org/docs/reference/grammar.html is out of date (missing things like expect/actual). Is there a canonical grammar anywhere or will the parser in org.jetbrains.kotlin.parsing be the only place to look?


#2

The only other place is the specification http://jetbrains.github.io/kotlin-spec/ , but this is a work in progress for now.