swadey / LispREPL.jl

REPL for LispSyntax.jl
Other
20 stars 10 forks source link

Comments cannot start a REPL entry #5

Open TotalVerb opened 8 years ago

TotalVerb commented 8 years ago

This works:

lisp> (+ 1 ; add 1
         2 ; add 2
         3 ; add 3
         )
6

but not this:

lisp> ; test test

instead, it waits for some kind of input. Even a complete expression does not terminate it.

The Julia REPL will accept the following:

julia> # test test

julia>

so I think the lisp REPL should have the same behaviour.

swadey commented 8 years ago

sorry about the delay. The problem is that the parser doesn't return anything in this context. I'll look into it.