3 ms·
JetBrains has something that is similar to this: MetaProgramming System (MPS)(https://www.jetbrains.com/mps/ https://www.jetbrains.com/mps/). It resides exclus
by lilott8 10y ago
JetBrains has something that is similar to this: MetaProgramming System (MPS)(https://www.jetbrains.com/mps/ https://www.jetbrains.com/mps/). It resides exclusively within the context of Java (so DSL) -- so it's not as, shall we say, far reaching as Graal and Truffle claim to be?
It works really well though; abstract the complexities of the AST through the use of various different methodologies so that designers can do what they do best, design. The shortcomings, I'd imagine, are the same with MPS in-so-much that the limitations imposed are defined by the system. And when you run into those boundaries, they are hard and unforgiving -- much like trying to use Python in a non-pythonic manner.
- hacker_9 10y agoThe main problem actually is it only generates projection editors, not text editors. So you interact with the language like an excel spreadsheet, which is pretty awful to be frank.
- mike_hearn 10y agoMPS is rather different. I've played with that too, perhaps it should be the topic of another essay. MPS is fascinating because it lets you create non-text based programming languages and have them actually interop with text based programming in a useful way.