Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!alberta!ncc!idacom!rob From: rob@idacom.uucp (Rob Chapman) Newsgroups: comp.lang.forth Subject: interpreted control structures Message-ID: <1990Sep26.203408.13630@idacom.uucp> Date: 26 Sep 90 20:34:08 GMT Organization: IDACOM, a division of Hewlett-Packard Lines: 21 >Michael Saari writes: > >Many of my examples used interactive "compile-only" words, such as: >ok begin 4000 c@ . key? until >11 11 11 11 11 11 11 11 11 11 11 11 11 >ok >which is allowed in our versions of Forth (but not in the 83-Standard). >Personally, I consider this a deficiency in the Standard. Also to others who have used or created interpreted control structures: Would the following work: CREATE crc-table 255 0 DO I CRC-LOOKUP , LOOP If I have interpreted control structures, I would like to use them at compile time to initialize tables. Are there systems that allow this? And what are the complexities/tradeoffs involved? Interested, Rob