Commit graph

16 commits

Author SHA1 Message Date
Sami Samhuri
3015167a30 add stdlib with little schemer stuff 2011-04-20 16:11:37 -07:00
Sami Samhuri
ccab787366 improve parser, add numeric = primitive
- parse symbols such as "+" ,"-", and "1+"
- parse 'quoted expressions
2011-04-20 16:09:01 -07:00
Sami Samhuri
619a2ed04e define math primitives + - * and / 2011-04-20 13:43:29 -07:00
Sami Samhuri
d0c17ee2cc replace terrible err/die/oom functions with nice ERR/DIE/OOM macros 2011-04-20 13:43:29 -07:00
Sami Samhuri
9604f23136 define a few primitives, fix bugs 2011-04-20 11:43:04 -07:00
Sami Samhuri
54831a34fa added eval and apply, lambdas, other goodies
- add booleans, dotted lists, functions
- proper lexical scope
- special forms: define, set!, and, or, quote, lambda
- added some basic list manipulations
- print functions and dotted lists
- removed nil
- more robust in general
2011-04-20 01:38:53 -07:00
Sami Samhuri
ec1c10f561 glib-ized 2011-04-18 22:36:07 -07:00
Sami Samhuri
0715d4a705 fix makefile 2011-04-18 22:35:02 -07:00
Sami Samhuri
0bb7a2ea22 ditch gpl hash table library for glib 2011-04-18 22:07:09 -07:00
Sami Samhuri
8439041407 bikeshedding 2011-04-18 21:14:56 -07:00
Sami Samhuri
faa5d2cf65 not strictly ANSI 2011-04-18 17:58:20 -07:00
Sami Samhuri
c2f1607547 add license, copyright 2011-04-17 22:45:16 -07:00
Sami Samhuri
2d55d70770 more minor fixes 2011-04-17 22:28:03 -07:00
Sami Samhuri
ebf84f5761 fix some compiler warnings on linux 2011-04-17 22:16:57 -07:00
Sami Samhuri
f001af16ee add a readme, fix Makefile 2011-04-17 22:08:36 -07:00
Sami Samhuri
70fe7a1a58 first commit 2011-04-17 21:24:23 -07:00