3 ms·
Doesn't RPython do all the same things? Also there are language workbenches (http://www.languageworkbenches.net/ http://www.languageworkbenches.net/) that allow
by dkarapetyan 10y ago
Doesn't RPython do all the same things? Also there are language workbenches (http://www.languageworkbenches.net/ http://www.languageworkbenches.net/) that allow one to get a bunch of things like IDE support and even basic compilers by properly expressing the language syntax and semantics.
I agree there is a lot of interesting stuff going on here but lets not forget the prior art. Even OMeta I think already did a lot of these things way back when. Going further back there's META II (https://en.wikipedia.org/wiki/META_II https://en.wikipedia.org/wiki/META_II).
I think building self-specializing interpreters is the main trick. If that becomes easy then a whole bunch of other magic is also possible. But I'm just an amateur so all of this is still very impressive.
- jakub_h 10y agoSince you mention OMeta, let me remark here that for some reason, this whole Graal+Truffle thing looks to me like an "enterprisey" version of OMeta+COLA.
- deleted 10y ago[deleted]
- Veedrac 10y agoRPython is very similar to Graal+Truffle, except that RPython is based on tracing and Graal+Truffle is based on partial evaluation. There's a nice paper comparing the two approaches and their relative merits: http://stefan-marr.de/papers/oopsla-marr-ducasse-meta-tracing-vs-partial-evaluation/ http://stefan-marr.de/papers/oopsla-marr-ducasse-meta-tracin...