2 ms·
I've tried to create a plugin for my ANTLR4 grammar. Most recently, I started with [https://github.com/antlr/jetbrains-plugin-sample https://github.com/antlr/je
by specialist 8y ago
I've tried to create a plugin for my ANTLR4 grammar. Most recently, I started with [https://github.com/antlr/jetbrains-plugin-sample https://github.com/antlr/jetbrains-plugin-sample]. I just can't wrap my head around maintaining parallel trees, syncing their state, how everything's connected.
So then I looked at MPS again. Maybe reimplement my grammar with MPS et al. Worked thru the tutorials. Again, I just can't figure out which way is up.
I recently watched an interview with Anders Hejlsberg about Roslyn and Language Server Protocol, where they decoupled the IDE from the compiler. Eureka. Makes perfect sense. In practice, it's a (comparative) cake walk.