Kotlin & mps


#1

Hi,

I’m a beginner in both kotlin & mps, not sure if my understanding is correct: kotlin is concise & efficient and this makes it a good candidate for language prototyping; with mps, one can implement projectional editors and this has the advantage of making it more difficult for users to write code that could go wrong in wild ways. Ideally, to get the best of both worlds, one would prototype one’s pet language in kotlin, generate corresponding mps models, and finally implement the editor in mps. Would this make any sense?

Cheers,
lacramioara


#2

Kotlin and MPS are completely different development environments. Developing a language in Kotlin requires much, much more effort than doing that in MPS, so if you want to build an MPS language, prototyping it in Kotlin would not save you any effort - quite the contrary.


#3

Thanks Dmitry for sharing your point of view!