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 const Pod compileScript(File file)

Compile the script file into a transient pod

help

Void help()

Dump help usage.

includeDoc

Bool includeDoc

includeSrc

Bool includeSrc

log

CompilerLog log

main

static const 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.