[CM] s7: segfault on infinitely recursive macro

Elijah Stone elronnd at elronnd.net
Sun Jul 18 18:36:02 PDT 2021


(define-macro (f) (f))
(f) ;segfault
(letrec ((f (macro () (f)))) (f)) ;ditto

Same thing happens for define-expansion, but not for a regular function.


More information about the Cmdist mailing list