This class represents L# "environment" It allows to use L# engine with various subsets of functions and variables. More...
Static Public Member Functions | |
| static LSharp.Environment | GetDefaultEnvironment () |
| Creates the default L# environment. | |
| static object | Execute (string program) |
| Executes the L# program using default L# environment. | |
| static object | Execute (string program, LSharp.Environment env) |
| Executes the L# program using specified L# environment. | |
| static LSharp.Symbol | GetSymbol (string name) |
| Returns the LSharp.Symbol object by it's name. | |
This class represents L# "environment" It allows to use L# engine with various subsets of functions and variables.
| static object WX5.LSE.Execute | ( | string | program, | |
| LSharp.Environment | env | |||
| ) | [static] |
Executes the L# program using specified L# environment.
| program | L# program to execute | |
| env | user-defined L# environment |
| static object WX5.LSE.Execute | ( | string | program | ) | [static] |
Executes the L# program using default L# environment.
| program | L# program to execute |
Example: Execute("(+ 1 2 3)") will return 6
| static LSharp.Environment WX5.LSE.GetDefaultEnvironment | ( | ) | [static] |
Creates the default L# environment.
Example: Execute("(* 2 3)") will return 6
| static LSharp.Symbol WX5.LSE.GetSymbol | ( | string | name | ) | [static] |
Returns the LSharp.Symbol object by it's name.
| name | symbol's name |
1.6.3