logo

class

compiler::Main

sys::Obj
  compiler::Main

Main is the main entry point for the Fan compiler. It handles all the argument processing and misc commands like help, version,

Slots

compile

Void compile()

Compile using current configuration

compileScript

static Pod compileScript(Str podName, File file, Str:Obj options := null)

Compile the script file into a transient pod. See sys::Sys.compile for option definitions.

help

Void help()

Dump help usage.

includeDoc

Bool includeDoc

includeSrc

Bool includeSrc

log

CompilerLog log

main

static Void main()

outDir

File outDir

parseArgs

Bool parseArgs(Str[] args)

Process command line args and return false if we should exit.

podName

Str podName

println

Void println(Obj s)

run

Int run(Str[] args)

Main entry point for compiler.

srcDirs

File[] srcDirs

version

Void version()

Dump version.