fredokun / cl-jupyter

An enhanced interactive Shell for Common Lisp (based on the Jupyter protocol)
BSD 2-Clause "Simplified" License
199 stars 29 forks source link

Comment on last line of code block generates reader error #15

Closed mmaul closed 8 years ago

mmaul commented 8 years ago

Reader error: incomplete input (condition of type: END-OF-FILE)

Reproduce with

(print "Something")
; I throw reader error
fredokun commented 8 years ago

Ok, I've pushed a work-around ... The problem was that I encapsulated the cell code into a progn form, so with your example I would try to eval:

(progn (print "Something") ; I throw reader error)

Now, I'm doing this:

(progn  (print "Something") ; I throw reader error
)

(there's a newline added before the closing paren)...

That's not beautiful but it seems to solve the problem, can you confirm?