Hi, yet another gambit newbee question. From lambdanative console template I learned how to start a `repl` in a statically linked binary. (N.B. "statically linked" MAY be boring; maybe not.) The pattern is: (define (repl-loop) (with-exception-catcher (lambda (exn) (DISPLAY-EXCEPTION)) ##repl-debug) (repl-loop)) (repl-loop) Use of `define-macro` as input yields "Ill-placed define-macro" exception. Thanks /Jörg
Afficher les réponses par date
On Apr 11, 2020, at 1:56 PM, Jörg F. Wittenberger <Joerg.Wittenberger@softeyes.net> wrote:
Hi,
yet another gambit newbee question.
From lambdanative console template I learned how to start a `repl` in a statically linked binary. (N.B. "statically linked" MAY be boring; maybe not.)
The pattern is:
(define (repl-loop) (with-exception-catcher (lambda (exn) (DISPLAY-EXCEPTION)) ##repl-debug) (repl-loop))
(repl-loop)
Use of `define-macro` as input yields "Ill-placed define-macro" exception.
Thanks
/Jörg
Use: (##repl-debug #f #t) Marc
participants (2)
-
Jörg F. Wittenberger -
Marc Feeley