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


Groups > comp.lang.forth > #30109

Re: Umm...help?

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: Umm...help?
Date 2014-05-05 13:06 +0200
Organization 1&1 Internet AG
Message-ID <lk7rck$13n$1@online.de> (permalink)
References <92ff2102-54de-4289-b298-29f92c60f7f8@googlegroups.com> <7zk3a172wq.fsf@example.com> <7u6dncZmC6vqXvvOnZ2dnUVZ_rOdnZ2d@supernews.com> <lk6k8l$ubm$1@online.de> <XPydnTnVmKp0fvvOnZ2dnUVZ_sSdnZ2d@supernews.com>

Show all headers | View raw


Elizabeth D. Rather wrote:
> It's harder than you might think. There are different sequences of
> high-level words that can compile the same few machine instructions, and
> how would you know whence they came?

Search and display the most likely result.  SEE in bigForth is not always 
100% accurate, either.  Example: If you have DUP +, you can optimize that to 
2*.  A SEE that reports 2* would be fine for me.  Or when you do constant 
folding, just display the results (e.g. 1 2 + would result in 3).

How easy that is depends on how many optimizations you do.

> In any case, since the source is
> usually available, why not show it, with LOCATE? Then you get to see
> comments, stack diagram, etc.

Sure, but that's a different purpose.

> And having SEE show what's actually compiled is valuable because there's
> no other good way to see it (assuming you don't like disassembling
> dumps, which few of us do).

I've other words to see the actual code.  SEE tries to reconstruct the 
source code.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Umm...help? David J <skamolex@gmail.com> - 2014-04-29 18:46 -0700
  Re: Umm...help? Julian Fondren <ayrnieu@gmail.com> - 2014-04-29 19:32 -0700
    Re: Umm...help? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-04-30 10:21 +0000
      Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-01 15:39 -0700
        Re: Umm...help? Coos Haak <chforth@hccnet.nl> - 2014-05-02 10:13 +0200
        Re: Umm...help? Mark Wills <markwills1970@gmail.com> - 2014-05-02 02:06 -0700
          Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-08 16:04 -0700
          Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-08 16:10 -0700
            Re: Umm...help? rickman <gnuarm@gmail.com> - 2014-05-09 14:18 -0400
              Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-19 14:20 -0700
  Re: Umm...help? "Elizabeth D. Rather" <erather@forth.com> - 2014-04-29 16:51 -1000
    Re: Umm...help? David J <skamolex@gmail.com> - 2014-04-29 20:03 -0700
      Re: Umm...help? "Elizabeth D. Rather" <erather@forth.com> - 2014-04-29 17:41 -1000
        Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-01 15:29 -0700
  Re: Umm...help? David J <skamolex@gmail.com> - 2014-04-29 19:51 -0700
  Re: Umm...help? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-04-30 08:49 +0000
    Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-01 15:32 -0700
      Re: Umm...help? stephenXXX@mpeforth.com (Stephen Pelc) - 2014-05-02 09:03 +0000
      Re: Umm...help? Torfinn Ingolfsen <tingo@home.no> - 2014-05-02 13:33 +0200
        Re: Umm...help? rickman <gnuarm@gmail.com> - 2014-05-04 15:11 -0400
          Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-08 16:15 -0700
        Re: Umm...help? David J <skamolex@gmail.com> - 2014-05-08 16:11 -0700
  Re: Umm...help? David Hume <David.Hume@example.com> - 2014-05-04 20:35 +0100
    Re: Umm...help? "Elizabeth D. Rather" <erather@forth.com> - 2014-05-04 12:47 -1000
      Re: Umm...help? Bernd Paysan <bernd.paysan@gmx.de> - 2014-05-05 01:59 +0200
        Re: Umm...help? "Elizabeth D. Rather" <erather@forth.com> - 2014-05-04 15:05 -1000
          Re: Umm...help? Bernd Paysan <bernd.paysan@gmx.de> - 2014-05-05 13:06 +0200
            Re: Umm...help? "Elizabeth D. Rather" <erather@forth.com> - 2014-05-05 08:07 -1000
              SEE (was: Umm...help?) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-05-06 16:30 +0000
                Re: SEE "Elizabeth D. Rather" <erather@forth.com> - 2014-05-06 09:24 -1000
                Re: SEE Bernd Paysan <bernd.paysan@gmx.de> - 2014-05-06 21:53 +0200
                no more ASS cracks? (was Re: SEE) all2001@spambog.com (Wolfgang Allinger) - 2014-05-06 19:48 -0400
                Re: SEE anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-05-10 17:11 +0000
            Re: Umm...help? Assad Ebrahim <assad.ebrahim@alum.swarthmore.edu> - 2014-05-10 15:47 +0100
              Re: Umm...help? Assad Ebrahim <assad.ebrahim@alum.swarthmore.edu> - 2014-05-10 16:06 +0100

csiph-web