Common Lisp, 8 bytes
Shorter than the other Common Lisp answer :-)
#.(loop)
Loop while reading your form.
AlsoThe Common Lisp standard has no mention of a portable way to make it crash, forso I guess we need to have an implementation-dependant approach with stilldefined way. Still 8 bytes, use:
#.(quit) ; ccl
... or,
#.(exit) ; sbcl
When you call (compile-file "crash.lisp")
, Clozure CL (first line) and Steel Bank Common Lisp (second line)the environments mysteriously "crash".
Joking apart, I am still trying to find a way to really crash the environment (and shortly), but it is really hard. All I get is a nice interaction with the debugger.