# HG changeset patch # User meillo@marmaro.de # Date 1202931219 -3600 # Node ID b62288419c1cbeb67d35b64285c53ba4958a8056 # Parent e2048e56989158982cdc8bd88710195b7e94a220 added README and LICENSE; changed error code of invalid node diff -r e2048e569891 -r b62288419c1c LICENSE --- /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 + +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. diff -r e2048e569891 -r b62288419c1c README --- /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 diff -r e2048e569891 -r b62288419c1c actions.c --- 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); } }