Newsgroups: comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!udel!gatech!howland.reston.ans.net!pipex!uunet!sytex!smcl
From: smcl@sytex.com (Scott McLoughlin)
Subject: Re: GEL #f/nil, SCM choice
Message-ID: <PkBPVc2w165w@sytex.com>
Sender: bbs@sytex.com
Organization: Sytex Access Ltd.
References: <3a32e1$jnv@jetsam.ee.pdx.edu>
Date: Sat, 12 Nov 1994 23:39:36 GMT
Lines: 28

marcus@ee.pdx.edu (Marcus Daniels) writes:

> blume@dynamic.cs.princeton.edu (Matthias Blume) writes:
> 
> >For most of VSCM's bytecode instructions it is rather
> >straight-forward to emit equivalent C code.
> 
> Are there any Schemes, Lisps, MLs, etc. that provide
> a bytecode -> C (or for that matter, bytecode to anything) 
> translation mechanism?
> 

Howdy,
        Such a tool would be trivial to write by anyone
with access to the source.
        (1) Write a little bytecode parser.
        (2) Have the parser spit out the code
        executed by the virtual machine.
        (3) You may have to pass over the bc's
        twice to general labels, or some other
        hack on the output side.
This, I think, is the easy part. The rest of such
a system is the hard part.

=============================================
Scott McLoughlin
Conscious Computing
=============================================
