Beispiel #1
0
 public IDictionary Create(Runtime runtime)
 {
     IDictionary table = new SaneHashtable();
     foreach(OpEntry ot in DEFAULT_INVERTED_OPERATORS.Values) {
         table[runtime.GetSymbol(ot.name)] = runtime.NewNumber(ot.precedence);
     }
     return table;
 }
Beispiel #2
0
 public IDictionary Create(Runtime runtime)
 {
     IDictionary table = new SaneHashtable();
     foreach(OpArity ot in DEFAULT_ASSIGNMENT_OPERATORS.Values) {
         table[runtime.GetSymbol(ot.name)] = runtime.NewNumber(ot.arity);
     }
     return table;
 }
Beispiel #3
0
 public IDictionary Create(Runtime runtime)
 {
     IDictionary table = new SaneHashtable();
     foreach(OpTable ot in defaultTrinaryOperators) {
         table[runtime.GetSymbol(ot.name)] = runtime.NewNumber(ot.precedence);
     }
     return table;
 }