jerry40 / guile-kernel

GNU Guile Scheme kernel for Jupyter Notebook
GNU General Public License v3.0
35 stars 16 forks source link

Error if the last line of a cell has code with a comment #15

Closed ntoxeg closed 4 years ago

ntoxeg commented 4 years ago

If I have a cell where the last line has some code with a comment at the end I get that kind of error:

read-error
(scm_i_lreadparen #<unknown port>:2:148: end of file () #f)
jerry40 commented 4 years ago

Got it, I wrap code block into

(begin _code_block_ )

so comments hide the last ) I will fix it soon. Thanks!

jerry40 commented 4 years ago

Fixed, may you test it again please?

ntoxeg commented 4 years ago

The bug is indeed gone, thanks.