| 103 | |
| 104 | |
| 105 | public Parser(String source, TypeInteger arg) { |
| 106 | Node.reset(); |
| 107 | IterPeeps.reset(); |
| 108 | SCHEDULED = false; |
| 109 | _lexer = new Lexer(source); |
| 110 | _scope = new ScopeNode(); |
| 111 | _continueScope = _breakScope = null; |
| 112 | START = new StartNode(arg); |
| 113 | STOP = new StopNode(source); |
| 114 | ZERO = con(0).keep(); |
| 115 | XCTRL= new XCtrlNode().peephole().keep(); |
| 116 | ALIAS = 2; // alias 0 for the control, 1 for memory |
| 117 | TYPES = defaultTypes(); |
| 118 | INITS = new HashMap<>(); |
| 119 | } |
| 120 | |
| 121 | public Parser(String source) { |
| 122 | this(source, TypeInteger.BOT); |