diff options
Diffstat (limited to 'subx/apps/crenshaw2-1b.subx')
-rw-r--r-- | subx/apps/crenshaw2-1b.subx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/subx/apps/crenshaw2-1b.subx b/subx/apps/crenshaw2-1b.subx index c6b18216..de900d7f 100644 --- a/subx/apps/crenshaw2-1b.subx +++ b/subx/apps/crenshaw2-1b.subx @@ -1,8 +1,8 @@ -## Port of https://github.com/akkartik/crenshaw/blob/master/tutor2.1.pas -# Corresponds to the section "single digits" in https://compilers.iecc.com/crenshaw/tutor2.txt -# except that we support numbers of multiple digits. +# Port of https://github.com/akkartik/crenshaw/blob/master/tutor2.1.pas +# which corresponds to the section "single digits" in https://compilers.iecc.com/crenshaw/tutor2.txt +# except that we support hex numbers of multiple digits. # -# To run (from the subx directory): +# To run (from the subx/ directory): # $ ./subx translate *.subx apps/crenshaw2-1b.subx -o crenshaw2-1b # $ echo '1a' |./subx run apps/crenshaw2-1b # Expected output: @@ -810,8 +810,8 @@ $is-digit?:end: == data -Look: - 00 00 00 00 +Look: # (char) + 00 00 00 00 # = 0 _test-output-stream: # current write index |