> My problem is that I cannot see how control flow works in Forth, e.g. a simple if-then-else.
figuring this out for my own FORTH interpreter was a moment i still remember, nearly 50 years later. quite a revelation
figuring this out for my own FORTH interpreter was a moment i still remember, nearly 50 years later. quite a revelation
I would prefer to write in assembly language than write in Forth. Which is what I have done with one of my current projects.
With assembly language, there is a good chance that a random person with some minimal programming skills would understand my program if I were hit by a bus. With Forth, I think the chances of that are close to zero.
Immediate words are essentially a kind of macro, if it makes things easier for you.
i definitely prefer assembly to FORTH. i have direct and rather terrible experience with this after watching a few people try to ship a cartridge video game in FORTH