Re: RPN as intermediate code?

bevan@cs.man.ac.uk (Stephen J Bevan)
Wed, 6 Sep 1995 11:02:18 GMT

          From comp.compilers

Related articles
RPN as intermediate code? gorelick@esther.la.asu.edu (1995-08-22)
Re: RPN as intermediate code? lkaplan@BIX.com (1995-08-25)
Re: RPN as intermediate code? jaidi@technet.sg (1995-08-26)
Re: RPN as intermediate code? odersky@ira.uka.de (1995-08-29)
Re: RPN as intermediate code? ukln@rzstud2.rz.uni-karlsruhe.de (1995-08-31)
Re: RPN as intermediate code? hbaker@netcom.com (1995-09-02)
Re: RPN as intermediate code? mejohnsn@netcom.com (1995-09-11)
Re: RPN as intermediate code? bevan@cs.man.ac.uk (1995-09-06)
Re: RPN as intermediate code? Robert.Corbett@Eng.Sun.COM (1995-09-12)
| List of all articles for this month |

Newsgroups: comp.compilers
From: bevan@cs.man.ac.uk (Stephen J Bevan)
Keywords: forth, interpreter
Organization: Department of Computer Science; University of Manchester
References: 95-08-164 95-09-013
Date: Wed, 6 Sep 1995 11:02:18 GMT

aidi@technet.sg (Nor Jaidi) writes:
      Try Threaded Interpreted Language (TIL) published by Byte. It is a very
      old book (1970's?) discussing the implementation of a language that
      looks like Forth. (May be it was Forth's forgotten predecessor?).


It is Forth. Here's the relevant section of a comp.lang.forth FAQ on books :-


"Threaded Interpretive Languages" R. G. Loeliger
Byte Books, 1981, ISBN: 0-07-038360-X


    This book is out of print but sometimes it is available from
    booksellers or used book stores.


    Stephen J. Bevan <bevan@cs.man.ac.uk> writes:
    Before I read the book I thought that, based on the title, it was
    going to examine languages which are associated with threaded
    interpretive implementations and also cover different threading
    techniques. I was disappointed to find that it only covers (FIG)
    Forth and indirect threading, in fact a more accurate title for the
    book would be "How to write an indirect threaded FIG Forth for the
    Z80". That said, the book is easy to read and detailed enough for
    someone to implement a Forth from scratch on a Z80. The bulk of the
    book is taken up with Z80 code for the various words which make up
    the Forth. It is not a just listing though, each section is
    carefully explained with all inputs/outputs, registers,
    ... etc. documented. There are also introductory sections which
    explain the concepts being used along with flowcharts (!) for some
    routines. Towards the end of the book around 30 pages are devoted
    to an implementation of a Z80 Forth assembler. Block-based VM,
    editors and cross compilation are briefly discussed.


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.