diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-03-07 19:46:21 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-03-07 19:46:21 -0800 |
commit | 1a1a1671edd8d27cdd6229c08e6b40a202d85740 (patch) | |
tree | 1bf770bbea05d49908516d89bf59da476f7573bf /400.mu | |
parent | e5b8721ca4a4c7608a275eec6c7f43f98e2a67e5 (diff) | |
download | mu-1a1a1671edd8d27cdd6229c08e6b40a202d85740.tar.gz |
7866
Diffstat (limited to '400.mu')
-rw-r--r-- | 400.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/400.mu b/400.mu index 9d0c095f..44d94213 100644 --- a/400.mu +++ b/400.mu @@ -31,11 +31,11 @@ sig append-byte f: (addr stream byte), n: int sig append-byte-hex f: (addr stream byte), n: int sig write-int32-hex f: (addr stream byte), n: int sig write-int32-hex-bits f: (addr stream byte), n: int, bits: int -sig is-hex-int? in: (addr slice) -> _/eax: boolean +sig hex-int? in: (addr slice) -> _/eax: boolean sig parse-hex-int in: (addr array byte) -> _/eax: int sig parse-hex-int-from-slice in: (addr slice) -> _/eax: int #sig parse-hex-int-helper start: (addr byte), end: (addr byte) -> _/eax: int -sig is-hex-digit? c: byte -> _/eax: boolean +sig hex-digit? c: byte -> _/eax: boolean #sig from-hex-char in/eax: byte -> out/eax: nibble sig parse-decimal-int in: (addr array byte) -> _/eax: int sig parse-decimal-int-from-slice in: (addr slice) -> _/eax: int @@ -58,7 +58,7 @@ sig write-slice out: (addr stream byte), s: (addr slice) # bad name alert sig slice-to-string ad: (addr allocation-descriptor), in: (addr slice), out: (addr handle array byte) sig write-int32-decimal out: (addr stream byte), n: int -sig is-decimal-digit? c: grapheme -> _/eax: boolean +sig decimal-digit? c: grapheme -> _/eax: boolean sig to-decimal-digit in: grapheme -> _/eax: int # bad name alert # next-word really tokenizes |