Skip navigation links

Package org.kink_lang.kink

Public package of the kink interpreter API.

See: Description

Package org.kink_lang.kink Description

Public package of the kink interpreter API.

Example

 public class Main {
     public static void main( String[] args ) {
         String script = "10 + 20";
         Fun fun = new Program( "(script)" , script ).compile();
         Value sumValue = fun.call();
         int sum = sumValue.asInt( "" );
         System.out.println( sum ); // 30
     }
 }
 
Skip navigation links