🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.functional
Article #119

The Spineless Tagless G-machine: detailed paper

#119
From: Simon L Peyton Jones
Date: Wed, 15 Apr 1992 11:53
38 lines
2167 bytes
The following paper (aka "The Monster") is available by FTP from

	ftp.dcs.glasgow.ac.uk:
		pub/glasgow-fp/papers/spineless-tagless-gmachine.dvi

In the same directory you'll find various other papers from our
group.  Their titles are summarised in the file PAPER_LIST.

Simon PJ, University of Glasgow.


	Implementing lazy functional languages on stock hardware:
		the Spineless Tagless G-machine
			Version 2.4

		Simon L Peyton Jones, University of Glasgow

The Spineless Tagless G-machine is an abstract machine designed to support
non-strict higher-order functional languages.  This presentation of the
machine falls into three parts.  Firstly, we give a general discussion of
the design issues involved in implementing non-strict functional languages,
which is intended to set the STG machine in a wider context.

Next, we present the {\em STG language}, an austere but
recognisably-functional language, which as well as a {\em denotational}
meaning has a well-defined {\em operational} semantics.  The STG language is
the ``abstract machine code'' for the Spineless Tagless G-machine.

Lastly, we discuss the mapping of the STG language onto stock hardware.  The
success of an abstract machine model depends largely on how efficient this
mapping can be made, though this topic is often relegated to a short
section.  Instead, we give a detailed discussion of the design issues and
the choices we have made.  Our principal target is the C language, treating
the C compiler as a portable assembler.  

This is a very long and detailed paper (82 pages), and it gives away all
our trade secrets!  It is to appear in the Journal of Functional Programing.
Technical Details
Message-ID: <26875.9204151153@dcs.glasgow.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!dcl-cs!glasgow!root

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!dcl-cs!glasgow!root
From: simonpj@dcs.glasgow.ac.uk (Simon L Peyton Jones)
Newsgroups: comp.lang.functional,mail.haskell
Subject: The Spineless Tagless G-machine: detailed paper
Message-ID: <26875.9204151153@dcs.glasgow.ac.uk>
Date: 15 Apr 92 11:53:21 GMT
Sender: root@dcs.glasgow.ac.uk (Operator)
Organization: Glasgow University Computing Science Dept.
Lines: 38
Approved: usenet@dcs.glasgow.ac.uk
X-Mailer: mail-news 2.0.5