changeset 16:b62288419c1c

added README and LICENSE; changed error code of invalid node
author meillo@marmaro.de
date Wed, 13 Feb 2008 20:33:39 +0100
parents e2048e569891
children 16934645036f
files LICENSE README actions.c
diffstat 3 files changed, 58 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE	Wed Feb 13 20:33:39 2008 +0100
@@ -0,0 +1,21 @@
+MIT/X Consortium License
+
+Copyright 2008 markus schnalke <meillo@marmaro.de>
+
+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.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/README	Wed Feb 13 20:33:39 2008 +0100
@@ -0,0 +1,36 @@
+baum - an esoteric programming language
+=======================================
+baum is my first try to create an esoteric programming language. It bases on
+the idea to have a tree as source code structure. You should see baum as an
+experiment, it also offers only very restricted possibilities by now.
+
+
+Installation
+------------
+Enter the following command to build and install baum (if necessary as root):
+
+    make clean install
+
+
+Using baum
+----------
+See man page or the examples that are shipped with the program to learn how to
+program in the baum language.
+
+To check you sources run
+
+    baum -c sourcefile.baum
+
+If it exited successful, run the program with
+
+    baum sourcefile.baum
+
+
+
+Feedback
+--------
+Contact me if you are interested in baum. I would like to talk to you :-)
+
+
+
+markus schnalke <meillo@marmaro.de>
--- a/actions.c	Wed Feb 13 09:57:07 2008 +0100
+++ b/actions.c	Wed Feb 13 20:33:39 2008 +0100
@@ -37,7 +37,7 @@
 
 	} else {
 		fprintf(stderr, "unknown kind of node");
-		exit(1);
+		exit(4);
 	}
 }