[gambit-list] repl and macros

Jörg F. Wittenberger Joerg.Wittenberger at softeyes.net
Sat Apr 11 13:56:16 EDT 2020


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




More information about the Gambit-list mailing list