What libraries/plugins used to create Kotlin language, e.g. grammer/parser/generator? I'm curious about it. I just looked the Kotlin source on github, but I'm not clear.
JFlex (with JetBrains templates) for lexer, IntelliJ framework (PSI Builder) for parser.
I see there is a [mps](http://www.jetbrains.com/mps/), is it possible to use it to develop Kotlin?
Technically, yes (as Kotlin is written in Java and MPS supports Java). But we don't use MPS to develop Kotlin
May I know the reason why you prefer jflex to mps? I want to write a small IDEA plugin to support a custom template language, I found javacc, antlr, mps, grammar-kit,jflex, but I don't know which one is best with IDEA. May I have your advice? Does mps have some performance issue or hard to learn? And why you choose jflex? Thanks :^O
MPS is nothing like antlr or javacc. It doesn't operate on text.
If you seek advice on well-known tooling like JFlex, I’d point you to http://stackoverflow.com/
@freewind Looks that I want to to the same as you but don’t understand why I cannot export a simple Editor-Plugin from MPS