/epsilon-picocli

Experimental CLI client for Epsilon programs using Micronaut

Primary LanguageJava

Command-line Epsilon interpreter

Provides a Picocli-based command line tool for executing Epsilon scripts

Uses Micronaut Picocli for automatic configuration and generation of GraalVM native images.

Building and trying out the Java-based version

To build as a plain Java program, run this command:

./gradlew build

You can then use the distributions in build/distributions, or try the script directly from Gradle with:

./gradlew run --args="example/program.eol -f example/model.flexmi -m example/metamodel.emf -r"

Building and using the native image

To build the native image, install a GraalVM JDK (e.g. via SDKMAN) and run this command:

./gradlew nativeCompile

You can then try out the native image with a command like this one:

build/native/nativeCompile/epsilon example/program.eol \
  -f example/model.flexmi -m example/metamodel.emf -r

Micronaut 4.1.5 Documentation

Gradle plugins