compile

 

 

Overview

The compile compiles the Analytic Information Server generic parse tree {parseTree} argument (normally output from morph) and returns an Lambda object. If the optional {anLambda} argument is passed, it becomes the target of the compilation and is returned; otherwise, a new Lambda object is returned. If the optional true argument is passed, the compilation always inherits the persistent variables of the {anLambda} argument.

Usage

Use the compile when producing an Lambda from a parse tree is required. Normally, a three step process will compile Lisp source: lisp, followed by morph, followed by compile.

 

Syntax


Expression:

(compile parseTree)

(compile parseTree anLambda)

(compile parseTree anLambda true)


Arguments Name Type Description
Argument:parseTree--- An Analytic Information Server generic parse tree (normally output from morph)
Argument:anLambdaLambda Optional Argument. If present, it specifies the target (Lambda) of the compilation. not present, a new Lambda object is returned.
Argument:trueBoolean Optional Argument. If present, the compilation will inherit the persistent variable of the {anLambda} argument.

Returns:

An Analytic Information Server Lambda object



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Lambda List Boolean

Here are also a number of links to functions having arguments with any of these data types.

abortTransaction addMethod apply argCount
argFetch associate attachLibrarian badd
balance bcompareEQ bcompareGE bcompareGT
bcompareLE bcompareLT bcompareNE bdiv
beginTransaction binaryInsert binaryNand binaryNor
binaryNot binaryNxor binarySearch bitwiseAnd
bitwiseNand bitwiseNor bitwiseNot bitwiseNxor
bitwiseOr bitwiseShiftLeft bitwiseShiftRight bitwiseXor
bmod bmul boolean c::r
callcc car ccompareEQ ccompareGE
ccompareGT ccompareLE ccompareLT ccompareNE
cdr character checkPointTransaction class
clear commitTransaction compareEQ compareGE
compareGT compareLE compareLT compareNE
compare comparison compile cons
copy count debugBrowsableProcs debug
defchild defclass define(macro) define
defmacro defmethod deforphan defriend
defun delete detachLibrarian disassemble
display evalInSyncLocalContext eval exportCsv
exportSbf exportTab fdisplay fileClose
fileCopy fileDir fileDisplay fileErase
fileOpen fileRead fileWrite filewriteln
findBlock gc globalBinding icompareEQ
icompareGE icompareGT icompareLE icompareLT
icompareNE importCsv importSbf importTab
inside inspect integer isAtom
isBitVector isBoolean isBound isByteVector
isCharAlphabetic isCharAlphanumeric isCharLowercase isCharName
isCharNumeric isCharUppercase isCharWhitespace isCharacter
isClass isComplex isDate isDirectory
isEqual isError isEven isExact
isFloatVector isIdentical isImmediate isInexact
isInside isIntegerVector isInteger isMatrix
isMember isMoney isNegative isNull
isNumberMatrix isNumberVector isNumber isObjectVector
isObject isOdd isPair isPcodeVector
isPositive isTransaction isType isVector
isZero lambda last length
lisp list loadModule loadWorkspace
logConsole macroReplace makeLambda makeQuotedList
map mapc member money
morph myself ncompareEQ ncompareGE
ncompareGT ncompareLE ncompareLT ncompareNE
new number objectToList objectToMatrix
objectToNumMatrix objectToNumVector objectToVector onError
pair proplist proprecord putprop
quit quote refLibrarian ref
remProp remove rename reset
reverse saveModule saveObject saveWorkspace
send setBlock setCar setCdr
setLastCdr set setf setq
sizeof sort stringCiEQ stringCiGE
stringCiGT stringCiLE stringCiLT stringCiNE
substringCiEQ substringCiGE substringCiGT substringCiLE
substringCiLT substringCiNE substringEQ substringGE
substringGT substringLE substringLT substringNE
super systemCheck type vectorFill
version writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE