- Could you please in two words explain source-location data?
Check lib/_eval.scm
Example:
(##define-syntax compile-time (lambda (stx) (##sourcify-deep (apply (lambda (_macroname . body) (eval `(begin ,@body))) (##source-code stx)) stx)))
- Do interpreter and compiler use same method of file reading?
Same readtable?
Dunno.
- Qi constructions after Qi-reader are just like scheme ones, but
before they are often different. For instance: Qi: [ A B | C ] after qi-reader: (cons A (cons B (cons C ()))) How can I integrate Qi reader into Gambit to slightly transform input with minimal effort?
Dunno. The first question would be, how is the Qi reader written in the original implementation?
Christian.