Skreeth

TorgoX on 2006-04-25T10:17:02

Dear Log,

Skreeth is progressing nicely. Today I implemented the special forms (if...), (and...), (or...), all of them with tests, and the slightly odd primitives (/ ...) and (- ...). And I also wrote the behind-the-scenes function True?, used internally by (if...) etc.

The Scheme concept of truth (i.e., truth is anything but the boolean false object #f) feels weird (zero is TRUE?!?), so I'm tentatively defining truth in Skreeth as being anything but nil/emptylist, false, and zero.

Still to do:

  • defining and calling functions (as opposed to primitives or special forms)
  • (cond...), (for...), and (let...)
  • dozens of easy primitives
  • all the PostScript-access primitives
  • and the biggie: the actual Lisp parser-- i.e., (read...)