Permalink
Browse files

Reorganization and better compliance with GPL.

darcs-hash:20051102063730-71b0c-e12b26d770dc217a77c22b31b30b63a294b3eaaa.gz
  • Loading branch information...
1 parent 4cdca9d commit b2cfcfc2d97f85dcb97aaf1c10fc0f757ae7c0ea @pupeno committed Nov 2, 2005
Showing with 64 additions and 34 deletions.
  1. +1 −1 AUTHORS
  2. +1 −1 README
  3. +6 −1 TODO
  4. +6 −9 chicken.py
  5. +0 −8 examples/SConstruct
  6. +0 −6 examples/bar.scm
  7. +0 −8 examples/foo.scm
  8. +11 −0 examples/library/SConstruct
  9. +13 −0 examples/library/bar.scm
  10. +11 −0 examples/program/SConstruct
  11. +15 −0 examples/program/foo.scm
View
@@ -1 +1 @@
-José Pablo Ezequiel "Pupeno" Fernández Silva <pupeno@pupeno.com>
+José Pablo Ezequiel "Pupeno" Fernández Silva <pupeno@pupeno.com> (http://pupeno.com)
View
2 README
@@ -1,5 +1,5 @@
scons-chicken
-============
+=============
scons-chicken is an add-on for SCons (http://www.scons.org), a building system (much like make and autotools, all in one), that adds support for Chicken (http://www.call-with-current-continuation.org/), a Scheme-to-C compiler.
To learn how to use scons-chicken, check out the examples directories.
View
7 TODO
@@ -1 +1,6 @@
-- Everything, almost.
+- Use SConstruct to install chicken.py where it goes in the same way as anything would be installed. After all I am especifing to load chicken.py anyway on every SConstruct that I make. That way I won't need to include a tools directory on every project, just depend on scons-chicken.
+- Separate the examples on directories.
+- Make the library example be a full extension that can be installed and all.
+- Let the program example be a full program that can be installed and all.
+- Push this repository and publish.
+- Release scons-chicken 0.1.0 when there's nothing else to do above this line.
View
@@ -1,13 +1,10 @@
-# -*- coding: utf-8 -*-
-# Tool for scons to support the Chicken Scheme compiler
# Copyright (C) 2005 José Pablo Ezequiel "Pupeno" Fernández Silva
-# <pupeno@pupeno.com>
-#
-# This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
-#
-# This program 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 General Public License for more details.
+# -*- coding: utf-8 -*-
+# This file is part of scons-chicken.
#
-# You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+# scons-chicken is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+# scons-chicken 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 General Public License for more details.
+# You should have received a copy of the GNU General Public License along with scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
import SCons.Tool
@@ -23,4 +20,4 @@ def generate(env):
def exists(env):
- return env.Detect(['chicken'])
+ return env.Detect(['chicken'])
View
@@ -1,8 +0,0 @@
-lib = Environment(tools = ['default', 'chicken'], toolpath = ['../'])
-lib.ParseConfig('chicken-config -libs -cflags -shared')
-lib['SHLIBPREFIX'] = ''
-lib.SharedLibrary('bar.scm')
-
-prg = Environment(tools = ['default', 'chicken'], toolpath = ['../'])
-prg.ParseConfig('chicken-config -libs -cflags')
-prg.Program('foo.scm')
View
@@ -1,6 +0,0 @@
-;;; bar.scm
-(declare (unit bar))
-(define (fac n)
- (if (zero? n)
- 1
- (* n (fac (- n 0))) ) )
View
@@ -1,8 +0,0 @@
-;;; foo.scm
-(define (fac n)
- (if (zero? n)
- 1
- (* n (fac (- n 1))) ) )
-
-(write (fac 10))
-(newline)
@@ -0,0 +1,11 @@
+# Copyright (C) 2005 José Pablo Ezequiel "Pupeno" Fernández Silva
+# -*- coding: utf-8 -*-
+# This file is part of scons-chicken.
+#
+# scons-chicken is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+# scons-chicken 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 General Public License for more details.
+# You should have received a copy of the GNU General Public License along with scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+lib = Environment(tools = ['default', 'chicken'], toolpath = ['../'])
+lib.ParseConfig('chicken-config -libs -cflags -shared')
+lib.SharedLibrary('bar.scm', SHLIBPREFIX = '')
View
@@ -0,0 +1,13 @@
+;;;; Copyright (C) 2005 José Pablo Ezequiel "Pupeno" Fernández Silva
+;;;;
+;;;; This file is part of scons-chicken.
+;;;;
+;;;; scons-chicken is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+;;;; scons-chicken 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 General Public License for more details.
+;;;; You should have received a copy of the GNU General Public License along with scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+(declare (unit bar))
+(define (fac n)
+ (if (zero? n)
+ 1
+ (* n (fac (- n 0))) ) )
@@ -0,0 +1,11 @@
+# Copyright (C) 2005 José Pablo Ezequiel "Pupeno" Fernández Silva
+# -*- coding: utf-8 -*-
+# This file is part of scons-chicken.
+#
+# scons-chicken is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+# scons-chicken 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 General Public License for more details.
+# You should have received a copy of the GNU General Public License along with scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+prg = Environment(tools = ['default', 'chicken'])
+prg.ParseConfig('chicken-config -libs -cflags')
+prg.Program('foo.scm')
View
@@ -0,0 +1,15 @@
+;;;; Copyright (C) 2005 José Pablo Ezequiel "Pupeno" Fernández Silva
+;;;;
+;;;; This file is part of scons-chicken.
+;;;;
+;;;; scons-chicken is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
+;;;; scons-chicken 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 General Public License for more details.
+;;;; You should have received a copy of the GNU General Public License along with scons-chicken; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+(define (fac n)
+ (if (zero? n)
+ 1
+ (* n (fac (- n 1))) ) )
+
+(write (fac 10))
+(newline)

0 comments on commit b2cfcfc

Please sign in to comment.