graalvm/simplelanguage
View on GitHub ↗ ★ 643 Java
A simple example language built using the Truffle API.
7 mentions on Hacker News by 5 people: 0 stories, 7 comments · first 2018-04-17 · latest 2024-03-06
20082026
-
…The SimpleLanguage tutorial language has a bigint style number scheme with efficient optimization: https://github.com/graalvm/simplelanguage/blob/master/langua...
comment by mike_hearn · 2024-03-06 · in Dada, an experimental new programming language -
…and truffle are a great fit. We even use this pairing for our example language simplelanguage. https://github.com/graalvm/simplelanguage
comment by grashalm · 2024-02-05 · in Pkl, a Programming Language for Configuration -
…unique language polyglotism interop, and the API is the simplest there is for building a language. https://github.com/graalvm/simplelanguage
comment by SemanticStrengh · 2022-05-15 · in Ask HN: Recommendation for general purpose JIT compiler -
The state of the art is GraalVM/sulong, and enable you polyglotism. see e.g. https://github.com/graalvm/simplelanguage
comment by SemanticStrengh · 2022-05-15 · in Ask HN: Recommendation for general purpose JIT compiler -
…is to fork SimpleLanguage [1] and turn it into your language. Did you try to do that? [1] https://github.com/graalvm/simplelanguage
comment by fniephaus · 2022-04-26 · in GraalVM 22.1: Developer experience improvements, Apple Silicon builds, and more -
…boolean isString(Object a, Object b) { return a instanceof String || b instanceof String; } } https://github.com/graalvm/simplelanguage By default it uses an arbitrary precision adder. But node rewriting on the AST (predicated by the…
comment by chrisaycock · 2018-04-17 · in GraalVM: Run Programs Faster Anywhere