Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2022 (3)
20082026
  1. …The SimpleLanguage tutorial language has a bigint style number scheme with efficient optimization: https://github.com/graalvm/simplelanguage/blob/master/langua...
  2. …and truffle are a great fit. We even use this pairing for our example language simplelanguage. https://github.com/graalvm/simplelanguage
  3. …unique language polyglotism interop, and the API is the simplest there is for building a language. https://github.com/graalvm/simplelanguage
  4. The state of the art is GraalVM/sulong, and enable you polyglotism. see e.g. https://github.com/graalvm/simplelanguage
  5. …is to fork SimpleLanguage [1] and turn it into your language. Did you try to do that? [1] https://github.com/graalvm/simplelanguage
  6. …[3] https://github.com/graalvm/graaljs/blob/a36b978aa328a8da3a7f... [4] https://github.com/graalvm/simplelanguage [5] https://github.com/graalvm/simplelanguage/blob/a25e385dd8626... [6] https://www.graalvm.org/truffle/javadoc/com/
    comment by fniephaus · 2020-08-10 · in GraalVM
  7. …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