Module

Perspectives.Query.DescriptionCompiler

#compileStep

#compileSimpleStep

#compileUnaryStep

#compileBinaryStep

#compileLetStep

compileLetStep :: Domain -> PureLetStep -> FD

Compile a PureLetStep into a sequence of QueryFunctionDescriptions that ends with the body. Each binding compiles to a description of a function that will add a name-value pair to the runtime environment.

#compileVarBinding

compileVarBinding :: Domain -> VarBinding -> FD

Make a QueryFunctionDescription of a runtime function that evaluates the step of the binding and adds a name-value pair to the runtime environment. Add the name-QueryFunctionDescription pair to the compile time environment (PhaseThree).

Modules