diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-06-20 21:18:38 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-06-20 21:18:38 -0700 |
commit | 6e1aa99a0033d7ff2ead3a56400dd6e47a80e4f5 (patch) | |
tree | 37df885d6c5b3d65d55d946e484bd82a4223b069 /mu-init.subx | |
parent | 9d7d99fe6cc5a05960ef52cdfa8acefabf8e40bf (diff) | |
download | mu-6e1aa99a0033d7ff2ead3a56400dd6e47a80e4f5.tar.gz |
start guessing parentheses based on indentation
Diffstat (limited to 'mu-init.subx')
-rw-r--r-- | mu-init.subx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/mu-init.subx b/mu-init.subx index 25c1149e..438e29e7 100644 --- a/mu-init.subx +++ b/mu-init.subx @@ -15,22 +15,22 @@ Entry: # #? (main 0 0 Primary-bus-secondary-drive) #? (set-cursor-position 0 0x40 0x20) - (test-parenthesize) - (test-parenthesize-skips-lines-with-initial-parens) - (test-parenthesize-skips-single-word-lines) -#? # always first run tests -#? (run-tests) -#? (num-test-failures) # => eax -#? # call main if tests all passed -#? { -#? 3d/compare-eax-and 0/imm32 -#? 75/jump-if-!= break/disp8 -#? c7 0/subop/copy *Running-tests? 0/imm32/false -#? (clear-real-screen) -#? c7 0/subop/copy *Real-screen-cursor-x 0/imm32 -#? c7 0/subop/copy *Real-screen-cursor-y 0/imm32 -#? (main 0 0 Primary-bus-secondary-drive) -#? } +#? (test-parenthesize) +#? (test-parenthesize-skips-lines-with-initial-parens) +#? (test-parenthesize-skips-single-word-lines) + # always first run tests + (run-tests) + (num-test-failures) # => eax + # call main if tests all passed + { + 3d/compare-eax-and 0/imm32 + 75/jump-if-!= break/disp8 + c7 0/subop/copy *Running-tests? 0/imm32/false + (clear-real-screen) + c7 0/subop/copy *Real-screen-cursor-x 0/imm32 + c7 0/subop/copy *Real-screen-cursor-y 0/imm32 + (main 0 0 Primary-bus-secondary-drive) + } # hang indefinitely { |