diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-07-21 22:34:15 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-07-21 23:29:38 -0700 |
commit | 0d219f0a732d81dad124906f5594a06b023fa3a0 (patch) | |
tree | 1e450a89e25e609c900c57edfb88ded4e96cf8da /subx/apps | |
parent | ac8a9396b96259ed2d068abf30863540a21648f3 (diff) | |
download | mu-0d219f0a732d81dad124906f5594a06b023fa3a0.tar.gz |
5438 - raise error on uppercase hex
We can now translate layers 49-56 using the self-hosted translator (`translate` and `ntranslate`). As a follow-up to commit 5404, the self-hosted translator is a little more strict than the C++ translator in 3 places: a) All .subx files must define a data segment. b) All .subx files must define an `Entry` label. c) All numbers must be in *lowercase* hex. In all cases, where programs work with the C++ translator but violate the self-hosted translator's assumptions, we must make sure we raise errors rather than silently emit bad code.
Diffstat (limited to 'subx/apps')
-rwxr-xr-x | subx/apps/assort | bin | 34167 -> 34326 bytes |
-rwxr-xr-x | subx/apps/crenshaw2-1 | bin | 24575 -> 24734 bytes |
-rwxr-xr-x | subx/apps/crenshaw2-1b | bin | 25134 -> 25293 bytes |
-rwxr-xr-x | subx/apps/dquotes | bin | 40723 -> 40882 bytes |
-rwxr-xr-x | subx/apps/factorial | bin | 23491 -> 23650 bytes |
-rwxr-xr-x | subx/apps/handle | bin | 24350 -> 24509 bytes |
-rwxr-xr-x | subx/apps/hex | bin | 27584 -> 27743 bytes |
-rwxr-xr-x | subx/apps/pack | bin | 46819 -> 46978 bytes |
-rwxr-xr-x | subx/apps/survey | bin | 42817 -> 42976 bytes |
-rwxr-xr-x | subx/apps/tests | bin | 32979 -> 33138 bytes |
10 files changed, 0 insertions, 0 deletions
diff --git a/subx/apps/assort b/subx/apps/assort index d096be37..61aadb87 100755 --- a/subx/apps/assort +++ b/subx/apps/assort Binary files differdiff --git a/subx/apps/crenshaw2-1 b/subx/apps/crenshaw2-1 index db50d1cf..d4593a77 100755 --- a/subx/apps/crenshaw2-1 +++ b/subx/apps/crenshaw2-1 Binary files differdiff --git a/subx/apps/crenshaw2-1b b/subx/apps/crenshaw2-1b index 4e05331b..51919217 100755 --- a/subx/apps/crenshaw2-1b +++ b/subx/apps/crenshaw2-1b Binary files differdiff --git a/subx/apps/dquotes b/subx/apps/dquotes index 49ca7a1a..3bcefaf0 100755 --- a/subx/apps/dquotes +++ b/subx/apps/dquotes Binary files differdiff --git a/subx/apps/factorial b/subx/apps/factorial index 820890e5..311ef05c 100755 --- a/subx/apps/factorial +++ b/subx/apps/factorial Binary files differdiff --git a/subx/apps/handle b/subx/apps/handle index 1ba82034..63f7511b 100755 --- a/subx/apps/handle +++ b/subx/apps/handle Binary files differdiff --git a/subx/apps/hex b/subx/apps/hex index 230e3f2d..f3ad62f1 100755 --- a/subx/apps/hex +++ b/subx/apps/hex Binary files differdiff --git a/subx/apps/pack b/subx/apps/pack index 757378f9..737d0c33 100755 --- a/subx/apps/pack +++ b/subx/apps/pack Binary files differdiff --git a/subx/apps/survey b/subx/apps/survey index 4d30e651..299ea71c 100755 --- a/subx/apps/survey +++ b/subx/apps/survey Binary files differdiff --git a/subx/apps/tests b/subx/apps/tests index 58ece991..00201e83 100755 --- a/subx/apps/tests +++ b/subx/apps/tests Binary files differ |