Experimental

Here you can enable/disable experimental flags in BoxLang.

This block is used to have experimental feature flags for BoxLang. Every experimental flag will be documented here once we have them.

boxlang.json
"experimental": {
    // This choose the compiler to use for the runtime
    // Valid values are: "java", "asm"
    "compiler": "asm",
    // If enabled, it will generate AST JSON data under the project's /grapher/data folder
    "ASTCapture": false
},

Compiler

This is the compiler used for your BoxLang source. The available options are:

  • java : We will transpile your BoxLang source to Java, then compile it

  • asm : We will directly compile your BoxLang source to Java bytecode (Default)

Please note that asmwill be the default and you will not be able to change it once we release.

AST Capture

If enabled, it will activate the AST capture interceptor and on parse it will create a /grapher/data folder in your project with useful AST JSON captures. The default is false.

Last updated

Was this helpful?