Sat May 17 01:32:11 CEST 2008

partial parsing

the thing to figure out is how to trick scheme in doing 'partial
read'. i.e. 

image> (with-handlers ((void (lambda(e)e))) (read(open-input-string"(1 2")))
  "UNKNOWN::0: read: expected a `)'"
  (#(struct:srcloc #f #f #f 1 1)))


what's the problem really? snot needs a proper repl and a separate
command channel. all of it needs to be programmed in scheme, and the
interface between emacs and scheme needs to be standardized, so there
are no surprises with datatypes. current hacks are crap.