Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #32949 > unrolled thread

does VFX have the same bug as Gforth?

Started byhughaguilar96@yahoo.com
First post2014-08-17 21:09 -0700
Last post2014-08-19 13:55 +0100
Articles 10 on this page of 110 — 13 participants

Back to article view | Back to comp.lang.forth


Contents

  does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-17 21:09 -0700
    Re: does VFX have the same bug as Gforth? Bee <forth@calcentral.com> - 2014-08-17 23:06 -0700
      Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-18 17:03 -0700
        Re: does VFX have the same bug as Gforth? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-18 22:19 -0400
        Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-19 09:14 +0000
          Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-19 15:23 +0200
            Re: does VFX have the same bug as Gforth? "Alex McDonald" <blog@rivadpm.com> - 2014-08-19 14:54 +0100
              Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-19 16:09 +0200
                Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-19 15:39 +0000
                  Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-19 22:34 +0200
                    Re: does VFX have the same bug as Gforth? "Alex McDonald" <blog@rivadpm.com> - 2014-08-19 23:29 +0100
                      Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-20 23:06 +0200
                        Re: does VFX have the same bug as Gforth? "Alex McDonald" <blog@rivadpm.com> - 2014-08-20 22:21 +0100
                    Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-20 07:46 +0000
                      Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-21 00:26 +0200
                        Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-20 22:42 -0700
                          Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-21 10:23 +0000
                            Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-21 23:29 -0700
                              Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-22 12:54 +0000
                                Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-22 17:54 -0700
                                  Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-23 10:46 +0000
                                    Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-23 11:15 -0700
                                      Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-24 13:32 +0000
                                        Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-24 10:40 -0700
                                          Re: does VFX have the same bug as Gforth? Bee <forth@calcentral.com> - 2014-08-24 22:03 -0700
                                          Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-25 08:31 +0000
                                            Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-25 22:55 -0700
                        Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-21 12:45 +0000
                        Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-22 15:13 +0000
                          Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-22 18:47 +0200
                            Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-22 18:28 -0700
                              Re: does VFX have the same bug as Gforth? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-23 04:44 -0400
                              Re: does VFX have the same bug as Gforth? Coos Haak <chforth@hccnet.nl> - 2014-08-23 16:15 +0200
                              Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-23 11:50 -0500
                            Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-23 07:15 +0000
                              Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-23 22:12 +0200
                                Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-24 03:51 -0500
                                  Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-24 13:36 +0000
                                    Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-25 04:16 -0500
                                      Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-25 09:44 +0000
                                        Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-25 11:53 -0500
                                          Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 06:34 +0000
                                            Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 03:55 -0500
                                              Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 12:37 +0000
                                                Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 08:24 -0500
                                                  Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 13:55 +0000
                                                    Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 10:42 -0500
                                                      Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 16:05 +0000
                                      Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-23 17:20 +0200
                                        Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-09-23 11:29 -0500
                                          Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-23 23:01 +0200
                                    Re: does VFX have the same bug as Gforth? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-25 15:59 +0000
                                      Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 06:23 +0000
                                        Re: does VFX have the same bug as Gforth? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-26 09:15 +0000
                                          Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 13:23 +0000
                                      Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-26 01:41 -0700
                                        Re: does VFX have the same bug as Gforth? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-26 09:32 +0000
                                          Re: does VFX have the same bug as Gforth? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-26 09:43 +0000
                                          Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-26 02:48 -0700
                                            Re: does VFX have the same bug as Gforth? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-26 11:58 +0000
                                              Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-26 05:20 -0700
                                        Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 12:30 +0000
                                  Re: does VFX have the same bug as Gforth? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-25 14:15 +0000
                                    Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-25 07:44 -0700
                                    Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-25 14:37 +0000
                                      Re: does VFX have the same bug as Gforth? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-25 15:14 +0000
                                        Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-25 15:33 +0000
                                      Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-26 01:56 -0700
                                        Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 04:16 -0500
                                          Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-26 02:24 -0700
                                          Re: does VFX have the same bug as Gforth? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-26 09:36 +0000
                                          Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 13:40 +0000
                                            Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 08:57 -0500
                                        Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 12:52 +0000
                                          Re: does VFX have the same bug as Gforth? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-26 14:14 +0000
                                            Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 14:36 +0000
                                              Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-23 17:40 +0200
                                            Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 10:53 -0500
                                            Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-23 17:36 +0200
                                    Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-25 12:02 -0500
                                      Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 06:42 +0000
                                        Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 04:08 -0500
                                          Re: does VFX have the same bug as Gforth? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-26 10:37 +0000
                                            Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-26 08:30 -0500
                                            Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-28 08:47 -0500
                                              Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-29 13:03 +0000
                                                Re: does VFX have the same bug as Gforth? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-29 09:16 -0500
                                          Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 13:06 +0000
                                    Re: does VFX have the same bug as Gforth? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-26 07:36 -0400
                                    Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-23 17:28 +0200
                                Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-24 09:48 +0000
                                Re: does VFX have the same bug as Gforth? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-24 15:55 -0400
                            Re: does VFX have the same bug as Gforth? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-24 15:55 -0400
                              Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-25 08:26 +0000
                                Re: does VFX have the same bug as Gforth? "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-26 07:36 -0400
                                  Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-26 12:12 +0000
                                    Re: does VFX have the same bug as Gforth? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-23 17:45 +0200
                      Re: does VFX have the same bug as Gforth? Mark Wills <markwills1970@gmail.com> - 2014-08-21 03:25 -0700
                        Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-21 23:14 -0700
              Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-19 14:16 +0000
    Re: does VFX have the same bug as Gforth? Bee <forth@calcentral.com> - 2014-08-17 23:16 -0700
      Re: does VFX have the same bug as Gforth? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-19 09:40 +0000
    Re: does VFX have the same bug as Gforth? Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2014-08-18 09:16 +0100
    Re: does VFX have the same bug as Gforth? Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-18 09:32 +0100
      Re: does VFX have the same bug as Gforth? "Alex McDonald" <blog@rivadpm.com> - 2014-08-18 13:09 +0100
    Re: does VFX have the same bug as Gforth? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-18 12:29 +0000
      Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-18 17:10 -0700
        Re: does VFX have the same bug as Gforth? Bee <forth@calcentral.com> - 2014-08-18 17:48 -0700
          Re: does VFX have the same bug as Gforth? hughaguilar96@yahoo.com - 2014-08-18 18:23 -0700
        Re: does VFX have the same bug as Gforth? Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-19 13:55 +0100

