For me there are opening parentheses missing for the toplevel special forms. So defun and define-generic-mode are missing their opening parenthesis . . .