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


Groups > comp.lang.forth > #33580

Re: Is [compile] really used in this day and age?

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Is [compile] really used in this day and age?
Date 2014-09-29 13:53 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2014Sep29.155328@mips.complang.tuwien.ac.at> (permalink)
References <1f5rjhjmiemct$.38hm9g0sq09e$.dlg@40tude.net>

Show all headers | View raw


Coos Haak <chforth@hccnet.nl> writes:
>For an example, I searched in the latest gforth distribution
>(0.7.9_2014_04_02).
...
>Even with subdirectories (-r) I only could find only definitions of
>[compile] in Forth (extend.fs) and the cross compiler(cross.fs). Further in
>some comments and testing files (answords.fs/wordsets.fs).

Sure, one can do nicely without [COMPILE], and use POSTPONE (or
nothing) instead.

>So, does [compile] have any value?

It may be still in use in legacy code; replacing it with POSTPONE or
(rarely) nothing is relatively easy, and that replacing can actually
be automated with a bit of effort.

- 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


Thread

Is [compile] really used in this day and age? Coos Haak <chforth@hccnet.nl> - 2014-09-26 00:39 +0200
  Re: Is [compile] really used in this day and age? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-09-29 13:53 +0000
    Re: Is [compile] really used in this day and age? Coos Haak <chforth@hccnet.nl> - 2014-09-29 21:48 +0200
      Re: Is [compile] really used in this day and age? Bernd Paysan <bernd.paysan@gmx.de> - 2014-09-30 00:12 +0200
      Re: Is [compile] really used in this day and age? "Rod Pemberton" <buzzoff@nonamewhichexists.cmm> - 2014-09-30 04:20 -0400

csiph-web