C# Class LSharp.Compiler

Compile an L Sharp program. Eventually change this to IL Generation
Afficher le fichier Open project: RobBlackwell/LSharp

Méthodes publiques

Свойство Type Description
FN LSharp.Symbol
PROGN LSharp.Symbol
QUASIQUOTE LSharp.Symbol
UNQUOTE LSharp.Symbol
UNQUOTE_SPLICING LSharp.Symbol

Méthodes publiques

Méthode Description
Compile ( object expr, Environment environment ) : object
Compile1 ( Object s, Environment environment ) : Expression
CompileArgs1 ( object args, Environment environment ) : Expression[]
CompileArgsX ( object args, ParameterInfo p, Environment environment ) : Expression[]
CompileCall ( Pair c, Environment environment ) : Expression
CompileFn ( object stuff, Environment environment ) : Expression
CompileFunctionCall ( Object f, object args, Environment environment ) : Expression
CompileIf ( Object args, Environment environment ) : Expression
CompileInstanceCall ( Sequence expr, Environment environment ) : Expression
CompileMac ( object stuff, Environment environment ) : Expression
CompileQuasiQuote ( ISequence args, Environment environment ) : Expression
CompileQuasiQuote ( int level, object arg, Environment environment ) : object
CompileQuote ( ISequence args, Environment environment ) : Expression
CompileVarRef ( LSharp.Symbol symbol ) : Expression
Eval ( object o, Environment environment ) : Object
FunCall ( object f, object a, Environment environment ) : object
LinqCompile ( Expression expression ) : Object>.Func

Method Details

Compile() public static méthode

public static Compile ( object expr, Environment environment ) : object
expr object
environment Environment
Résultat object

Compile1() public static méthode

public static Compile1 ( Object s, Environment environment ) : Expression
s Object
environment Environment
Résultat Expression

CompileArgs1() public static méthode

public static CompileArgs1 ( object args, Environment environment ) : Expression[]
args object
environment Environment
Résultat Expression[]

CompileArgsX() public static méthode

public static CompileArgsX ( object args, ParameterInfo p, Environment environment ) : Expression[]
args object
p System.Reflection.ParameterInfo
environment Environment
Résultat Expression[]

CompileCall() public static méthode

public static CompileCall ( Pair c, Environment environment ) : Expression
c Pair
environment Environment
Résultat Expression

CompileFn() public static méthode

public static CompileFn ( object stuff, Environment environment ) : Expression
stuff object
environment Environment
Résultat Expression

CompileFunctionCall() public static méthode

public static CompileFunctionCall ( Object f, object args, Environment environment ) : Expression
f Object
args object
environment Environment
Résultat Expression

CompileIf() public static méthode

public static CompileIf ( Object args, Environment environment ) : Expression
args Object
environment Environment
Résultat Expression

CompileInstanceCall() public static méthode

public static CompileInstanceCall ( Sequence expr, Environment environment ) : Expression
expr Sequence
environment Environment
Résultat Expression

CompileMac() public static méthode

public static CompileMac ( object stuff, Environment environment ) : Expression
stuff object
environment Environment
Résultat Expression

CompileQuasiQuote() public static méthode

public static CompileQuasiQuote ( ISequence args, Environment environment ) : Expression
args ISequence
environment Environment
Résultat Expression

CompileQuasiQuote() public static méthode

public static CompileQuasiQuote ( int level, object arg, Environment environment ) : object
level int
arg object
environment Environment
Résultat object

CompileQuote() public static méthode

public static CompileQuote ( ISequence args, Environment environment ) : Expression
args ISequence
environment Environment
Résultat Expression

CompileVarRef() public static méthode

public static CompileVarRef ( LSharp.Symbol symbol ) : Expression
symbol LSharp.Symbol
Résultat Expression

Eval() public static méthode

public static Eval ( object o, Environment environment ) : Object
o object
environment Environment
Résultat Object

FunCall() public static méthode

public static FunCall ( object f, object a, Environment environment ) : object
f object
a object
environment Environment
Résultat object

LinqCompile() public static méthode

public static LinqCompile ( Expression expression ) : Object>.Func
expression Expression
Résultat Object>.Func

Property Details

FN public_oe static_oe property

public static Symbol,LSharp FN
Résultat LSharp.Symbol

PROGN public_oe static_oe property

public static Symbol,LSharp PROGN
Résultat LSharp.Symbol

QUASIQUOTE public_oe static_oe property

public static Symbol,LSharp QUASIQUOTE
Résultat LSharp.Symbol

UNQUOTE public_oe static_oe property

public static Symbol,LSharp UNQUOTE
Résultat LSharp.Symbol

UNQUOTE_SPLICING public_oe static_oe property

public static Symbol,LSharp UNQUOTE_SPLICING
Résultat LSharp.Symbol