Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #32882
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: ANS Forth test programs |
| Date | 2014-08-08 16:27 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2014Aug8.182743@mips.complang.tuwien.ac.at> (permalink) |
| References | (5 earlier) <lrvgiq$5gf$1@dont-email.me> <b6373152-7d3f-47f8-8d0a-1f4511bd57ac@googlegroups.com> <ls1qmv$n90$1@dont-email.me> <zvudnbP6wabyCnnOnZ2dnUU7-ImdnZ2d@supernews.com> <9abd98c8-b962-42c0-9091-8c0fa83b01f6@googlegroups.com> |
Raimond Dragomir <raimond.dragomir@gmail.com> writes:
>That's sad how so many people in the forth community cannot understand the =
>issues of the ANS forth standard, and like a consequence, the forth compile=
>rs/application development. All Hugh's points are common sense to me, and I=
>'m not a compiler writer at all (not in forth). But I develop applications =
>in forth.
>How can I trust any compiler vendor if they seem to not understand such iss=
>ues?
>If I want a compiler for xxx microcontroller and I go to VFX, and then I wa=
>nt to go to a yyy microcontoller with SwiftX ? And discover that some thing=
>s crash on one forth and work in the other and vice-versa ?
Well, then either your program has a bug or one of the compilers. The
standard specifies how systems should behave; if the compiler does not
behave as specified, then the compiler has a bug. OTOH, if you rely
on something that is not specified in the standard (say, the number of
cells in s control-flow stack item), your program has a bug. Sure,
one may want to wish for write-once-run-anywhere (the Java slogan),
but for a low-level language like Forth, you won't get it. Not even
if you run the same Forth on different platforms; e.g., "here ."
produces different results everywhere.
Jonah Thomas has once written a Forth system that was intended to test
for non-standard usage, and I have heard that Peter Knaggs is now
working on something in this vein. So if you are really keen on
checking whether your program is standard, you can try these systems.
However, I don't think Jonah Thomas' system was used much, apparently
testing the program on a few different systems is good enough.
- 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/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-03 23:34 +0100
Re: ANS Forth test programs mhx@iae.nl - 2014-08-03 22:33 -0700
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-04 08:47 +0100
Re: ANS Forth test programs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-04 05:10 -0400
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-05 17:33 +0100
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-21 16:01 +0000
Re: ANS Forth test programs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-21 16:20 +0000
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-21 21:47 +0000
Re: ANS Forth test programs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-22 12:33 +0000
Re: ANS Forth test programs albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-08-22 19:23 +0000
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-22 12:28 +0100
Re: ANS Forth test programs "Alex McDonald" <blog@rivadpm.com> - 2014-08-22 13:35 +0100
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-22 17:11 +0100
Re: ANS Forth test programs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-22 12:47 +0000
Re: ANS Forth test programs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-04 14:26 +0200
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-05 17:35 +0100
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-05 20:06 -0700
Re: ANS Forth test programs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-06 16:43 -0400
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-07 10:23 +0100
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-07 18:29 -0700
Re: ANS Forth test programs "Alex McDonald" <blog@rivadpm.com> - 2014-08-07 23:28 -0700
Re: ANS Forth test programs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-08 04:25 -0500
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-08 08:08 -0700
Re: ANS Forth test programs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-08 10:49 -0500
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-08 19:54 -0700
Re: ANS Forth test programs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-08 16:27 +0000
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-08 10:47 -0700
Re: ANS Forth test programs Coos Haak <chforth@hccnet.nl> - 2014-08-08 22:34 +0200
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-08 21:06 -0700
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-08 23:59 -0700
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-09 01:35 -0700
Re: ANS Forth test programs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-09 04:41 -0500
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-09 17:53 -0700
Re: ANS Forth test programs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-10 03:25 -0500
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-10 03:19 -0700
Re: ANS Forth test programs Mikael Nordman <oh2aun@gmail.com> - 2014-08-10 05:28 -0700
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-12 22:43 -0700
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-13 09:46 +0000
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-13 21:17 -0700
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-14 10:24 +0000
Re: ANS Forth test programs "Alex McDonald" <blog@rivadpm.com> - 2014-08-14 12:10 +0100
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-14 06:02 -0700
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-14 23:48 +0000
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-14 20:06 -0700
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-15 09:13 +0000
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-15 21:07 -0700
Re: ANS Forth test programs Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-08-16 02:22 -0500
Re: ANS Forth test programs "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-08-16 04:43 -0400
Re: ANS Forth test programs stephenXXX@mpeforth.com (Stephen Pelc) - 2014-08-16 20:37 +0000
Re: ANS Forth test programs BruceMcF <agila61@netscape.net> - 2014-08-12 16:55 -0700
Re: ANS Forth test programs Raimond Dragomir <raimond.dragomir@gmail.com> - 2014-08-12 22:47 -0700
Re: ANS Forth test programs "Alex McDonald" <blog@rivadpm.com> - 2014-08-13 10:43 +0100
Re: ANS Forth test programs bruce.mcfarling@gmail.com - 2014-08-16 10:02 -0700
Re: ANS Forth test programs anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-08-09 11:09 +0000
Re: ANS Forth test programs Lars Brinkhoff <lars.spam@nocrew.org> - 2014-08-09 13:34 +0200
Re: ANS Forth test programs Bernd Paysan <bernd.paysan@gmx.de> - 2014-08-09 21:45 +0200
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-08 13:39 -0700
Re: ANS Forth test programs "Alex McDonald" <blog@rivadpm.com> - 2014-08-10 03:21 +0100
Re: ANS Forth test programs "Bill Leary" <Bill_Leary@msn.com> - 2014-08-08 10:34 -0400
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-08 10:18 +0100
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-08 12:48 -0700
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-08 21:46 +0100
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-08 14:14 -0700
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-08 23:06 +0100
Re: ANS Forth test programs Coos Haak <chforth@hccnet.nl> - 2014-08-09 00:40 +0200
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-08 18:17 -0700
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-06 14:50 -0700
Re: ANS Forth test programs Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2014-08-07 10:12 +0100
Re: ANS Forth test programs hughaguilar96@yahoo.com - 2014-08-07 16:07 -0700
Re: ANS Forth test programs francois.ganza@wanadoo.fr - 2014-08-08 13:40 -0700
csiph-web