about summary refs log tree commit diff stats
path: root/subx/examples/ex11.subx
Commit message (Expand)AuthorAgeFilesLines
* 5037Kartik Agaram2019-03-291-2/+2
* 5011Kartik Agaram2019-03-201-1/+1
* 5009Kartik Agaram2019-03-201-1/+1
* 4981 - no, go back to 3 phasesKartik Agaram2019-02-181-1/+1
* 4973Kartik Agaram2019-02-151-1/+1
* 4963Kartik Agaram2019-02-141-3/+3
* 4961Kartik Agaram2019-02-141-64/+71
* 4893Kartik Agaram2018-12-301-2/+2
* 4888Kartik Agaram2018-12-291-8/+8
* 4881Kartik Agaram2018-12-281-1/+1
* 4847Kartik Agaram2018-12-061-1/+1
* 4819Kartik Agaram2018-12-021-3/+3
* 4818Kartik Agaram2018-12-021-2/+2
* 4808 - clean up comments in all subx filesKartik Agaram2018-11-301-19/+19
* 4802Kartik Agaram2018-11-301-71/+71
* 4801Kartik Agaram2018-11-301-222/+222
* 4780Kartik Agaram2018-11-261-1/+1
* 4731Kartik Agaram2018-10-281-3/+3
* 4698Kartik Agaram2018-10-141-3/+3
* 4668Kartik Agaram2018-10-051-9/+9
* 4667Kartik Agaram2018-10-051-73/+74
* 4662Kartik Agaram2018-10-051-1/+1
* 4655Kartik Agaram2018-10-021-2/+2
* 4644Kartik Agaram2018-10-011-27/+27
* 4641Kartik Agaram2018-10-011-52/+53
* 4639Kartik Agaram2018-10-011-3/+3
* 4624Kartik Agaram2018-09-301-1/+1
* 4518Kartik Agaram2018-09-241-9/+41
* 4517Kartik Agaram2018-09-241-4/+4
* 4516Kartik K. Agaram2018-09-241-32/+44
* 4507Kartik Agaram2018-09-231-0/+304
88' href='#n288'>288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593
















































































































































































































































































































































































































































































































































































































                                                                                                                                             
c{0: 0 (((1 string-address)) <- ((new)) a//b) -- nil
c{0: 1 (((2 string-address)) <- ((new)) //) -- nil
c{0: 2 (((3 string-address)) ((4 string-address)) <- ((split-first-at-substring)) ((1 string-address)) ((2 string-address))) -- nil
c{1: 0 ✓ (((1 string-address)) <- ((new)) a//b)
c{1: 1 ✓ (((2 string-address)) <- ((new)) //)
c{1: 2 ✓ (((3 string-address)) ((4 string-address)) <- ((split-first-at-substring)) ((1 string-address)) ((2 string-address)))
cn0: convert-names in main
cn0: (((1 string-address)) <- ((new)) a//b) nil nil
cn0: checking arg a//b
cn0: checking oarg ((1 string-address))
maybe-add: ((1 string-address))
cn0: (((2 string-address)) <- ((new)) //) nil nil
cn0: checking arg //
cn0: checking oarg ((2 string-address))
maybe-add: ((2 string-address))
cn0: (((3 string-address)) ((4 string-address)) <- ((split-first-at-substring)) ((1 string-address)) ((2 string-address))) nil nil
cn0: checking arg ((1 string-address))
maybe-add: ((1 string-address))
cn0: checking arg ((2 string-address))
maybe-add: ((2 string-address))
cn0: checking oarg ((3 string-address))
maybe-add: ((3 string-address))
cn0: checking oarg ((4 string-address))
maybe-add: ((4 string-address))
cn1: (((1 string-address)) <- ((new)) a//b)
cn1: (((2 string-address)) <- ((new)) //)
cn1: (((3 string-address)) ((4 string-address)) <- ((split-first-at-substring)) ((1 string-address)) ((2 string-address)))
schedule: main
run: main 0: (((1 string-address)) <- ((new)) a//b)
run: main 0: 1000 => ((1 string-address))
mem: ((1 string-address)): 1 <= 1000
run: main 1: (((2 string-address)) <- ((new)) //)
run: main 1: 1005 => ((2 string-address))
mem: ((2 string-address)): 2 <= 1005
run: main 2: (((3 string-address)) ((4 string-address)) <- ((split-first-at-substring)) ((1 string-address)) ((2 string-address)))
mem: ((1 string-address)) => 1000
mem: ((2 string-address)) => 1005
run: split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: split-first-at-substring/main 0: 1008 => ((default-space space-address))
run: split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 1005)
run: split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1010 <= 1000
run: split-first-at-substring/main 2: (((2 string-address)) <- ((next-input)))
arg: nil 1 (1000 1005)
run: split-first-at-substring/main 2: 1005 => ((2 string-address))
mem: ((2 string-address)): 1011 <= 1005
run: split-first-at-substring/main 3: (((3 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: split-first-at-substring/main 3: 4 => ((3 integer))
mem: ((3 integer)): 1012 <= 4
run: split-first-at-substring/main 4: (((4 boolean)) <- ((equal)) ((3 integer)) ((0 literal)))
mem: ((3 integer)) => 4
run: split-first-at-substring/main 4: nil => ((4 boolean))
mem: ((4 boolean)): 1013 <= nil
run: split-first-at-substring/main 5: (((jump-unless)) ((4 boolean)) ((3 offset)))
mem: ((4 boolean)) => nil
run: split-first-at-substring/main 9: (((7 integer)) <- ((find-substring)) ((1 string-address)) ((2 string-address)) ((0 literal)))
mem: ((1 string-address)) => 1000
mem: ((2 string-address)) => 1005
run: find-substring/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: find-substring/split-first-at-substring/main 0: 1039 => ((default-space space-address))
run: find-substring/split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 1005 0)
run: find-substring/split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1041 <= 1000
run: find-substring/split-first-at-substring/main 2: (((2 string-address)) <- ((next-input)))
arg: nil 1 (1000 1005 0)
run: find-substring/split-first-at-substring/main 2: 1005 => ((2 string-address))
mem: ((2 string-address)): 1042 <= 1005
run: find-substring/split-first-at-substring/main 3: (((3 integer)) <- ((next-input)))
arg: nil 2 (1000 1005 0)
run: find-substring/split-first-at-substring/main 3: 0 => ((3 integer))
mem: ((3 integer)): 1043 <= 0
run: find-substring/split-first-at-substring/main 4: (((4 character)) <- ((index)) ((2 string-address) (deref)) ((0 literal)))
array-len: ((1005 string) (raw))
mem: ((1005 integer) (raw)) => 2
mem: ((1006 byte) (raw)) => /
run: find-substring/split-first-at-substring/main 4: #\/ => ((4 character))
mem: ((4 character)): 1044 <= #\/
run: find-substring/split-first-at-substring/main 5: (((5 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: find-substring/split-first-at-substring/main 5: 4 => ((5 integer))
mem: ((5 integer)): 1045 <= 4
run: find-substring/split-first-at-substring/main 6: (((6 boolean)) <- ((greater-or-equal)) ((3 integer)) ((5 integer)))
mem: ((3 integer)) => 0
mem: ((5 integer)) => 4
run: find-substring/split-first-at-substring/main 6: nil => ((6 boolean))
mem: ((6 boolean)): 1046 <= nil
run: find-substring/split-first-at-substring/main 7: (((jump-if)) ((6 boolean)) ((5 offset)))
mem: ((6 boolean)) => nil
run: find-substring/split-first-at-substring/main 8: (((7 boolean)) <- ((match-at)) ((1 string-address)) ((2 string-address)) ((3 integer)))
mem: ((1 string-address)) => 1000
mem: ((2 string-address)) => 1005
mem: ((3 integer)) => 0
run: match-at/find-substring/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: match-at/find-substring/split-first-at-substring/main 0: 1070 => ((default-space space-address))
run: match-at/find-substring/split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 1005 0)
run: match-at/find-substring/split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1072 <= 1000
run: match-at/find-substring/split-first-at-substring/main 2: (((2 string-address)) <- ((next-input)))
arg: nil 1 (1000 1005 0)
run: match-at/find-substring/split-first-at-substring/main 2: 1005 => ((2 string-address))
mem: ((2 string-address)): 1073 <= 1005
run: match-at/find-substring/split-first-at-substring/main 3: (((3 integer)) <- ((next-input)))
arg: nil 2 (1000 1005 0)
run: match-at/find-substring/split-first-at-substring/main 3: 0 => ((3 integer))
mem: ((3 integer)): 1074 <= 0
run: match-at/find-substring/split-first-at-substring/main 4: (((4 integer)) <- ((length)) ((2 string-address) (deref)))
array-len: ((2 string-address) (deref))
mem: ((1005 integer) (raw)) => 2
run: match-at/find-substring/split-first-at-substring/main 4: 2 => ((4 integer))
mem: ((4 integer)): 1075 <= 2
run: match-at/find-substring/split-first-at-substring/main 5: (((5 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: match-at/find-substring/split-first-at-substring/main 5: 4 => ((5 integer))
mem: ((5 integer)): 1076 <= 4
run: match-at/find-substring/split-first-at-substring/main 6: (((5 integer)) <- ((subtract)) ((5 integer)) ((4 integer)))
mem: ((5 integer)) => 4
mem: ((4 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 6: 2 => ((5 integer))
mem: ((5 integer)): 1076 <= 2
run: match-at/find-substring/split-first-at-substring/main 7: (((6 boolean)) <- ((lesser-or-equal)) ((3 integer)) ((5 integer)))
mem: ((3 integer)) => 0
mem: ((5 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 7: t => ((6 boolean))
mem: ((6 boolean)): 1077 <= t
run: match-at/find-substring/split-first-at-substring/main 8: (((jump-if)) ((6 boolean)) ((1 offset)))
mem: ((6 boolean)) => t
run: match-at/find-substring/split-first-at-substring/main 10: (((7 integer)) <- ((copy)) ((0 literal)))
run: match-at/find-substring/split-first-at-substring/main 10: 0 => ((7 integer))
mem: ((7 integer)): 1078 <= 0
run: match-at/find-substring/split-first-at-substring/main 11: (((8 boolean)) <- ((greater-or-equal)) ((7 integer)) ((4 integer)))
mem: ((7 integer)) => 0
mem: ((4 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 11: nil => ((8 boolean))
mem: ((8 boolean)): 1079 <= nil
run: match-at/find-substring/split-first-at-substring/main 12: (((jump-if)) ((8 boolean)) ((8 offset)))
mem: ((8 boolean)) => nil
run: match-at/find-substring/split-first-at-substring/main 13: (((9 character)) <- ((index)) ((1 string-address) (deref)) ((3 integer)))
mem: ((3 integer)) => 0
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 4
mem: ((1001 byte) (raw)) => a
run: match-at/find-substring/split-first-at-substring/main 13: #\a => ((9 character))
mem: ((9 character)): 1080 <= #\a
run: match-at/find-substring/split-first-at-substring/main 14: (((10 character)) <- ((index)) ((2 string-address) (deref)) ((7 integer)))
mem: ((7 integer)) => 0
array-len: ((1005 string) (raw))
mem: ((1005 integer) (raw)) => 2
mem: ((1006 byte) (raw)) => /
run: match-at/find-substring/split-first-at-substring/main 14: #\/ => ((10 character))
mem: ((10 character)): 1081 <= #\/
run: match-at/find-substring/split-first-at-substring/main 15: (((11 boolean)) <- ((equal)) ((9 character)) ((10 character)))
mem: ((9 character)) => a
mem: ((10 character)) => /
run: match-at/find-substring/split-first-at-substring/main 15: nil => ((11 boolean))
mem: ((11 boolean)): 1082 <= nil
run: match-at/find-substring/split-first-at-substring/main 16: (((jump-if)) ((11 boolean)) ((1 offset)))
mem: ((11 boolean)) => nil
run: match-at/find-substring/split-first-at-substring/main 17: (((reply)) ((nil literal)))
run: find-substring/split-first-at-substring/main 8: nil => ((7 boolean))
mem: ((7 boolean)): 1047 <= nil
run: find-substring/split-first-at-substring/main 9: (((jump-if)) ((7 boolean)) ((3 offset)))
mem: ((7 boolean)) => nil
run: find-substring/split-first-at-substring/main 10: (((3 integer)) <- ((add)) ((3 integer)) ((1 literal)))
mem: ((3 integer)) => 0
run: find-substring/split-first-at-substring/main 10: 1 => ((3 integer))
mem: ((3 integer)): 1043 <= 1
run: find-substring/split-first-at-substring/main 11: (((3 integer)) <- ((find-next)) ((1 string-address)) ((4 character)) ((3 integer)))
mem: ((1 string-address)) => 1000
mem: ((4 character)) => /
mem: ((3 integer)) => 1
run: find-next/find-substring/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: find-next/find-substring/split-first-at-substring/main 0: 1101 => ((default-space space-address))
run: find-next/find-substring/split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 #\/ 1)
run: find-next/find-substring/split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1103 <= 1000
run: find-next/find-substring/split-first-at-substring/main 2: (((2 character)) <- ((next-input)))
arg: nil 1 (1000 #\/ 1)
run: find-next/find-substring/split-first-at-substring/main 2: #\/ => ((2 character))
mem: ((2 character)): 1104 <= #\/
run: find-next/find-substring/split-first-at-substring/main 3: (((3 integer)) <- ((next-input)))
arg: nil 2 (1000 #\/ 1)
run: find-next/find-substring/split-first-at-substring/main 3: 1 => ((3 integer))
mem: ((3 integer)): 1105 <= 1
run: find-next/find-substring/split-first-at-substring/main 4: (((4 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: find-next/find-substring/split-first-at-substring/main 4: 4 => ((4 integer))
mem: ((4 integer)): 1106 <= 4
run: find-next/find-substring/split-first-at-substring/main 5: (((5 boolean)) <- ((greater-or-equal)) ((3 integer)) ((4 integer)))
mem: ((3 integer)) => 1
mem: ((4 integer)) => 4
run: find-next/find-substring/split-first-at-substring/main 5: nil => ((5 boolean))
mem: ((5 boolean)): 1107 <= nil
run: find-next/find-substring/split-first-at-substring/main 6: (((jump-if)) ((5 boolean)) ((5 offset)))
mem: ((5 boolean)) => nil
run: find-next/find-substring/split-first-at-substring/main 7: (((6 byte)) <- ((index)) ((1 string-address) (deref)) ((3 integer)))
mem: ((3 integer)) => 1
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 4
mem: ((1002 byte) (raw)) => /
run: find-next/find-substring/split-first-at-substring/main 7: #\/ => ((6 byte))
mem: ((6 byte)): 1108 <= #\/
run: find-next/find-substring/split-first-at-substring/main 8: (((7 boolean)) <- ((equal)) ((6 byte)) ((2 character)))
mem: ((6 byte)) => /
mem: ((2 character)) => /
run: find-next/find-substring/split-first-at-substring/main 8: t => ((7 boolean))
mem: ((7 boolean)): 1109 <= t
run: find-next/find-substring/split-first-at-substring/main 9: (((jump-if)) ((7 boolean)) ((2 offset)))
mem: ((7 boolean)) => t
run: find-next/find-substring/split-first-at-substring/main 12: (((reply)) ((3 integer)))
mem: ((3 integer)) => 1
run: find-substring/split-first-at-substring/main 11: 1 => ((3 integer))
mem: ((3 integer)): 1043 <= 1
run: find-substring/split-first-at-substring/main 12: (((jump)) ((-7 offset)))
run: find-substring/split-first-at-substring/main 6: (((6 boolean)) <- ((greater-or-equal)) ((3 integer)) ((5 integer)))
mem: ((3 integer)) => 1
mem: ((5 integer)) => 4
run: find-substring/split-first-at-substring/main 6: nil => ((6 boolean))
mem: ((6 boolean)): 1046 <= nil
run: find-substring/split-first-at-substring/main 7: (((jump-if)) ((6 boolean)) ((5 offset)))
mem: ((6 boolean)) => nil
run: find-substring/split-first-at-substring/main 8: (((7 boolean)) <- ((match-at)) ((1 string-address)) ((2 string-address)) ((3 integer)))
mem: ((1 string-address)) => 1000
mem: ((2 string-address)) => 1005
mem: ((3 integer)) => 1
run: match-at/find-substring/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: match-at/find-substring/split-first-at-substring/main 0: 1132 => ((default-space space-address))
run: match-at/find-substring/split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 1005 1)
run: match-at/find-substring/split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1134 <= 1000
run: match-at/find-substring/split-first-at-substring/main 2: (((2 string-address)) <- ((next-input)))
arg: nil 1 (1000 1005 1)
run: match-at/find-substring/split-first-at-substring/main 2: 1005 => ((2 string-address))
mem: ((2 string-address)): 1135 <= 1005
run: match-at/find-substring/split-first-at-substring/main 3: (((3 integer)) <- ((next-input)))
arg: nil 2 (1000 1005 1)
run: match-at/find-substring/split-first-at-substring/main 3: 1 => ((3 integer))
mem: ((3 integer)): 1136 <= 1
run: match-at/find-substring/split-first-at-substring/main 4: (((4 integer)) <- ((length)) ((2 string-address) (deref)))
array-len: ((2 string-address) (deref))
mem: ((1005 integer) (raw)) => 2
run: match-at/find-substring/split-first-at-substring/main 4: 2 => ((4 integer))
mem: ((4 integer)): 1137 <= 2
run: match-at/find-substring/split-first-at-substring/main 5: (((5 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: match-at/find-substring/split-first-at-substring/main 5: 4 => ((5 integer))
mem: ((5 integer)): 1138 <= 4
run: match-at/find-substring/split-first-at-substring/main 6: (((5 integer)) <- ((subtract)) ((5 integer)) ((4 integer)))
mem: ((5 integer)) => 4
mem: ((4 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 6: 2 => ((5 integer))
mem: ((5 integer)): 1138 <= 2
run: match-at/find-substring/split-first-at-substring/main 7: (((6 boolean)) <- ((lesser-or-equal)) ((3 integer)) ((5 integer)))
mem: ((3 integer)) => 1
mem: ((5 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 7: t => ((6 boolean))
mem: ((6 boolean)): 1139 <= t
run: match-at/find-substring/split-first-at-substring/main 8: (((jump-if)) ((6 boolean)) ((1 offset)))
mem: ((6 boolean)) => t
run: match-at/find-substring/split-first-at-substring/main 10: (((7 integer)) <- ((copy)) ((0 literal)))
run: match-at/find-substring/split-first-at-substring/main 10: 0 => ((7 integer))
mem: ((7 integer)): 1140 <= 0
run: match-at/find-substring/split-first-at-substring/main 11: (((8 boolean)) <- ((greater-or-equal)) ((7 integer)) ((4 integer)))
mem: ((7 integer)) => 0
mem: ((4 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 11: nil => ((8 boolean))
mem: ((8 boolean)): 1141 <= nil
run: match-at/find-substring/split-first-at-substring/main 12: (((jump-if)) ((8 boolean)) ((8 offset)))
mem: ((8 boolean)) => nil
run: match-at/find-substring/split-first-at-substring/main 13: (((9 character)) <- ((index)) ((1 string-address) (deref)) ((3 integer)))
mem: ((3 integer)) => 1
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 4
mem: ((1002 byte) (raw)) => /
run: match-at/find-substring/split-first-at-substring/main 13: #\/ => ((9 character))
mem: ((9 character)): 1142 <= #\/
run: match-at/find-substring/split-first-at-substring/main 14: (((10 character)) <- ((index)) ((2 string-address) (deref)) ((7 integer)))
mem: ((7 integer)) => 0
array-len: ((1005 string) (raw))
mem: ((1005 integer) (raw)) => 2
mem: ((1006 byte) (raw)) => /
run: match-at/find-substring/split-first-at-substring/main 14: #\/ => ((10 character))
mem: ((10 character)): 1143 <= #\/
run: match-at/find-substring/split-first-at-substring/main 15: (((11 boolean)) <- ((equal)) ((9 character)) ((10 character)))
mem: ((9 character)) => /
mem: ((10 character)) => /
run: match-at/find-substring/split-first-at-substring/main 15: t => ((11 boolean))
mem: ((11 boolean)): 1144 <= t
run: match-at/find-substring/split-first-at-substring/main 16: (((jump-if)) ((11 boolean)) ((1 offset)))
mem: ((11 boolean)) => t
run: match-at/find-substring/split-first-at-substring/main 18: (((3 integer)) <- ((add)) ((3 integer)) ((1 literal)))
mem: ((3 integer)) => 1
run: match-at/find-substring/split-first-at-substring/main 18: 2 => ((3 integer))
mem: ((3 integer)): 1136 <= 2
run: match-at/find-substring/split-first-at-substring/main 19: (((7 integer)) <- ((add)) ((7 integer)) ((1 literal)))
mem: ((7 integer)) => 0
run: match-at/find-substring/split-first-at-substring/main 19: 1 => ((7 integer))
mem: ((7 integer)): 1140 <= 1
run: match-at/find-substring/split-first-at-substring/main 20: (((jump)) ((-10 offset)))
run: match-at/find-substring/split-first-at-substring/main 11: (((8 boolean)) <- ((greater-or-equal)) ((7 integer)) ((4 integer)))
mem: ((7 integer)) => 1
mem: ((4 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 11: nil => ((8 boolean))
mem: ((8 boolean)): 1141 <= nil
run: match-at/find-substring/split-first-at-substring/main 12: (((jump-if)) ((8 boolean)) ((8 offset)))
mem: ((8 boolean)) => nil
run: match-at/find-substring/split-first-at-substring/main 13: (((9 character)) <- ((index)) ((1 string-address) (deref)) ((3 integer)))
mem: ((3 integer)) => 2
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 4
mem: ((1003 byte) (raw)) => /
run: match-at/find-substring/split-first-at-substring/main 13: #\/ => ((9 character))
mem: ((9 character)): 1142 <= #\/
run: match-at/find-substring/split-first-at-substring/main 14: (((10 character)) <- ((index)) ((2 string-address) (deref)) ((7 integer)))
mem: ((7 integer)) => 1
array-len: ((1005 string) (raw))
mem: ((1005 integer) (raw)) => 2
mem: ((1007 byte) (raw)) => /
run: match-at/find-substring/split-first-at-substring/main 14: #\/ => ((10 character))
mem: ((10 character)): 1143 <= #\/
run: match-at/find-substring/split-first-at-substring/main 15: (((11 boolean)) <- ((equal)) ((9 character)) ((10 character)))
mem: ((9 character)) => /
mem: ((10 character)) => /
run: match-at/find-substring/split-first-at-substring/main 15: t => ((11 boolean))
mem: ((11 boolean)): 1144 <= t
run: match-at/find-substring/split-first-at-substring/main 16: (((jump-if)) ((11 boolean)) ((1 offset)))
mem: ((11 boolean)) => t
run: match-at/find-substring/split-first-at-substring/main 18: (((3 integer)) <- ((add)) ((3 integer)) ((1 literal)))
mem: ((3 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 18: 3 => ((3 integer))
mem: ((3 integer)): 1136 <= 3
run: match-at/find-substring/split-first-at-substring/main 19: (((7 integer)) <- ((add)) ((7 integer)) ((1 literal)))
mem: ((7 integer)) => 1
run: match-at/find-substring/split-first-at-substring/main 19: 2 => ((7 integer))
mem: ((7 integer)): 1140 <= 2
run: match-at/find-substring/split-first-at-substring/main 20: (((jump)) ((-10 offset)))
run: match-at/find-substring/split-first-at-substring/main 11: (((8 boolean)) <- ((greater-or-equal)) ((7 integer)) ((4 integer)))
mem: ((7 integer)) => 2
mem: ((4 integer)) => 2
run: match-at/find-substring/split-first-at-substring/main 11: t => ((8 boolean))
mem: ((8 boolean)): 1141 <= t
run: match-at/find-substring/split-first-at-substring/main 12: (((jump-if)) ((8 boolean)) ((8 offset)))
mem: ((8 boolean)) => t
run: match-at/find-substring/split-first-at-substring/main 21: (((reply)) ((t literal)))
run: find-substring/split-first-at-substring/main 8: t => ((7 boolean))
mem: ((7 boolean)): 1047 <= t
run: find-substring/split-first-at-substring/main 9: (((jump-if)) ((7 boolean)) ((3 offset)))
mem: ((7 boolean)) => t
run: find-substring/split-first-at-substring/main 13: (((reply)) ((3 integer)))
mem: ((3 integer)) => 1
run: split-first-at-substring/main 9: 1 => ((7 integer))
mem: ((7 integer)): 1016 <= 1
run: split-first-at-substring/main 10: (((5 string-address)) <- ((string-copy)) ((1 string-address)) ((0 literal)) ((7 integer)))
mem: ((1 string-address)) => 1000
mem: ((7 integer)) => 1
run: string-copy/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: string-copy/split-first-at-substring/main 0: 1163 => ((default-space space-address))
run: string-copy/split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 0 1)
run: string-copy/split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1165 <= 1000
run: string-copy/split-first-at-substring/main 2: (((2 integer)) <- ((next-input)))
arg: nil 1 (1000 0 1)
run: string-copy/split-first-at-substring/main 2: 0 => ((2 integer))
mem: ((2 integer)): 1166 <= 0
run: string-copy/split-first-at-substring/main 3: (((3 integer)) <- ((next-input)))
arg: nil 2 (1000 0 1)
run: string-copy/split-first-at-substring/main 3: 1 => ((3 integer))
mem: ((3 integer)): 1167 <= 1
run: string-copy/split-first-at-substring/main 4: (((4 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: string-copy/split-first-at-substring/main 4: 4 => ((4 integer))
mem: ((4 integer)): 1168 <= 4
run: string-copy/split-first-at-substring/main 5: (((3 integer)) <- ((min)) ((4 integer)) ((3 integer)))
mem: ((4 integer)) => 4
mem: ((3 integer)) => 1
run: min/string-copy/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: min/string-copy/split-first-at-substring/main 0: 1194 => ((default-space space-address))
run: min/string-copy/split-first-at-substring/main 1: (((1 integer)) <- ((next-input)))
arg: nil 0 (4 1)
run: min/string-copy/split-first-at-substring/main 1: 4 => ((1 integer))
mem: ((1 integer)): 1196 <= 4
run: min/string-copy/split-first-at-substring/main 2: (((2 integer)) <- ((next-input)))
arg: nil 1 (4 1)
run: min/string-copy/split-first-at-substring/main 2: 1 => ((2 integer))
mem: ((2 integer)): 1197 <= 1
run: min/string-copy/split-first-at-substring/main 3: (((3 boolean)) <- ((less-than)) ((1 integer)) ((2 integer)))
mem: ((1 integer)) => 4
mem: ((2 integer)) => 1
run: min/string-copy/split-first-at-substring/main 3: nil => ((3 boolean))
mem: ((3 boolean)): 1198 <= nil
run: min/string-copy/split-first-at-substring/main 4: (((jump-if)) ((3 boolean)) ((1 offset)))
mem: ((3 boolean)) => nil
run: min/string-copy/split-first-at-substring/main 5: (((reply)) ((2 integer)))
mem: ((2 integer)) => 1
run: string-copy/split-first-at-substring/main 5: 1 => ((3 integer))
mem: ((3 integer)): 1167 <= 1
run: string-copy/split-first-at-substring/main 6: (((4 integer)) <- ((subtract)) ((3 integer)) ((2 integer)))
mem: ((3 integer)) => 1
mem: ((2 integer)) => 0
run: string-copy/split-first-at-substring/main 6: 1 => ((4 integer))
mem: ((4 integer)): 1168 <= 1
run: string-copy/split-first-at-substring/main 7: (((5 string-address)) <- ((new)) ((string literal)) ((4 integer)))
mem: ((4 integer)) => 1
run: string-copy/split-first-at-substring/main 7: 1225 => ((5 string-address))
mem: ((5 string-address)): 1169 <= 1225
run: string-copy/split-first-at-substring/main 8: (((6 integer)) <- ((copy)) ((2 integer)))
mem: ((2 integer)) => 0
run: string-copy/split-first-at-substring/main 8: 0 => ((6 integer))
mem: ((6 integer)): 1170 <= 0
run: string-copy/split-first-at-substring/main 9: (((7 integer)) <- ((copy)) ((0 literal)))
run: string-copy/split-first-at-substring/main 9: 0 => ((7 integer))
mem: ((7 integer)): 1171 <= 0
run: string-copy/split-first-at-substring/main 10: (((8 boolean)) <- ((greater-or-equal)) ((6 integer)) ((3 integer)))
mem: ((6 integer)) => 0
mem: ((3 integer)) => 1
run: string-copy/split-first-at-substring/main 10: nil => ((8 boolean))
mem: ((8 boolean)): 1172 <= nil
run: string-copy/split-first-at-substring/main 11: (((jump-if)) ((8 boolean)) ((6 offset)))
mem: ((8 boolean)) => nil
run: string-copy/split-first-at-substring/main 12: (((9 character)) <- ((index)) ((1 string-address) (deref)) ((6 integer)))
mem: ((6 integer)) => 0
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 4
mem: ((1001 byte) (raw)) => a
run: string-copy/split-first-at-substring/main 12: #\a => ((9 character))
mem: ((9 character)): 1173 <= #\a
run: string-copy/split-first-at-substring/main 13: (((10 character-address)) <- ((index-address)) ((5 string-address) (deref)) ((7 integer)))
mem: ((7 integer)) => 0
array-len: ((1225 string) (raw))
mem: ((1225 integer) (raw)) => 1
run: string-copy/split-first-at-substring/main 13: 1226 => ((10 character-address))
mem: ((10 character-address)): 1174 <= 1226
run: string-copy/split-first-at-substring/main 14: (((10 character-address) (deref)) <- ((copy)) ((9 character)))
mem: ((9 character)) => a
run: string-copy/split-first-at-substring/main 14: #\a => ((10 character-address) (deref))
mem: ((10 character-address) (deref)): 1226 <= #\a
run: string-copy/split-first-at-substring/main 15: (((6 integer)) <- ((add)) ((6 integer)) ((1 literal)))
mem: ((6 integer)) => 0
run: string-copy/split-first-at-substring/main 15: 1 => ((6 integer))
mem: ((6 integer)): 1170 <= 1
run: string-copy/split-first-at-substring/main 16: (((7 integer)) <- ((add)) ((7 integer)) ((1 literal)))
mem: ((7 integer)) => 0
run: string-copy/split-first-at-substring/main 16: 1 => ((7 integer))
mem: ((7 integer)): 1171 <= 1
run: string-copy/split-first-at-substring/main 17: (((jump)) ((-8 offset)))
run: string-copy/split-first-at-substring/main 10: (((8 boolean)) <- ((greater-or-equal)) ((6 integer)) ((3 integer)))
mem: ((6 integer)) => 1
mem: ((3 integer)) => 1
run: string-copy/split-first-at-substring/main 10: t => ((8 boolean))
mem: ((8 boolean)): 1172 <= t
run: string-copy/split-first-at-substring/main 11: (((jump-if)) ((8 boolean)) ((6 offset)))
mem: ((8 boolean)) => t
run: string-copy/split-first-at-substring/main 18: (((reply)) ((5 string-address)))
mem: ((5 string-address)) => 1225
run: split-first-at-substring/main 10: 1225 => ((5 string-address))
mem: ((5 string-address)): 1014 <= 1225
run: split-first-at-substring/main 11: (((8 integer)) <- ((length)) ((2 string-address) (deref)))
array-len: ((2 string-address) (deref))
mem: ((1005 integer) (raw)) => 2
run: split-first-at-substring/main 11: 2 => ((8 integer))
mem: ((8 integer)): 1017 <= 2
run: split-first-at-substring/main 12: (((7 integer)) <- ((add)) ((7 integer)) ((8 integer)))
mem: ((7 integer)) => 1
mem: ((8 integer)) => 2
run: split-first-at-substring/main 12: 3 => ((7 integer))
mem: ((7 integer)): 1016 <= 3
run: split-first-at-substring/main 13: (((6 string-address)) <- ((string-copy)) ((1 string-address)) ((7 integer)) ((3 integer)))
mem: ((1 string-address)) => 1000
mem: ((7 integer)) => 3
mem: ((3 integer)) => 4
run: string-copy/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: string-copy/split-first-at-substring/main 0: 1227 => ((default-space space-address))
run: string-copy/split-first-at-substring/main 1: (((1 string-address)) <- ((next-input)))
arg: nil 0 (1000 3 4)
run: string-copy/split-first-at-substring/main 1: 1000 => ((1 string-address))
mem: ((1 string-address)): 1229 <= 1000
run: string-copy/split-first-at-substring/main 2: (((2 integer)) <- ((next-input)))
arg: nil 1 (1000 3 4)
run: string-copy/split-first-at-substring/main 2: 3 => ((2 integer))
mem: ((2 integer)): 1230 <= 3
run: string-copy/split-first-at-substring/main 3: (((3 integer)) <- ((next-input)))
arg: nil 2 (1000 3 4)
run: string-copy/split-first-at-substring/main 3: 4 => ((3 integer))
mem: ((3 integer)): 1231 <= 4
run: string-copy/split-first-at-substring/main 4: (((4 integer)) <- ((length)) ((1 string-address) (deref)))
array-len: ((1 string-address) (deref))
mem: ((1000 integer) (raw)) => 4
run: string-copy/split-first-at-substring/main 4: 4 => ((4 integer))
mem: ((4 integer)): 1232 <= 4
run: string-copy/split-first-at-substring/main 5: (((3 integer)) <- ((min)) ((4 integer)) ((3 integer)))
mem: ((4 integer)) => 4
mem: ((3 integer)) => 4
run: min/string-copy/split-first-at-substring/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: min/string-copy/split-first-at-substring/main 0: 1258 => ((default-space space-address))
run: min/string-copy/split-first-at-substring/main 1: (((1 integer)) <- ((next-input)))
arg: nil 0 (4 4)
run: min/string-copy/split-first-at-substring/main 1: 4 => ((1 integer))
mem: ((1 integer)): 1260 <= 4
run: min/string-copy/split-first-at-substring/main 2: (((2 integer)) <- ((next-input)))
arg: nil 1 (4 4)
run: min/string-copy/split-first-at-substring/main 2: 4 => ((2 integer))
mem: ((2 integer)): 1261 <= 4
run: min/string-copy/split-first-at-substring/main 3: (((3 boolean)) <- ((less-than)) ((1 integer)) ((2 integer)))
mem: ((1 integer)) => 4
mem: ((2 integer)) => 4
run: min/string-copy/split-first-at-substring/main 3: nil => ((3 boolean))
mem: ((3 boolean)): 1262 <= nil
run: min/string-copy/split-first-at-substring/main 4: (((jump-if)) ((3 boolean)) ((1 offset)))
mem: ((3 boolean)) => nil
run: min/string-copy/split-first-at-substring/main 5: (((reply)) ((2 integer)))
mem: ((2 integer)) => 4
run: string-copy/split-first-at-substring/main 5: 4 => ((3 integer))
mem: ((3 integer)): 1231 <= 4
run: string-copy/split-first-at-substring/main 6: (((4 integer)) <- ((subtract)) ((3 integer)) ((2 integer)))
mem: ((3 integer)) => 4
mem: ((2 integer)) => 3
run: string-copy/split-first-at-substring/main 6: 1 => ((4 integer))
mem: ((4 integer)): 1232 <= 1
run: string-copy/split-first-at-substring/main 7: (((5 string-address)) <- ((new)) ((string literal)) ((4 integer)))
mem: ((4 integer)) => 1
run: string-copy/split-first-at-substring/main 7: 1289 => ((5 string-address))
mem: ((5 string-address)): 1233 <= 1289
run: string-copy/split-first-at-substring/main 8: (((6 integer)) <- ((copy)) ((2 integer)))
mem: ((2 integer)) => 3
run: string-copy/split-first-at-substring/main 8: 3 => ((6 integer))
mem: ((6 integer)): 1234 <= 3
run: string-copy/split-first-at-substring/main 9: (((7 integer)) <- ((copy)) ((0 literal)))
run: string-copy/split-first-at-substring/main 9: 0 => ((7 integer))
mem: ((7 integer)): 1235 <= 0
run: string-copy/split-first-at-substring/main 10: (((8 boolean)) <- ((greater-or-equal)) ((6 integer)) ((3 integer)))
mem: ((6 integer)) => 3
mem: ((3 integer)) => 4
run: string-copy/split-first-at-substring/main 10: nil => ((8 boolean))
mem: ((8 boolean)): 1236 <= nil
run: string-copy/split-first-at-substring/main 11: (((jump-if)) ((8 boolean)) ((6 offset)))
mem: ((8 boolean)) => nil
run: string-copy/split-first-at-substring/main 12: (((9 character)) <- ((index)) ((1 string-address) (deref)) ((6 integer)))
mem: ((6 integer)) => 3
array-len: ((1000 string) (raw))
mem: ((1000 integer) (raw)) => 4
mem: ((1004 byte) (raw)) => b
run: string-copy/split-first-at-substring/main 12: #\b => ((9 character))
mem: ((9 character)): 1237 <= #\b
run: string-copy/split-first-at-substring/main 13: (((10 character-address)) <- ((index-address)) ((5 string-address) (deref)) ((7 integer)))
mem: ((7 integer)) => 0
array-len: ((1289 string) (raw))
mem: ((1289 integer) (raw)) => 1
run: string-copy/split-first-at-substring/main 13: 1290 => ((10 character-address))
mem: ((10 character-address)): 1238 <= 1290
run: string-copy/split-first-at-substring/main 14: (((10 character-address) (deref)) <- ((copy)) ((9 character)))
mem: ((9 character)) => b
run: string-copy/split-first-at-substring/main 14: #\b => ((10 character-address) (deref))
mem: ((10 character-address) (deref)): 1290 <= #\b
run: string-copy/split-first-at-substring/main 15: (((6 integer)) <- ((add)) ((6 integer)) ((1 literal)))
mem: ((6 integer)) => 3
run: string-copy/split-first-at-substring/main 15: 4 => ((6 integer))
mem: ((6 integer)): 1234 <= 4
run: string-copy/split-first-at-substring/main 16: (((7 integer)) <- ((add)) ((7 integer)) ((1 literal)))
mem: ((7 integer)) => 0
run: string-copy/split-first-at-substring/main 16: 1 => ((7 integer))
mem: ((7 integer)): 1235 <= 1
run: string-copy/split-first-at-substring/main 17: (((jump)) ((-8 offset)))
run: string-copy/split-first-at-substring/main 10: (((8 boolean)) <- ((greater-or-equal)) ((6 integer)) ((3 integer)))
mem: ((6 integer)) => 4
mem: ((3 integer)) => 4
run: string-copy/split-first-at-substring/main 10: t => ((8 boolean))
mem: ((8 boolean)): 1236 <= t
run: string-copy/split-first-at-substring/main 11: (((jump-if)) ((8 boolean)) ((6 offset)))
mem: ((8 boolean)) => t
run: string-copy/split-first-at-substring/main 18: (((reply)) ((5 string-address)))
mem: ((5 string-address)) => 1289
run: split-first-at-substring/main 13: 1289 => ((6 string-address))
mem: ((6 string-address)): 1015 <= 1289
run: split-first-at-substring/main 14: (((reply)) ((5 string-address)) ((6 string-address)))
mem: ((5 string-address)) => 1225
mem: ((6 string-address)) => 1289
run: main 2: 1225 => ((3 string-address))
mem: ((3 string-address)): 3 <= 1225
run: main 2: 1289 => ((4 string-address))
mem: ((4 string-address)): 4 <= 1289
schedule: done with routine nil