Page 6 of 6 — ← Prev page 1 2 3 4 5 [6]


#32951

FromBee <forth@calcentral.com>
Date2014-08-17 23:16 -0700
Message-ID<7c6cc315-1f94-426e-b45c-d87406c1edbb@googlegroups.com>
In reply to#32949
PS

For convenience I redefine as:

: ' ( "name" -- xt ) COMP' DROP ; \ need for compile-only words

: ['] ( "name" -- ) ' [COMPILE] LITERAL ; IMMEDIATE

Bill

[toc] | [prev] | [next] | [standalone]


#32963

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2014-08-19 09:40 +0000
Message-ID<2014Aug19.114022@mips.complang.tuwien.ac.at>
In reply to#32951
Bee <forth@calcentral.com> writes:
>PS
>
>For convenience I redefine as:
>
>: ' ( "name" -- xt ) COMP' DROP ; \ need for compile-only words
>
>: ['] ( "name" -- ) ' [COMPILE] LITERAL ; IMMEDIATE

Note that this will give you an xt for the compilation semantics for
words with non-default compilation semantics.  For normal words, it
does not make a difference; for compile-only words, it gives an xt
instead of an error (the intended behaviour).  But for words with
arbitrary combinations of interpretation and compilation semantics,
e.g. S", it gives an xt that performs the compilation semantics
instead of the interpretation semantics:


: bills-' COMP' DROP ;

' s" execute bla" type     \ outputs "bla"
bills-' s" execute bla" .s \ outputs "<0>"

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2014: http://www.euroforth.org/ef14/

[toc] | [prev] | [next] | [standalone]


#32952

FromPaul E Bennett <Paul_E.Bennett@topmail.co.uk>
Date2014-08-18 09:16 +0100
Message-ID<c5dr2lFb9vtU1@mid.individual.net>
In reply to#32949
hughaguilar96@yahoo.com wrote:

> In this thread:
> 
https://groups.google.com/forum/#!searchin/comp.lang.forth/LC53%7Csort:relevance/comp.lang.forth/wP5nw1ClzsM/E-TV9v2y9RoJ
> 
> I found out that in Gforth not all words have xt values. If you tick
> certain words the system will abort with an error message, although the
> word is in the dictionary. Specifically, ticking semi-colon causes Gforth
> to abort. This was a surprise to me, and I considered it to be a bug, but
> Anton Ertl said that I had no reason to expect every word to have an xt,
> and that it was my fault --- that I just don't know ANS-Forth very well. I
> haven't taken Gforth seriously since that time --- I don't consider it to
> be suitable for commercial work with problems like this.
> 
> My question is, does VFX have this same bug? The reason why I ask, is that
> I'm starting a big project and I want to use VFX. Is there any way to
> determine if an ANS-Forth compliant system has this bug or not? It is not
> just semi-colon, but I actually expect every word in the dictionary to
> have an xt. I could try ticking every word in the dictionary to see if
> doing so for any word aborts the system, but this seems rather tedious. I
> could just assume that anything that WORDS finds must have an xt, but this
> isn't guaranteed to work. Most likely, the only way to find out if an
> ANS-Forth compliant system has the bug or not, is to just ask the person
> who wrote the code --- that would be Stephen Pelc in the case of VFX ---
> but in the case of Gforth there are a variety of people involved, and it
> is not clear which ones of them have the authority to say that the bug is
> there or not.

VFX will give an XT for semi by just ticking it, which answers your specific 
question. In generality it seems to behave as I would expect for everything 
else.

-- 
********************************************************************
Paul E. Bennett IEng MIET.....<email://Paul_E.Bennett@topmail.co.uk>
Forth based HIDECS Consultancy.............<http://www.hidecs.co.uk>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-510979
Going Forth Safely ..... EBA. www.electric-boat-association.org.uk..
********************************************************************

[toc] | [prev] | [next] | [standalone]


#32953

FromGerry Jackson <gerry@jackson9000.fsnet.co.uk>
Date2014-08-18 09:32 +0100
Message-ID<lssdmj$mvb$1@dont-email.me>
In reply to#32949
On 18/08/2014 05:09, hughaguilar96@yahoo.com wrote:
> In this thread:
> https://groups.google.com/forum/#!searchin/comp.lang.forth/LC53%7Csort:relevance/comp.lang.forth/wP5nw1ClzsM/E-TV9v2y9RoJ
>
> I found out that in Gforth not all words have xt values. If you
> tick certain words the system will abort with an error message,
 > although the word is in the dictionary. Specifically, ticking
> semi-colon causes Gforth to abort. This was a surprise to me,
> and I considered it to be a bug, but Anton Ertl said that I had
> no reason to expect every word to have an xt, and that it was my
> fault --- that I just don't know ANS-Forth very well.

See below

> I haven't taken Gforth seriously since that time ---

Your loss!

> I don't consider it to be suitable for commercial work with problems like this.
>
> My question is, does VFX have this same bug? The reason why I ask, is that I'm starting a big project and I want to use VFX. Is there any way to determine if an ANS-Forth compliant system has this bug or not? It is not just semi-colon, but I actually expect every word in the dictionary to have an xt.. I could try ticking every word in the dictionary to see if doing so for any word aborts the system, but this seems rather tedious. I could just assume that anything that WORDS finds must have an xt, but this isn't guaranteed to work. Most likely, the only way to find out if an ANS-Forth compliant system has the bug or not, is to just ask the person who wrote the code --- that would be Stephen Pelc in the case of VFX --- but in the case of Gforth there are a variety of people involved, and it is not clear which ones of them have the authority to say that the bug is there or not.
>

Section 4.1.2, 5th bullet of the ANS standard states this as an 
ambiguous condition:

- attempting to obtain the execution token, (e.g. with 6.1.0070 ', 
6.1.1150 FIND etc) of a definition with undefined interpretation semantics;

6.1.0460 ; First line says:

Interpretation: Interpretation semantics for this word are undefined.

A system can do what it likes for an ambiguous condition, so Gforth does 
not have a bug. If a system does return an xt for ; when you tick it, 
you are lucky but can't rely on it.

-- 
Gerry

[toc] | [prev] | [next] | [standalone]


#32954

From"Alex McDonald" <blog@rivadpm.com>
Date2014-08-18 13:09 +0100
Message-ID<lssqel$5jr$1@dont-email.me>
In reply to#32953
on 18/08/2014 09:32:41, Gerry Jackson wrote:
> On 18/08/2014 05:09, hughaguilar96@yahoo.com wrote:
>> In this thread:
>> https://groups.google.com/forum/#!searchin/comp.lang.forth/LC53%7Csort:relevance/comp.lang.forth/wP5nw1ClzsM/E-
TV9v2y9RoJ
>>
>> I found out that in Gforth not all words have xt values. If you
>> tick certain words the system will abort with an error message,
> > although the word is in the dictionary. Specifically, ticking
>> semi-colon causes Gforth to abort. This was a surprise to me,
>> and I considered it to be a bug, but Anton Ertl said that I had
>> no reason to expect every word to have an xt, and that it was my
>> fault --- that I just don't know ANS-Forth very well.
> 
> See below
> 
>> I haven't taken Gforth seriously since that time ---
> 
> Your loss!
> 
>> I don't consider it to be suitable for commercial work with problems like this.
>>
>> My question is, does VFX have this same bug? The reason why I ask, is that I'm starting a big project and I want to use 
VFX. Is there any way to determine if an ANS-Forth compliant system has
this bug or not? It is not just semi-colon, but I actually expect every
word in the dictionary to have an xt.. I could try ticking every word in
the dictionary to see if doing so for any word aborts the system, but
this seems rather tedious. I could just assume that anything that WORDS
finds must have an xt, but this isn't guaranteed to work. Most likely,
the only way to find out if an ANS-Forth compliant system has the bug or
not, is to just ask the person who wrote the code --- that would be
Stephen Pelc in the case of VFX --- but in the case of Gforth there are a
variety of people involved, and it is not clear which ones of them have
the authority to say that the bug is there or not.
>>
> 
> Section 4.1.2, 5th bullet of the ANS standard states this as an
> ambiguous condition:
> 
> - attempting to obtain the execution token, (e.g. with 6.1.0070 ',
> 6.1.1150 FIND etc) of a definition with undefined interpretation
> semantics;
> 
> 6.1.0460 ; First line says:
> 
> Interpretation: Interpretation semantics for this word are undefined.
> 
> A system can do what it likes for an ambiguous condition, so Gforth
> does not have a bug. If a system does return an xt for ; when you tick
> it, you are lucky but can't rely on it.
> 

More to the point, what would executing or compiling the interpretation
semantics of ; do? Hugh appears to want the compilation semantics so he
can write lots of ' X followed later by COMPILE, . There was a thread
many years ago about this;
http://www.archivum.info/comp.lang.forth/2008-06/00302/Re-Semantics-%28interpretation-compilation-execution-etc.
%29.html 

In short, don't tick; POSTPONE.

[toc] | [prev] | [next] | [standalone]


#32955

FromstephenXXX@mpeforth.com (Stephen Pelc)
Date2014-08-18 12:29 +0000
Message-ID<53f1f11d.155325889@news.demon.co.uk>
In reply to#32949
On Sun, 17 Aug 2014 21:09:10 -0700 (PDT), hughaguilar96@yahoo.com
wrote:

>Most likely, the only way to find out if an ANS-Forth compliant =
>system has the bug or not, is to just ask the person who wrote the code ---=
> that would be Stephen Pelc in the case of VFX

I did not write the kernel of VFX Forth. However, in VFX every word
with a name can be ticked.

Stephen

-- 
Stephen Pelc, stephenXXX@mpeforth.com
MicroProcessor Engineering Ltd - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, fax: +44 (0)23 8033 9691
web: http://www.mpeforth.com - free VFX Forth downloads

[toc] | [prev] | [next] | [standalone]


#32958

Fromhughaguilar96@yahoo.com
Date2014-08-18 17:10 -0700
Message-ID<643a4e0b-65de-46bc-a769-e61a0c2594e4@googlegroups.com>
In reply to#32955
On Monday, August 18, 2014 5:29:17 AM UTC-7, Stephen Pelc wrote:
> On Sun, 17 Aug 2014 21:09:10 -0700 (PDT), hughaguilar96@yahoo.com
> wrote:
> 
> >Most likely, the only way to find out if an ANS-Forth compliant =
> >system has the bug or not, is to just ask the person who wrote the code ---=
> > that would be Stephen Pelc in the case of VFX

> I did not write the kernel of VFX Forth. 

You didn't? I thought that you were the sole programmer at MPE. You have employees?

> However, in VFX every word
> with a name can be ticked.

Well, that simplifies things. I'll just use VFX --- if my program doesn't work on Gforth or some other Forth, I'll leave Gerry to say that my program has a bug and that I'm no good at ANS-Forth --- I can ignore that.

[toc] | [prev] | [next] | [standalone]


#32959

FromBee <forth@calcentral.com>
Date2014-08-18 17:48 -0700
Message-ID<2f6fc784-002a-472e-a775-26726792dc27@googlegroups.com>
In reply to#32958
hughaguilar96@yahoo.com wrote:
> If you tick certain words the system will abort with an error message...
> How am I supposed to know whether a word is compile-only or not?

Read the error message, it is there for a reason!

Specifically:
:2: Cannot tick compile-only word (try COMP' ... DROP)

Stephen Pelc wrote:
> However, in VFX every word with a name can be ticked.

Redefine tick as follows...

: ' ( "name" -- xt ) COMP' DROP ;

Then you CAN tick every word in gforth.


On Monday, August 18, 2014 5:10:42 PM UTC-7, hughag...@yahoo.com wrote:
> On Monday, August 18, 2014 5:29:17 AM UTC-7, Stephen Pelc wrote:
> > On Sun, 17 Aug 2014 21:09:10 -0700 (PDT), hughaguilar96@yahoo.com
> I'll just use VFX --- if my program doesn't work on Gforth or some other Forth, I'll leave Gerry to say that my program has a bug and that I'm no good at ANS-Forth --- I can ignore that.

[toc] | [prev] | [next] | [standalone]


#32960

Fromhughaguilar96@yahoo.com
Date2014-08-18 18:23 -0700
Message-ID<156c4c1e-95ea-402d-b65c-21ea9e428b63@googlegroups.com>
In reply to#32959
On Monday, August 18, 2014 5:48:59 PM UTC-7, Bee wrote:
> hughaguilar96@yahoo.com wrote:
> > If you tick certain words the system will abort with an error message...
> 
> > How am I supposed to know whether a word is compile-only or not?
> 
> Read the error message, it is there for a reason!

I meant, before I tick it, not afterward. lol

> Specifically:
> :2: Cannot tick compile-only word (try COMP' ... DROP)
> 
> Stephen Pelc wrote:
> > However, in VFX every word with a name can be ticked.
> 
> Redefine tick as follows...
> 
> : ' ( "name" -- xt ) COMP' DROP ;
> 
> Then you CAN tick every word in gforth.

So, if I just use tick, then my program will work under VFX but not Gforth, but if I use your method then my program will work under Gforth but not under VFX.

Sooooo, what exactly did the ANS-Forth committee accomplish in 1994?

[toc] | [prev] | [next] | [standalone]


#32967

FromGerry Jackson <gerry@jackson9000.fsnet.co.uk>
Date2014-08-19 13:55 +0100
Message-ID<lsvhem$bau$1@dont-email.me>
In reply to#32958
On 19/08/2014 01:10, hughaguilar96@yahoo.com wrote:
> On Monday, August 18, 2014 5:29:17 AM UTC-7, Stephen Pelc wrote:
>> On Sun, 17 Aug 2014 21:09:10 -0700 (PDT), hughaguilar96@yahoo.com
>> wrote:
>>
>>> Most likely, the only way to find out if an ANS-Forth compliant =
>>> system has the bug or not, is to just ask the person who wrote the code ---=
>>> that would be Stephen Pelc in the case of VFX
>
>> I did not write the kernel of VFX Forth.
>
> You didn't? I thought that you were the sole programmer at MPE. You have employees?
>
>> However, in VFX every word
>> with a name can be ticked.
>
> Well, that simplifies things. I'll just use VFX --- if my program doesn't
> work on Gforth or some other Forth, I'll leave Gerry to say that my program
> has a bug

No I wouldn't say that, to use ANS Forth terminology, your program would 
have an 'environmental dependency'. But don't be ticked off in future if 
MPE decide to be more strict and release a version of VFX Forth that 
doesn't permit ticking semicolon - they have every right to do so.

> and that I'm no good at ANS-Forth

I never said that, I merely pointed out a couple of lines in the 
standard that had evidently escaped your eagle eyes.

-- 
Gerry

[toc] | [prev] | [standalone]


Page 6 of 6 — ← Prev page 1 2 3 4 5 [6]

Back to top | Article view | comp.lang.forth


csiph-web