first commit

This commit is contained in:
Andy Keep 2013-11-15 16:39:25 -05:00
commit 8f665de12a
6 changed files with 2355 additions and 0 deletions

19
Copyright Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2013 Andrew W. Keep
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

8
README.md Normal file
View File

@ -0,0 +1,8 @@
Scheme-to-C
============
This is a tiny nanopass compiler for compiling a small subset of Scheme into C.
It was developed to be presented at Clojure Conj 2013, in Alexandria, VA.
It is currently not very well tested, as it was only developed a few days ago,
but I promise to return and document it better once the Conj is over. (Really,
I _promise_!)

2319
c.ss Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
(library (implementation-helpers)
(export printf format system pretty-print)
(import (only (chezscheme) printf format system pretty-print)))

View File

@ -0,0 +1,3 @@
(library (implementation-helpers)
(export printf format system pretty-print)
(import (only (ikarus) printf format system pretty-print)))

View File

@ -0,0 +1,3 @@
(library (implementation-helpers)
(export printf format system pretty-print)
(import (only (vicare) printf format system pretty-print)))