Join GitHub today
A naïve continuation-passing-style-transform based compiler for a language asymptotically approaching R5RS Scheme. https://leastfixedpoint.com/tonyg/kcb…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
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 <email@example.com> Copyright (C) 2005 LShift Ltd. <firstname.lastname@example.org> Copyright (C) 2003 Tom Berger <email@example.com> 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