Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A naïve continuation-passing-style-transform based compiler for a language asymptotically approaching R5RS Scheme.
Scheme C C# Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
compiler
doc
lib
.gitignore
BUGS
COPYING
Makefile
Makefile.global
NOTES
README
STATUS
TODO

README

This is Newmoon, a very very simple CPS compiler for a language
asymptotically approaching R5RS Scheme. The compiler currently targets
the JVM, Microsoft's CLR ("dotnet") and a custom C runtime. Previously
an ad-hoc bytecode machine was targeted; the layering is clean enough
that retargeting ought to be minimally painful.

This is all the documentation you will find at the moment. More will
be forthcoming.

This is an extremely alpha piece of software, and it is supplied to
you under the terms of the GNU LGPL, a full copy of which can be found
in the file COPYING in this directory.

The relevant copyright notice for the files in this archive follows:

    Newmoon - a simple .NET Scheme compiler
    Copyright (C) 1999-2010 Tony Garnock-Jones <tonyg@kcbbs.gen.nz>
    Copyright (C) 2005 LShift Ltd. <query@lshift.net>
    Copyright (C) 2003 Tom Berger <t.berger@ucl.ac.uk>

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Something went wrong with that request. Please try again.