Loading : lexi.e -- Loader Terminal Table (length=14) Program code (length=334) -- Disassembler End successfull 1 CALL 9 S(5)F(5) 5 EXIT 0 7 RET 0 9 CALL 33 S(13)F(17) 13 EXIT 1 15 RET 0 17 CALL 43 S(21)F(21) 21 REP 17 23 RET 0 25 CALL 33 S(29)F(31) 29 LIT 1 31 RET 0 33 TERM - S(37)F(41) 37 TERM * S(41)F(41) 41 RET 0 43 CALL 81 S(47)F(49) 47 RET 0 49 CALL 63 S(53)F(61) 53 CALL 97 S(57)F(61) 57 CALL 167 S(61)F(61) 61 RET 0 63 TEXT 69 65 LIT 2 67 RET 0 69 BRK 79 71 TERM : S(69)F(75) 75 CALL 127 S(69)F(69) 79 RET 0 81 TERM $ S(85)F(95) 85 BRK 91 87 CALL 127 S(85)F(85) 91 CALL 127 S(95)F(95) 95 RET 0 97 CALL 33 S(101)F(105) 101 LIT 1 103 RET 0 105 TERM : S(109)F(117) 109 LIT 3 111 CALL 139 S(115)F(117) 115 RET 0 117 EXIT 3 119 BRK 125 121 CALL 127 S(119)F(119) 125 RET 0 127 TERM . S(131)F(133) 131 RET 0 133 TERM - S(137)F(137) 137 RET 0 139 CALL 185 S(143)F(157) 143 TERM ; S(147)F(153) 147 LIT 4 149 CALL 185 S(153)F(153) 153 REP 143 155 RET 0 157 EXIT 4 159 BRK 165 161 CALL 127 S(159)F(159) 165 RET 0 167 TERM . S(171)F(175) 171 LIT 16 173 RET 0 175 BRK 181 177 CALL 127 S(175)F(175) 181 EXIT 16 183 RET 0 185 CALL 197 S(189)F(195) 189 CALL 197 S(193)F(193) 193 REP 189 195 RET 0 197 CALL 217 S(201)F(203) 201 RET 0 203 TERM [ S(207)F(215) 207 CALL 261 S(211)F(215) 211 TERM ] S(215)F(215) 215 RET 0 217 TERM S S(221)F(225) 221 LIT 5 223 RET 0 225 TERM T S(229)F(233) 229 LIT 6 231 RET 0 233 TERM N S(237)F(241) 237 LIT 7 239 RET 0 241 TERM ( S(245)F(255) 245 CALL 283 S(249)F(255) 249 TERM ) S(253)F(255) 253 RET 0 255 CALL 305 S(259)F(259) 259 RET 0 261 NUM 267 263 LIT 8 265 RET 0 267 LIT 9 269 CALL 217 S(273)F(281) 273 CALL 217 S(277)F(277) 277 REP 273 279 LIT 10 281 RET 0 283 NUM 289 285 LIT 11 287 RET 0 289 LIT 12 291 CALL 305 S(295)F(303) 295 CALL 305 S(299)F(299) 299 REP 295 301 LIT 13 303 RET 0 305 TERM ' S(309)F(321) 309 CALL 327 S(313)F(321) 313 TERM ' S(317)F(321) 317 LIT 14 319 RET 0 321 TEXT 325 323 LIT 15 325 RET 0 327 TEXT 331 329 RET 0 331 PUNC 333 333 RET 0 -- Input welke het zelfde is als bovenstaande code MAIN : EOF [1] ; [ EXPR ] ; EOF (1) . EOF : ' - ' ' * ' . EXPR : COM ; DEFR DEFE EOL . DEFR : S (2) ; ( ' : ' STOP ) . COM : '$' ( STOP ) STOP . DEFE : EOF (1) ; ' : ' (3) ALT ; [3] (STOP) . STOP : ' . ' ; ' - ' . $ ALT = alternative expressie's . ALT : TM [ ' ; ' (4) TM ] ; [4] (STOP) . $ TM = Terminal expressie's . EOL : ' . ' (16) ; (STOP) [16] . TM : ST [ ST ] . $ ST = String of Terminals . ST : AS ; ' [ ' RS ' ] ' . AS : 'S' (5) ; 'T' (6) ; 'N' (7) ; ' ( ' LS ' ) ' ; TS . RS : N (8) ; (9) AS [ AS ] (10) . LS : N (11) ; (12) TS [ TS ] (13) . TS : ' ' ' STA ' ' ' (14) ; S (15) . STA : S ; T . -* -- execute ! geeft hier de code file code=1 value=2 text=MAIN code=1 value=3 text=: code=1 value=15 text=EOF code=1 value=8 text=1 code=1 value=4 text=; code=1 value=9 text=[ code=1 value=15 text=EXPR code=1 value=10 text=EXPR code=1 value=4 text=; code=1 value=15 text=EOF code=1 value=11 text=1 code=1 value=16 text=. code=1 value=2 text=EOF code=1 value=3 text=: code=1 value=14 text=' code=1 value=14 text=' code=1 value=16 text=. code=1 value=2 text=EXPR code=1 value=3 text=: code=1 value=15 text=COM code=1 value=4 text=; code=1 value=15 text=DEFR code=1 value=15 text=DEFE code=1 value=15 text=EOL code=1 value=16 text=. code=1 value=2 text=DEFR code=1 value=3 text=: code=1 value=5 text=S code=1 value=11 text=2 code=1 value=4 text=; code=1 value=12 text=( code=1 value=14 text=' code=1 value=15 text=STOP code=1 value=13 text=STOP code=1 value=16 text=. code=1 value=2 text=COM code=1 value=3 text=: code=1 value=14 text=' code=1 value=12 text=( code=1 value=15 text=STOP code=1 value=13 text=STOP code=1 value=15 text=STOP code=1 value=16 text=. code=1 value=2 text=DEFE code=1 value=3 text=: code=1 value=15 text=EOF code=1 value=11 text=1 code=1 value=4 text=; code=1 value=14 text=' code=1 value=11 text=3 code=1 value=15 text=ALT code=1 value=4 text=; code=1 value=8 text=3 code=1 value=12 text=( code=1 value=15 text=STOP code=1 value=13 text=STOP code=1 value=16 text=. code=1 value=2 text=STOP code=1 value=3 text=: code=1 value=14 text=' code=1 value=4 text=; code=1 value=14 text=' code=1 value=16 text=. code=1 value=2 text=ALT code=1 value=3 text=: code=1 value=15 text=TM code=1 value=9 text=[ code=1 value=14 text=' code=1 value=11 text=4 code=1 value=15 text=TM code=1 value=10 text=TM code=1 value=4 text=; code=1 value=8 text=4 code=1 value=12 text=( code=1 value=15 text=STOP code=1 value=13 text=STOP code=1 value=16 text=. code=1 value=2 text=EOL code=1 value=3 text=: code=1 value=14 text=' code=1 value=11 text=16 code=1 value=4 text=; code=1 value=12 text=( code=1 value=15 text=STOP code=1 value=13 text=STOP code=1 value=8 text=16 code=1 value=16 text=. code=1 value=2 text=TM code=1 value=3 text=: code=1 value=15 text=ST code=1 value=9 text=[ code=1 value=15 text=ST code=1 value=10 text=ST code=1 value=16 text=. code=1 value=2 text=ST code=1 value=3 text=: code=1 value=15 text=AS code=1 value=4 text=; code=1 value=14 text=' code=1 value=15 text=RS code=1 value=14 text=' code=1 value=16 text=. code=1 value=2 text=AS code=1 value=3 text=: code=1 value=14 text=' code=1 value=11 text=5 code=1 value=4 text=; code=1 value=14 text=' code=1 value=11 text=6 code=1 value=4 text=; code=1 value=14 text=' code=1 value=11 text=7 code=1 value=4 text=; code=1 value=14 text=' code=1 value=15 text=LS code=1 value=14 text=' code=1 value=4 text=; code=1 value=15 text=TS code=1 value=16 text=. code=1 value=2 text=RS code=1 value=3 text=: code=1 value=7 text=N code=1 value=11 text=8 code=1 value=4 text=; code=1 value=11 text=9 code=1 value=15 text=AS code=1 value=9 text=[ code=1 value=15 text=AS code=1 value=10 text=AS code=1 value=11 text=10 code=1 value=16 text=. code=1 value=2 text=LS code=1 value=3 text=: code=1 value=7 text=N code=1 value=11 text=11 code=1 value=4 text=; code=1 value=11 text=12 code=1 value=15 text=TS code=1 value=9 text=[ code=1 value=15 text=TS code=1 value=10 text=TS code=1 value=11 text=13 code=1 value=16 text=. code=1 value=2 text=TS code=1 value=3 text=: code=1 value=14 text=' code=1 value=15 text=STA code=1 value=14 text=' code=1 value=11 text=14 code=1 value=4 text=; code=1 value=5 text=S code=1 value=11 text=15 code=1 value=16 text=. code=1 value=2 text=STA code=1 value=3 text=: code=1 value=5 text=S code=1 value=4 text=; code=1 value=6 text=T code=1 value=16 text=. code=1 value=1 text=* Max used Memory = 512