Closed LightAndLight closed 1 year ago
More:
main : IO ()
main =
comp
# hi
println "hi"
main : IO ()
main =
comp # hi
println "hi"
I think I should just strip comments in the lexer. I've been hesitant because I suspect it would prevent me from reusing the lexer for a future documentation generator.
Branch: https://github.com/LightAndLight/ipso/tree/issue/188
results in a parse error, but it shouldn't.