3 ms·
Forth seems to be a write only language, I'm not sure if it's the reverse polish stack oriented structure, or the lack of modern things we're used to like array
by mikewarot 6y ago
Forth seems to be a write only language, I'm not sure if it's the reverse polish stack oriented structure, or the lack of modern things we're used to like arrays, procedure calls, etc... STOICAL seems to address all of these, but it's written in dense C code that I can't make heads nor tails of... but the ideas are really, really attractive.
http://stoical.sourceforge.net/documentation.php http://stoical.sourceforge.net/documentation.php
The stand out features for me
'string puts a string on the stack (along with a type flag for string
'cube : dup dup * * ; is how you would define cube, which is a bit different, but not a huge shift
He's got ways to do types, dictionaries, arrays that also look like stacks... all sorts of magic including networking!
How much of it could be crammed into something that boots inside of a VM?