class compiler::Main
sys::Obj compiler::Main
Main is the main entry point for the Fantom compiler. Originally it was used for "fanc" command line, but it encapsualtes static methods used by sys.
- compileScript
-
static Pod compileScript(Str podName, File file, [Str:Obj]? options := null)
Compile the script file into a transient pod. See
Env.compileScript
for option definitions. - compileScriptToJs
-
static Str compileScriptToJs(Str podName, File file, [Str:Obj]? options := null)
Compile the script file into JS source code. See
Env.compileScript
for option definitions.