(define impc:compiler:print-badly-formed-expression-error
(lambda (expr-type ast)
(print-with-colors *impc:compiler:pretty-print-error-color*
'default #t (print "Syntax Error"))
(print " badly formed ")
(print-with-colors *impc:compiler:pretty-print-name-color* 'default #t (print expr-type))
(print " expression:\n")
(print-with-colors *impc:compiler:pretty-print-code-color* 'default #f (print ast "\n"))
(if (impc:aot:currently-compiling?)
(quit 2)
(throw ""))))