graalvm / simplelanguage

A simple example language built using the Truffle API.
http://openjdk.java.net/projects/graal/
Universal Permissive License v1.0
614 stars 199 forks source link

Guidance for implementing the launcher and REPL/Shell for a new language #109

Open duncanmak opened 3 years ago

duncanmak commented 3 years ago

Hello, I'm looking for some guidance for how best to implement the launcher and shell REPL for a new language using Truffle.

So far, I've looked at the following projects:

  1. simplelanguage
  2. mumbler
  3. graalphp

Looks like these projects all took the code in simplelanguage as a base, and added some local changes to adopt to their own language.

But looking at the GraalVM codebase, I noticed that there's a org.graalvm.launcher project, should that be used instead of wiring our own shell and REPL?