Neil Jerram <[EMAIL PROTECTED]> writes: > To be completely concrete about what I mean, here is a version of > your patch which I prefer (untested except by make check).
Hmm. Your approach make 'load' configurable so that it can use different 'read' procedures. Wouldn't it be more natural to make 'read' configurable to parse different syntaxes? 'load' is only a thin wrapper around 'read' and 'eval' (basically, a repl without the 'p'). The real meat is in 'read' (syntax) and 'eval' (semantics). So, if we want to customize the syntax, I'd say 'read' is the place to do it. Then all users of 'read' would automatically use the new syntax, not only when reading code in 'load'. (That's one big point of Lisp, that the data and code syntax are the same.) However, making the read procedure used by 'load' configurable can't hurt, I think. -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel