KayJam Executor

Provided by the KayJam code executor

License

License

GroupId

GroupId

com.github.kayjamlang
ArtifactId

ArtifactId

executor
Last Version

Last Version

0.1.3.21
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

KayJam Executor
Provided by the KayJam code executor
Project URL

Project URL

https://github.com/KayJamLang/executor
Source Code Management

Source Code Management

https://github.com/KayJamLang/executor

Download executor

Dependencies

compile (1)

Group / Artifact Type Version
com.github.kayjamlang : core jar 0.1.3.6

runtime (1)

Group / Artifact Type Version
commons-beanutils : commons-beanutils jar 1.9.4

Project Modules

There are no modules declared in this project.

KayJam code executor

CircleCI

Basic code executor for KayJam Core

How to use

  1. Add the library depending on:

    Maven:

    <dependency>
      <groupId>com.github.kayjamlang</groupId>
      <artifactId>executor</artifactId>
      <version>0.1.3.16</version>
    </dependency>

    Gradle:

    implementation group: 'com.github.kayjamlang', name: 'executor', version: '0.1.3.16'
  2. Call the method of the Executor class, which will return the result of the code execution in Object:

        class Main {
            public static void main(String[] args){
                String code = "println(\"Hello, World\");";
                Executor executor = new Executor();
                
                //Default library
                executor.addLibrary(new MainLibrary());
                executor.execute(code);
            }
        }   

Additionally

Library catalog for KayJam Executor

com.github.kayjamlang

Versions

Version
0.1.3.21
0.1.3.20
0.1.3.19
0.1.3.17-fix6
0.1.3.17-fix5
0.1.3.17-fix4
0.1.3.17-fix3
0.1.3.17-fix2
0.1.3.17-fix1
0.1.3.17
0.1.3.16
0.1.3.14
0.1.3.13
0.1.3.12
0.1.3.11
0.1.3.10
0.1.3.9
0.1.3.8
0.1.3.7
0.1.3.6
0.1.3.5
0.1.3.4
0.1.3.3
0.1.3.2
0.1.3.1
0.1.3
0.1.2
0.1