Add error? function.
Update compiler to make use of it from repl.
Throw exceptions if compilation fails.
Workaround lack of scooping support for macros.