2 ms·
I'm building a YARV compatible bytecode VM using the standard CRuby code to do the lexing, parsing, and compilation. It's the first time I've built anything mor
by jashmatthews 8y ago
I'm building a YARV compatible bytecode VM using the standard CRuby code to do the lexing, parsing, and compilation. It's the first time I've built anything more complex than a toy interpreter.
Interesting material here:
Gluon https://github.com/gluon-lang/gluon/ https://github.com/gluon-lang/gluon/
https://pliniker.github.io/post/dispatchers/ https://pliniker.github.io/post/dispatchers/
https://play.rust-lang.org/?gist=8fc08d2c9980aaee363d2f7842e44b1c&version=stable&backtrace=0 https://play.rust-lang.org/?gist=8fc08d2c9980aaee363d2f7842e...
Finally, there's also Dora https://github.com/dinfuehr/dora https://github.com/dinfuehr/dora by Dominik Inführ, who is interning with the V8 team in Münich. Dora is incrementally compiled, though, rather than being a bytecode VM.
https://dinfuehr.github.io/blog/dora-implementing-a-jit-compiler-with-rust/ https://dinfuehr.github.io/blog/dora-implementing-a-jit-comp...
- steveklabnik 8y agoOh whoah! That’s very cool. I was wondering how much work a project like this would be...
- runevault 8y agoI will give all this a look, thanks for the links.