https://github.com/oracle/graal/blob/master/truffle/docs/Lan...
If not. Please let me know.
https://github.com/frodwith/jaque is the project though, which is an implementation of the Nock VM from Urbit
BTW.: I'd recommend upgrading one Truffle release at a time. So it should always continue to compile. Just fix the deprecation warnings and continue with the next version until you reached the last version. We always keep deprecations for at least one version before we remove/break APIs.
If you want to discuss something in more detail feel free to join us in the Gitter chat: https://gitter.im/graalvm/graal-core
We don't bite.
Not at all! Thanks for the advice, and I'll take you up on the invitation to come chat before too long.
But the performance seen on a trivial Ackerman function was very good -- Nock via Graal got close to C performance. That's impressive for what's basically a Lisp.
http://www.graalvm.org/docs/graalvm-as-a-platform/implement-...
Here's an example of the addition operator from Graal's SimpleLanguage:
https://github.com/graalvm/simplelanguageBy default it uses an arbitrary precision adder. But node rewriting on the AST (predicated by the "guard") provides specializations for long and String types. The long-type execution is a "fast path" that executes machine instructions directly; the String-type execution is a string concatenation.
A research paper provides further details:
https://dl.acm.org/citation.cfm?id=2658776
The full tutorial is at:
https://github.com/oracle/graal/blob/master/truffle/docs/Lan...