Skip to content
Arkin Solomon edited this page Feb 7, 2023 · 14 revisions

Installation

Before getting started with the interpreter, familiarize yourself with Sakura. View the Sakura language documentation.

The Sakura interpreter supports all features of Sakura, including function overriding, operation restrictions, and operation reversal. Install using Maven:

<dependency>
    <groupId>net.arkinsolomon</groupId>
    <artifactId>sakurainterpreter</artifactId>
    <version>1.2.0</version>
</dependency>

Getting Started

Using the CLI tool

The Sakura Interpreter for Java provides a tool that can be run on the command line. It can be downloaded from the releases page in the repository. Both Windows and Java tools are provided. The command line tool still requires a JVM to be present on the machine. The bin folder within the zip file should be placed within your path. Then use the command ska-java to run the interpreter. See the CLI tool documentation for more help, or run with the -h flag.

$ ska-java -e "return 5"
5
Clone this wiki locally