Commit graph

46 commits

Author SHA1 Message Date
Sami Samhuri
a4423e42dd add a pretty picture to the readme 2011-04-23 19:56:47 -07:00
Sami Samhuri
513761b57a add clean to root makefile 2011-04-23 19:56:35 -07:00
Sami Samhuri
b69b3ad599 rename string.[ch] to str.[ch] to avoid linking weirdness 2011-04-23 19:53:05 -07:00
Sami Samhuri
8d66a7cbd1 move all globals into an execution context 2011-04-23 14:34:28 -07:00
Sami Samhuri
ccdffc87aa clean out cruft, make things more uniform 2011-04-23 11:55:43 -07:00
Sami Samhuri
06e00c32e5 update readme 2011-04-22 12:55:58 -07:00
Sami Samhuri
228ff0a4ef don't warn about trailing comments during parsing 2011-04-22 12:55:31 -07:00
Sami Samhuri
a0d5f40515 add when special form 2011-04-22 12:47:49 -07:00
Sami Samhuri
43d6ca80f0 add cond special form 2011-04-22 12:47:49 -07:00
Sami Samhuri
7eb66463b0 if special form requires exactly 3 args 2011-04-22 12:47:49 -07:00
Sami Samhuri
9161ca8c5d fix behaviour of parse errors 2011-04-22 12:47:49 -07:00
Sami Samhuri
824f0eb0e2 rename special form functions 2011-04-22 12:47:49 -07:00
Sami Samhuri
684cbe7939 add if special form 2011-04-22 00:05:09 -07:00
Sami Samhuri
42f982f9ef fix unshift 2011-04-21 21:27:49 -07:00
Sami Samhuri
1bcf043f86 fix cons for 2 atoms 2011-04-21 21:23:50 -07:00
Sami Samhuri
7d7b9a29a2 readme 2011-04-21 15:43:41 -07:00
Sami Samhuri
2efdbae78a allow naked special forms 2011-04-21 15:40:31 -07:00
Sami Samhuri
cb7b786ffd minor changes to readme 2011-04-21 15:40:14 -07:00
Sami Samhuri
67c785179e check # of fixed args when applying vararg functions 2011-04-21 15:40:00 -07:00
Sami Samhuri
90e935f93c updated readme 2011-04-21 15:11:00 -07:00
Sami Samhuri
05ef231de4 add is? and equal? primitives (is? is like eq?) 2011-04-21 14:41:01 -07:00
Sami Samhuri
31e8ad48e9 parse naked lists in the repl 2011-04-21 14:40:46 -07:00
Sami Samhuri
34ee57d759 fix cons 2011-04-21 14:38:00 -07:00
Sami Samhuri
6a8a737f57 update readme 2011-04-21 14:36:29 -07:00
Sami Samhuri
575502f69b add car, cdr, cons 2011-04-20 20:48:06 -07:00
Sami Samhuri
65015374fa organize project a little 2011-04-20 20:47:52 -07:00
Sami Samhuri
45dcfe04a3 update readme 2011-04-20 18:51:42 -07:00
Sami Samhuri
be146520db eval file named on command line before starting repl 2011-04-20 18:47:18 -07:00
Sami Samhuri
ef54e18811 fix ERR, DIE, OOM macros 2011-04-20 18:46:21 -07:00
Sami Samhuri
412f85a73b parse comments as values 2011-04-20 18:45:50 -07:00
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