Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.forth > #22834

Re: The most elegant Forth interpreter.

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: The most elegant Forth interpreter.
Date 2013-05-20 11:09 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2013May20.130943@mips.complang.tuwien.ac.at> (permalink)
References <517b96a3$0$6096$e4fe514c@dreader36.news.xs4all.nl> <7xd2tc5qqb.fsf@ruckus.brouhaha.com> <517fd68a$0$26888$e4fe514c@dreader37.news.xs4all.nl> <7xfvy8ar1q.fsf@ruckus.brouhaha.com> <5199147c$0$26865$e4fe514c@dreader37.news.xs4all.nl>

Show all headers | View raw


albert@spenarnc.xs4all.nl (Albert van der Horst) writes:
>In article <7xfvy8ar1q.fsf@ruckus.brouhaha.com>,
>Paul Rubin  <no.email@nospam.invalid> wrote:
>>I think you are saying that you relied on an externally supplied
>>assembler and build environment for the Alpha, i.e. a bunch of complex
>>external software that had to be there before you could even get
>>started.  By contrast, the metacompiling approach is completely
>>self-contained.  All you need is some kind of boot loader to get a
>>runnable image onto the target chip.
>
>Maybe if you want to run on a bare Alpha, do you?
>On a Linux Dec Alpha it isn't true, and that was my example.
>If you want to generate a runable executable on the
>DEC Alpha from scratch, you have to spend more time on that subject
>alone than I have spend on the whole enchilada.
>Relying on the assembler and linker on the DEC Alpha is the sensible
>thing to do. Rewriting them from the barely existing docs in order
>to generate one Forth executable is insanity.

Or you do what Paul suggested: Write a boot loader that uses the
existing tool and loads the Forth image to the desired place.  That
image can be made with the traditional metacompilation approach.  I
think iForth uses that approach.

- 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 2013: http://www.euroforth.org/ef13/

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


Thread

Re: The most elegant Forth interpreter. albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-05-19 18:05 +0000
  Re: The most elegant Forth interpreter. anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-05-20 11:09 +0000
    Re: The most elegant Forth interpreter. albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-05-20 11:28 +0000
    Re: The most elegant Forth interpreter. Bernd Paysan <bernd.paysan@gmx.de> - 2013-05-21 01:20 +0200

csiph-web