diff --git a/blk/003 b/blk/003 index 65b86f4..f79a3ae 100644 --- a/blk/003 +++ b/blk/003 @@ -10,8 +10,7 @@ the dictionary (B30) for a word reference. Contents - 4 Number literals 6 Compilation vs meta-comp. + 5 Number literals 6 Compilation vs meta-comp. 8 Interpreter I/O 11 Signed-ness 14 Addressed devices 17 DOES> -18 Disk blocks 21 How blocks are organized -22 Addressed devices +18 Disk blocks (cont.) diff --git a/blk/004 b/blk/004 index c669cf9..aea982b 100644 --- a/blk/004 +++ b/blk/004 @@ -1,11 +1 @@ -Number literals - -Traditional Forth often use HEX/DEC switches to go from decimal -to hexadecimal parsing. Collapse OS parses literals in a way -that is closer to C. - -Straight numbers are decimals, numbers starting with "0x" -are hexadecimals (example "0x12ef"), "0b" prefixes indicate -binary (example "0b1010"), char literals are single characters -surrounded by ' (example 'X'). Char literals can't be used for -whitespaces. +21 How blocks are organized 22 Addressed devices diff --git a/blk/005 b/blk/005 new file mode 100644 index 0000000..28e2307 --- /dev/null +++ b/blk/005 @@ -0,0 +1,12 @@ +Number literals + +Traditional Forth often use HEX/DEC switches to go from decimal +to hexadecimal parsing. Collapse OS parses literals in a way +that is closer to C. + +Straight numbers are decimals, numbers starting with "0x" +are hexadecimals (example "0x12ef"), "0b" prefixes indicate +binary (example "0b1010"), char literals are single characters +surrounded by ' (example 'X'). Char literals can't be used for +whitespaces. +