diff options
| author | kitty <nepeta@canaglie.net> | 2026-03-20 12:10:36 +1100 |
|---|---|---|
| committer | kitty <nepeta@canaglie.net> | 2026-03-20 12:10:36 +1100 |
| commit | 29bec09ee2dfe8d29a32c605daca50d5d7661f0e (patch) | |
| tree | ae69a95e9db927ec923ce41c48fea4e1ea2fc8a1 /sanctuary.fs | |
| parent | 5b62e6f31c9bb2a67672e20af2e6f130251bf0c5 (diff) | |
base words
Diffstat (limited to 'sanctuary.fs')
| -rw-r--r-- | sanctuary.fs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sanctuary.fs b/sanctuary.fs index e40527c..9ed0e61 100644 --- a/sanctuary.fs +++ b/sanctuary.fs @@ -1,3 +1,8 @@ : \ 10 parse 2drop ; immediate \ test : ( [ char ) ] literal parse 2drop ; immediate ( test ) + +: binary 2 base ! ; +: octal 8 base ! ; +: decimal 10 base ! ; +: hex 16 base ! ; bye |
