[PicForth] Re: Feature Requests

Samuel Tardieu sam at rfc1149.net
Fri Nov 19 23:29:11 CET 2004


>>>>> "David" == David McNab <david at rebirthing.co.nz> writes:

David> 3) Statement block sanity checking

David> PicForth doesn't do much checking about whether :/;,
David> if/else/then, 'begin/again', 'begin/while/repeat' etc
David> constructs are structured correctly. I just spent a while
David> hunting a bug, which was caused by me missing out a 'then'.

Implemented in my development version.

David> Also, PicForth is not complaining if it sees a ':' inside a
David> word (or is this an intentional feature allowing one to call
David> into the middle of a word?).

I wanted to allow a ":" word to fallback into a "code" word as was
done in "dcc2.fs". However, there is no real justification for that,
and it complicates code analysis. I've removed this possibility and
added a check against nested definitions in my development version.

  Sam
-- 
Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/sam



More information about the PicForth mailing list