public static void DefineInGlobal( string name, mysFunctionGroup fg, mysSymbolSpace global ) { mysSymbol symbol = global.Create( name ); global.Define( symbol, new mysToken( fg ) ); }
public mysState() { nameSpaces = new Dictionary<string, mysSymbolSpace>(); exposedAssemblies = new List<Assembly>(); Global = new mysSymbolSpace(); Global.Define( Global.Create( "true" ), new mysToken( true ) ); Global.Define( Global.Create( "false" ), new mysToken( false ) ); nameSpaces.Add( "global" , Global ); mysBuiltins.Setup( Global ); }