Commit graph

39 commits

Author SHA1 Message Date
Russ Olsen
226c5f7a64 Broke up crazy large compiler namespace 2013-09-02 17:07:31 -04:00
Russ Olsen
460d697133 Broke up crazy large compiler namespace 2013-09-02 17:07:13 -04:00
Russ Olsen
f246825317 working tests! 2013-09-02 16:48:54 -04:00
Russ Olsen
f774da5879 Fixed misc bugs in tests, all but 3 tests working! 2013-09-02 11:15:12 -04:00
Russ Olsen
688dc1df63 Further cleanup to lazy-seq version 2013-09-02 10:23:45 -04:00
Russ Olsen
220e1feca8 WIP: start to clean up tests 2013-09-01 19:47:55 -04:00
Russ Olsen
cccb028e61 Massive reorg to make use of lazy lists to keep track of the program state 2013-09-01 19:41:45 -04:00
Russ Olsen
12ce018b7b cleanup 2012-08-02 09:21:45 -04:00
Russ Olsen
d24482dd94 changed the :defaults in my cond statements to :else 2012-08-02 09:09:55 -04:00
Russ Olsen
37fb2a1245 Fixed while look 2012-08-01 20:38:53 -04:00
Russ Olsen
ad5b414dc0 Fixed a number of problems with running vectors, added tests 2012-07-31 08:55:47 -04:00
Russ Olsen
0c326b2c74 Handly examples to proves that env extends over file execution 2012-07-20 14:19:46 -04:00
Russ Olsen
41fd382ab5 code cleanup 2012-07-20 14:19:09 -04:00
Russ Olsen
a358a002ed cleanup 2012-07-20 14:18:44 -04:00
Russ Olsen
98045c9410 build true and false from results of comparisons 2012-07-20 14:18:16 -04:00
Russ Olsen
1e425c552a added tests for rot and lrot 2012-07-20 14:17:40 -04:00
Russ Olsen
cc39fea63e Added an intro paragraph 2012-07-17 21:33:26 -04:00
Russ Olsen
df9980c308 Fixed typo 2012-07-17 21:28:18 -04:00
Russ Olsen
ee8cbaca89 More code cleanup 2012-07-17 21:27:17 -04:00
Russ Olsen
6112a5c7ad Cleaned up examples 2012-07-17 21:24:05 -04:00
Russ Olsen
503e6c4f03 General tidying up of code 2012-07-17 21:16:15 -04:00
Russ Olsen
8780733050 Allow stack-pop to pop off more than one thing at a time 2012-07-16 23:52:34 -04:00
Russ Olsen
6c0233c152 Cleanup 2012-07-16 23:44:20 -04:00
Russ Olsen
239d6a9d4b Added main class 2012-07-16 23:37:48 -04:00
Russ Olsen
737b8f09b5 Added some basic cloforth doc 2012-07-16 23:37:28 -04:00
Russ Olsen
8d00ee2c09 Changed recur to be a prim, since it can only recur in a word if it is in the word 2012-07-16 23:06:02 -04:00
Russ Olsen
89a7d2420a Dont print out the whole env at the end 2012-07-16 23:04:59 -04:00
Russ Olsen
dc5f6b1c99 fixed bug in goto 2012-07-16 23:03:59 -04:00
Russ Olsen
da254a77f0 removed dead code, reformatted ifelse 2012-07-16 23:03:05 -04:00
Russ Olsen
d247aa4165 added command to print the top of the stack w/o popping it 2012-07-16 23:01:29 -04:00
Russ Olsen
6951974773 added comment handling 2012-07-16 23:00:53 -04:00
Russ Olsen
a36524b652 Bug fixed so that if now words from repl 2012-07-16 12:52:25 -04:00
Russ Olsen
328b2e6bea Use : to define new words, not define 2012-07-15 10:05:57 -04:00
Russ Olsen
1c70adc16e Changed clean-env to include the init.c4 file 2012-07-15 10:05:24 -04:00
Russ Olsen
c7315bb584 Changed prompt to c4>> for fun 2012-07-15 10:04:35 -04:00
Russ Olsen
a930002deb Get rid of interpreter, repl now reads, compiles, executes, prints 2012-07-15 10:03:49 -04:00
Russ Olsen
aac0b6d4fd Get rid of junk file 2012-07-12 08:17:20 -04:00
Russ Olsen
6d3eb5da6c Initial commit, more or less functional language 2012-07-12 08:16:48 -04:00
russolsen
f2f5caa3c2 Initial commit 2012-07-12 05:12:12 -07:00