public static native compile(code as String) throws SyntaxError, TypeError, Exception
Compiles a Klyn script provided as a string. <p> This is intended as the programmatic entry point for automation (including tests). </p>
| Parameter | Description |
|---|---|
code | Klyn source code to compile. |
code = "x as Int = 1" Application.compile(code)