Language-Specific Run-Time Configuration
----------------------------------------

Proposal: The main language of a program should determine a run-time
configuration, including the style for printing values.
...
The different `define-struct's are easily support through different
bindings imported by `scheme' and `racket'. Similarly, for printing
top-level results in a module, you might imagine that `scheme' and
`racket' use different printing functions. The different error formats,
however, are not so easily controlled through bindings.


It seems more elegant to me for error formats to be controlled via bindings. What difficulties arise in doing so?

I mean, can't the error functions do something like

(define (error . v)
   (parameterize ([quase-quote #t])
     ...))
_________________________________________________
 For list-related administrative tasks:
 http://list.cs.brown.edu/mailman/listinfo/plt-dev

Reply via email to