class Crystal::Compiler

Overview

Main interface to the compiler.

A Compiler parses source code, type checks it and optionally generates an executable.

Defined in:

crystalline/ext/compiler.cr:2
crystalline/ext/compiler.cr:88

Instance Method Summary

Instance Method Detail

def fail_slow_compile(source : Source | Array(Source), output_filename : String) : Result #

Will not raise if the semantic analysis fails.


[View source]
def file_overrides : Hash(String, String) | Nil #

Make it possible to compile in-memory.


[View source]
def file_overrides=(file_overrides : Hash(String, String) | Nil) #

Make it possible to compile in-memory.


[View source]