3 ms·
Free Pascal handles pointers in the cleanest way possible. @ is the address of something, and ^ is what something points to. There's no ambiguity about anything
by mikewarot 3y ago
Free Pascal handles pointers in the cleanest way possible. @ is the address of something, and ^ is what something points to. There's no ambiguity about anything, and certainly no confusion with array indices. Begin/End might be a bit verbose, but it better impedance matches with my view of the world, so it works well for me.
Stoic/Stoical/MStoical is a non-Forth forth... which handles strings well, 'string is a single world "string", and "longer string which can include spaces" give you fairly good coverage of all of your string needs, and unlike forth, it just takes the top parameter (a string) as an input into : to define a word, so you can do
'cube : dup dup * * ;
This avoids a lot of confusion with modes and things that happen in the normal forth compilers.