Category:Plain English: Difference between revisions

m
Fixed code
m (commented assembly code)
m (Fixed code)
Line 90:
"The whole system is built on just two, compiler-defined types: BYTE and RECORD. All the other types are constructed from these, and are defined in the "Noodle" library {a file, loaded by the compiler}. The idea was to put as much as possible in the library, and as little as possible in the compiler. The compiler is aware of a few other types -- like NUMBER, STRING, SUBSTRING, THING -- mostly for memory management purposes, but all the other the type definitions are built up from BYTE and RECORD in the library." These are extended to support BYTE, WYRD, POINTER, FLAG, and RECORD.
 
<syntaxhighlight lang="text">
Subset types give new names to existing types: e.g.
<syntaxhighlight lang="text">
A count is a number.
A name is a string.
18

edits