Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #41487
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: New Gforth "qixi" Snapshot |
| Date | 2015-08-24 07:10 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2015Aug24.091059@mips.complang.tuwien.ac.at> (permalink) |
| References | (6 earlier) <mrdn17$3hn$1@dont-email.me> <ffa090de-6e66-4eaf-846c-cc791b26bbb0@googlegroups.com> <265db17d-6bf0-4a8e-8923-a84b1c4f139c@googlegroups.com> <mrduc0$i0d$3@dont-email.me> <08ae1444-8191-43af-ac0d-318e52d7ead4@googlegroups.com> |
borota@gmail.com writes:
>Got it thanks.
>It looks like the "culprit" is 'see'.
>
>base @ 1- . 9 ok
>see nip
>Code nip
>:2: error: No such file or directory
>see >>>nip<<<
>Backtrace:
>$6FFFF84F038 throw
>$6FFFF84F310 gdb-addr-sep-char
>$A
>$23C600
>$6FFFF6D3A00
>$6FFFF849E38 discode
>$6FFFF84ACD0 seecode
>$6FFFF84B618 xt-see
>$6FFFF801920
>$6FFFF84B898 name-see
>5 dup * . 19 ok
>base @ 1- . F ok
>
>I am guessing because of the error? Or is that the expected behavior for 'see' to change the base and not restore it back?
No, these are two bugs in in Gforth: 1) HEX is used instead of
BASE-EXECUTE. 2) check-gdb-syntax does not work and causes the
exception.
Chuck Moore advocated always setting BASE to the value you expect (I
guess this means that you should have written "5 DUP * DECIMAL .").
Many people take his word as gospel, but these days we have CATCH and
can do better. And IMO we should do better.
- 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 2015: http://www.rigwit.co.uk/EuroForth2015/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 01:58 +0200
Re: New Gforth "qixi" Snapshot "Alex McDonald" <blog@rivadpm.com> - 2015-08-20 09:41 +0100
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 14:21 +0200
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 18:54 +0200
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 20:12 +0200
Re: New Gforth "qixi" Snapshot Marc Christiansen <usenetmail@solar-empire.de> - 2015-08-20 20:42 +0200
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-20 22:45 +0200
Re: New Gforth "qixi" Snapshot peter.m.falth@gmail.com - 2015-08-21 11:47 -0700
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-21 23:23 +0200
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-22 00:28 +0200
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 10:38 -0700
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-23 23:53 +0200
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 15:25 -0700
Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 18:42 -0400
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 16:43 -0700
Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 19:53 -0400
Re: New Gforth "qixi" Snapshot Coos Haak <chforth@hccnet.nl> - 2015-08-24 01:58 +0200
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-24 02:05 +0200
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 18:16 -0700
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 18:34 -0700
Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 22:10 -0400
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 19:30 -0700
Re: New Gforth "qixi" Snapshot Julian Fondren <julian.fondren@gmail.com> - 2015-08-23 20:27 -0700
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-23 21:05 -0700
Re: New Gforth "qixi" Snapshot Julian Fondren <julian.fondren@gmail.com> - 2015-08-23 21:20 -0700
Re: New Gforth "qixi" Snapshot anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-24 07:10 +0000
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-24 15:17 +0200
Re: New Gforth "qixi" Snapshot anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-08-24 15:21 +0000
Re: New Gforth "qixi" Snapshot Bernd Paysan <bernd.paysan@gmx.de> - 2015-08-24 17:36 +0200
Re: New Gforth "qixi" Snapshot Julian Fondren <ayrnieu@gmail.com> - 2015-08-23 19:12 -0700
Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-23 22:10 -0400
Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-23 22:11 -1000
Re: New Gforth "qixi" Snapshot Mark Wills <markwills1970@gmail.com> - 2015-08-24 01:37 -0700
Re: New Gforth "qixi" Snapshot rickman <gnuarm@gmail.com> - 2015-08-24 08:57 -0400
Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-24 11:13 -1000
Re: New Gforth "qixi" Snapshot Mark Wills <markwills1970@gmail.com> - 2015-08-25 03:09 -0700
Re: New Gforth "qixi" Snapshot borota@gmail.com - 2015-08-25 19:34 -0700
Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-25 21:38 -1000
Re: New Gforth "qixi" Snapshot "HAA" <someone@microsoft.com> - 2015-09-01 21:57 +1000
Re: New Gforth "qixi" Snapshot Coos Haak <chforth@hccnet.nl> - 2015-09-01 16:15 +0200
Re: New Gforth "qixi" Snapshot "HAA" <someone@microsoft.com> - 2015-09-03 16:05 +1000
Re: New Gforth "qixi" Snapshot dunno <dunno@dunno.dunno> - 2015-09-05 03:25 +0000
Re: New Gforth "qixi" Snapshot "HAA" <someone@microsoft.com> - 2015-09-05 21:33 +1000
Re: New Gforth "qixi" Snapshot dunno <dunno@dunno.dunno> - 2015-09-05 18:07 +0000
Re: New Gforth "qixi" Snapshot "Elizabeth D. Rather" <erather@forth.com> - 2015-08-23 22:01 -1000
Re: New Gforth "qixi" Snapshot jkn_gg@nicorp.f9.co.uk - 2015-08-23 05:34 -0700
csiph-web