| Deutsch English Français Italiano |
|
<f28d2621b437d26ab3d0bb57f496ba09@www.novabbs.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: melahi_ahmed@yahoo.fr (ahmed) Newsgroups: comp.lang.forth Subject: Re: Expert systems in forth Date: Sun, 5 Jan 2025 05:52:35 +0000 Organization: novaBBS Message-ID: <f28d2621b437d26ab3d0bb57f496ba09@www.novabbs.com> References: <069d1724f6056b4c36d9e1ffaa3d606d@www.novabbs.com> <a489c8f27620718e4eb53a7fd349040e@www.novabbs.com> <b535bfcb55635df60139b1842074ebc4@www.novabbs.com> <d30f7d0abe74cbfd703742036441c630@www.novabbs.com> <92e5d326c746ff3f83df62f69c82b839@www.novabbs.com> <99f49d5350c95b72ae6370cb3d88f69c@www.novabbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="2081758"; mail-complaints-to="usenet@i2pn2.org"; posting-account="t+/9LUKLIiUqIe6reyFE7me/EcA/Gr17dRXgwnADesE"; User-Agent: Rocksolid Light X-Rslight-Site: $2y$10$zOz7O7TXhNpxpLV2.neTQuUibhkNz9oTP1VtynkXDQbr7KQT9gfui X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Posting-User: 5f6b2e70af503e44dad56966aa15d35bdef29623 Bytes: 2222 Lines: 37 Hi, First, I have the free version: iForth version 4.0.627, generated 15:51:53, December 18, 2010. x86_64 binary, native floating-point, extended precision. Copyright 1996 - 2010 Marcel Hendrix. I download it some years ago, and thanks for it. 1- For exapmple, I can't use ['] in a colon definition: defer go : go1 ..... ; : use_go ['] go1 is go ; doesn't work for me. 2- The forth word latest (gforth) is not defined in iForth: I used latest in the definition of the forth word fact. I modified the defintion of fact to get rid of latest. 3- The forth words place and +place are not defined in iForth: I borrowed the definitions from gforth. 4- this for vfxForth: The forth words 0>= and +place are not defined. I added their definitions in the top of the expert_systems.fs file. I changed the use of ['] in colon definitions by using variables and @ execute, and ( @, !) instead of defer and is. So I managed to get it working under: gforth, iForth, vfxForth anf minforth (MF348). Ahmed --