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


Groups > comp.lang.forth > #39476

Re: COMPILE, and :NONAME

From Bernd Paysan <bernd.paysan@gmx.de>
Newsgroups comp.lang.forth
Subject Re: COMPILE, and :NONAME
Date 2015-05-30 23:45 +0200
Organization A noiseless patient Spider
Message-ID <mkdb04$ada$1@dont-email.me> (permalink)
References (2 earlier) <mk9sli$lep$1@dont-email.me> <2015May29.164556@mips.complang.tuwien.ac.at> <mkaj74$f1b$1@dont-email.me> <mkaorl$7h1$1@dont-email.me> <2015May30.135603@mips.complang.tuwien.ac.at>

Show all headers | View raw


Anton Ertl wrote:
> but I guess it might be different for a
> native speaker; so I would be fine with a different term, but you have
> to convince Bernd Paysan.

I didn't come up with the concept (that's from MPE and Stephen Pelc).  I'm 
not even sure if I used that term intentional or accidently; it started out 
as synonym.

MPE just hides it inside their glossary entry of COMPILE,:

defer Compile, \ xt --                               6.2.0945
Compile the word specified by xt into the current definition.

and has a single sentence that shows the possibility of using SET-COMPILER 
to replace STATE-smart words:

"State-smart words (considered "evil" by some) can be be avoided using set-
compiler and interp>."

(page 202 in my copy).  It's pretty obvious that this sentence is a 
consequence of your "State - why is evil and how to exorcise it" paper, and 
from the context of VFX's compiler (which is a lot about optimizing), you 
can suppose it relates to usage 2 of STATE-smart words:

http://www.complang.tuwien.ac.at/anton/euroforth/ef98/ertl98.pdf

This paper contains two usages of STATE-smart words (both problematic), and 
two different solutions: dual-xt for the parsing words, and intelligent 
compile, for optimization.

We changed Gforth from STATE-smart to dual-xt, experiencing little problems.  
MPE changed from STATE-smart to "smart compile," (i.e. using solution 2 for 
problem 1, too), and experienced little problems.  Why?

Because STATE-smart words have apparently more problems, especially all the 
corner cases where dual-xt and smart compile, differ, STATE-smart is even 
worse.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
http://bernd-paysan.de/

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


Thread

COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 12:48 +0100
  Re: COMPILE, and :NONAME Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-05-29 14:15 +0100
    Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 15:23 +0100
  Re: COMPILE, and :NONAME anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-29 13:25 +0000
    Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 15:22 +0100
      Re: COMPILE, and :NONAME anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-29 14:45 +0000
        Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 17:09 +0100
          Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 17:13 +0100
          Re: COMPILE, and :NONAME anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-29 17:21 +0000
            Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 19:36 +0100
        Re: COMPILE, and :NONAME Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-29 22:47 +0200
          Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-29 23:23 +0100
            Re: COMPILE, and :NONAME Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-30 02:03 +0200
              Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-30 20:58 +0100
            Re: COMPILE, and :NONAME anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-30 11:56 +0000
              Re: COMPILE, and :NONAME albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-30 13:34 +0000
              Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-05-30 20:54 +0100
                Re: COMPILE, and :NONAME foxaudioresearch@gmail.com - 2015-06-01 17:34 -0700
                Re: COMPILE, and :NONAME "Alex McDonald" <blog@rivadpm.com> - 2015-06-02 15:54 +0100
              Re: COMPILE, and :NONAME Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-30 23:45 +0200

csiph-web