From: D W. <dou...@ya...> - 2010-07-30 13:38:15
|
> I've tried FlashForth recently (have a look on it - a lot of ineresting features you may utilise), however the creator does insist on FOR NEXT instead of DO LOOP. Frankly, I do not understand that..Pito The creator of forth feels that FOR - NEXT is significantly more efficient than DO - LOOP. Unfortunately, I have no luck google-ing the exact page I wish to reference, but here is a page that quotes Moore <chipChuck> FOR NEXT is much simpler than DO LOOP, especially for hardware implementation http://tom.bespin.org/src/old/Chuck%20Moore%205-4-02.txt Since forth is Moore's personal tool, he does whatever he wishes, and others chose to follow or not. All implementations are considered simultaneously 'correct' if they do what they are intended, and 'incorrect' if they differ from Chuck. And Chuck tends change his mind as he sees fit, and doesn't always tell anyone, so nobody really worries. The result is many different 'flavors' of forth. Doug Williams CSQE |