|
|
|
|
|
by sbinet
3937 days ago
|
|
interesting, it's true having a toolbox for creating go interpreters would be much more powerful. I am not sure I completely get what a compiler-as-a-service really is.
could you expand please? (wrt JITing, yes, we considered it and it's on our radar. we know some version of it worked at some point, at least at the proof-of-concept level: https://github.com/nelhage/gojit) thanks for your input! |
|
A less Microsoft-centric project would be Clang. Clang is quite accessible and despite that it's not as loosely coupled as Roslyn (e.g. I don't think you can refactor using it), you can still solve some real problems with it (such as autocomplete and static analysis).
Basically, CAAS is the front-end equivalent of LLVM. You turn the whole compiler into a very tidy API: following from that it should be significantly simpler to create something such as the interpreter that you are aiming for.
[1]: http://www.infoworld.com/article/2621132/microsoft-net/micro...