if I run the following common lisp code:
(print "A")
(print "B")
(print "C - No closing bracket"
sbcl --script ./test.lisp
A and B are printed. And after that the error appears like expected.
Does SBCL parses the first line(s) (or in other words "bracket enclosed code") and immediately execute it before going to the next part? Or does it parses the whole file and "mark" that there is a parser error at a specific point in the AST?