Home > Archive > Prolog > March 2006 > AFC bug fixation
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| newser.bbs@bbs.ee.ncu.edu.tw 2006-03-31, 7:00 pm |
| There is a bug in the AFC by Andreas Kochenburger
(http://home.arcor.de/a.s.kochenburger/downloads/AFC.ZIP)
Try to compile core.fth with Afc.exe , and the following messages
appear:
--------------------------
Forth Code-Compiler V-0.3
--------------------------
Bad command line (Usage: afc <-d|m|x|w> filename8 )
Terminated after error.
This error can be corrected by changing the codes in core.fth :
(from line 7) WORDSET
(into line 7) WORDS .
Thus the first lines of core.fth were changed into
\ ****************************************
**
\ Forth Code-Compiler -- CORE WORDS
\ Version 0.3
\ ****************************************
**
WORDS
\ ----- System
---------------------------------------------------------------
========================================
==============
This bug comes from the codes in AFC.pro
.....
auswWort("words") :- !,setwflag.
.....
You can see that only "words" was defined in the AFC.pro , but
"wordset" wasn't defined.
| |
|
| On 31 Mar 2006 10:53:37 -0800, newser.bbs@bbs.ee.ncu.edu.tw wrote:
>There is a bug in the AFC by Andreas Kochenburger
>(http://home.arcor.de/a.s.kochenburger/downloads/AFC.ZIP)
>
>
>Try to compile core.fth with Afc.exe , and the following messages
>appear:
>--------------------------
>Forth Code-Compiler V-0.3
>--------------------------
Is this FORTH written in Prolog?...
A.L.
| |
| student 2006-03-31, 7:00 pm |
| newser.bbs@bbs.ee.ncu.edu.tw wrote:
> There is a bug in the AFC by Andreas Kochenburger
> (http://home.arcor.de/a.s.kochenburger/downloads/AFC.ZIP)
>
>
> Try to compile core.fth with Afc.exe , and the following messages
> appear:
> --------------------------
> Forth Code-Compiler V-0.3
> --------------------------
> Bad command line (Usage: afc <-d|m|x|w> filename8 )
> Terminated after error.
>
>
> This error can be corrected by changing the codes in core.fth :
> (from line 7) WORDSET
> (into line 7) WORDS .
>
(snip)
>
> ========================================
==============
>
>
> This bug comes from the codes in AFC.pro
>
> ....
> auswWort("words") :- !,setwflag.
> ....
>
>
> You can see that only "words" was defined in the AFC.pro , but
> "wordset" wasn't defined.
>
Is WORDSET is an offical Forth keyword?
|
|
|
|
|