Table of Contents

Class DassieCompiler

Namespace
Dassie.Compiler
Assembly
Dassie.Compiler.dll

Provides functionality for compiling Dassie programs.

public static class DassieCompiler
Inheritance
DassieCompiler
Inherited Members

Methods

Compile(CompilationContext)

Compiles a Dassie program.

public static CompilationResult Compile(this CompilationContext context)

Parameters

context CompilationContext

A CompilationContext object containing information about the compilation.

Returns

CompilationResult

The result of the compilation.

Exceptions

ArgumentNullException

CompileProject(string)

Compiles a Dassie project stored on disk.

public static CompilationResult CompileProject(string projectFilePath)

Parameters

projectFilePath string

The path to the project file (dsconfig.xml).

Returns

CompilationResult

The result of the compilation.

Exceptions

ArgumentNullException
FileNotFoundException

CompileProject(string, string)

Compiles a Dassie project stored on disk.

public static CompilationResult CompileProject(string projectFilePath, string buildProfile)

Parameters

projectFilePath string

The path to the project file (dsconfig.xml).

buildProfile string

The build profile to use.

Returns

CompilationResult

The result of the compilation.

Exceptions

ArgumentNullException
FileNotFoundException