Commit Graph

68 Commits

Author SHA1 Message Date
Elf M. Sternberg cff2d5cb97 Updated interpreter. Chapter 3 is still underway. 2015-06-17 12:37:02 -07:00
Elf M. Sternberg f17e74207e Re-arranging for Mocha. 2015-06-17 12:34:31 -07:00
Elf M. Sternberg 647dfbbc14 Reverting to a simpler CPS style. 2015-06-10 17:28:47 -07:00
Elf M. Sternberg c0bcc268a0 Commented invoke() usage. 2015-06-01 10:08:17 -07:00
Elf M. Sternberg 74579b9fa0 Added a lot of comments to the interpreter, clearing up a confusion in my mind. 2015-06-01 07:40:15 -07:00
Elf M. Sternberg 40a4d5ca19 Prepping for Chapter 3. 2015-05-21 13:02:39 -07:00
Elf M. Sternberg 2bc6312415 Moving to a more nuanced naming scheme. What happens next will amaze you! 2015-05-20 16:52:36 -07:00
Elf M. Sternberg 11e1ed7cf4 It works recursively. This will restore your faith in humanity!
I spent far too much time debugging an issue with metacadr (see the
cons-list commits for details), but this now successfully recurses
and all of its code paths are exercised by the factorial/fibonacci
exercises.  This is a Coffeescript implementation of the language
described at the end of chapter 1 of Lisp In Small Pieces.

Also, added a syntax-aware pretty printer.  It's very primitive, but
it's good enough for some debugging.
2015-05-20 15:47:51 -07:00
Elf M. Sternberg 570fb2b1df Some renaming; one major bugfix, using cons-lists instead of a local library. 2015-05-20 09:41:30 -07:00
Elf M. Sternberg 86efa8c09a Coffeescript attempt. 2015-05-13 22:28:55 -07:00
Elf M. Sternberg 0551a6fd4c Chapter 3 stub. 2015-05-13 22:23:30 -07:00
Elf M. Sternberg 34fef03ba8 Caught a silly typo; now sufficient to support classic factorials with recursions. 2015-04-28 08:51:34 -07:00
Elf M. Sternberg 54de465dbe Making the predicate operator a macro. 2015-04-15 16:33:25 -07:00
Elf M. Sternberg 525668310b Cleanup pass over comments in chapter 1. 2015-04-15 16:01:30 -07:00
Elf M. Sternberg 5ac7969712 Added README. Whee. 2015-04-15 15:57:52 -07:00
Elf M. Sternberg 0f4c149eb6 Merge branch 'master' of github.com:elfsternberg/LispInSmallPieces
* 'master' of github.com:elfsternberg/LispInSmallPieces:
  Initial commit
2015-04-15 15:57:10 -07:00
Elf M. Sternberg 6fda499306 Initial commit 2015-04-15 15:54:38 -07:00
Elf M. Sternberg d7f8dddb91 Chapter one. It actually works. 2015-04-15 15:50:53 -07:00