[][src]Module ldpl::compiler

The Compiler generates a String of C++ code from parsed LDPL code.

Structs

Compiler

State of our LDPL program, including variables and defined sub-procedures. Eventually we'll move this into a Parser so we can have multiple emitters (for different languages).

Functions

compile

Turns a string of LDPL code into C++ code.

compile_ast

Turns parsed LDPL code into C++ code.

load_and_compile

Turns LDPL code on disk into C++ code.

new

Create a fresh compiler.