From 4747d865f744460e615a4a8d6edaa1c59631ce25 Mon Sep 17 00:00:00 2001 From: kitty Date: Sun, 15 Feb 2026 15:07:02 +1100 Subject: improve number i think that doing Everything in forth while possible is kinda putting more effort in for no reason, so we now have BASE and the ability to use hex digits. whee! --- jefs.fs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'jefs.fs') diff --git a/jefs.fs b/jefs.fs index aa5d44c..2f262f6 100644 --- a/jefs.fs +++ b/jefs.fs @@ -1,3 +1,6 @@ +: decimal 10 base ! ; +: hex 16 base ! ; + : [compile] parse find drop >cfa compile, ; immediate : ' parse find drop >cfa [compile] lit ; immediate \ note: no error handling (yet) -- cgit v1.2.3