Related articles |
---|
Using FORTH as target machine? mailings@jmksf.com (mailings@jmksf.com) (2009-07-22) |
Re: Using FORTH as target machine? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-07-25) |
Re: Using FORTH as target machine? cr88192@hotmail.com (BGB / cr88192) (2009-07-25) |
Re: Using FORTH as target machine? blog@rivadpm.com (alextangent) (2009-07-26) |
Re: Using FORTH as target machine? blog@rivadpm.com (alextangent) (2009-07-26) |
Re: Using FORTH as target machine? joevans@gmail.com (Jason Evans) (2009-07-27) |
Re: Using FORTH as target machine? pjk@bcs.org.uk (Peter Knaggs) (2009-07-28) |
Re: Using FORTH as target machine? akk@nospam.org (Andreas) (2009-07-28) |
Re: Using FORTH as target machine? kym@svalbard.freeshell.org (russell kym horsell) (2009-07-29) |
Re: Using FORTH as target machine? jacob@nospam.org (jacob navia) (2009-07-29) |
From: | alextangent <blog@rivadpm.com> |
Newsgroups: | comp.compilers |
Date: | Sun, 26 Jul 2009 14:08:45 -0700 (PDT) |
Organization: | Compilers Central |
References: | 09-07-080 |
Keywords: | forth |
Posted-Date: | 26 Jul 2009 17:44:38 EDT |
On Jul 22, 1:46 am, "maili...@jmksf.com" <maili...@jmksf.com> wrote:
> I've got some questions about things relating to the topics of compiler
> backends and target languages dealing with the Forth programming language.
>
> While crawling the web, I was unable to find out a compiler that uses
> Forth as its target language. But in my opinion, compiling a
> higher-level language into Forth code is a great deal between using a
> standardized lower-level and widely spread programming language and its
> platform-independency. There are even CPUs which are capable of
> executing Forth. ...
There have been research projects that translate Forth into C (see
http://www.complang.tuwien.ac.at/projects/forth.html), but none that I
know of that have done the reverse. It's possible to target a stack
based machine with any language, but using Forth as an IL would be a
retrograde step imho when there are ILs that match the source language
better. VMs like the .net IL is stack based and strongly typed and
better suited for languages like C.
--
Regards
Alex McDonald
Return to the
comp.compilers page.
Search the
comp.compilers archives again.