liquid

bvs 2019-01-07T15:42:54.053600Z

Found another one, but I think you might know this one.

bvs 2019-01-07T15:43:23.053800Z

This doesn't parse, because of the smiley 🙂 in the ;; comment halfway the function.

bvs 2019-01-07T15:43:42.054500Z

if I remove the smiley that is in the comment, the function can get evaluated properly, and functions.

bvs 2019-01-07T15:46:19.055900Z

There is also some drawing issues when I increase the size of the terminal after liquid has started (on windows, not using jframe). Making the window smaller works fine with liquid, and going from small to up to the original size works fine as well. Going larger, I get the black horizontal bar at the bottom duplicated.

bvs 2019-01-07T15:46:46.056Z

bvs 2019-01-07T15:48:55.056500Z

and quitting not always works - getting this exception right now:

bvs 2019-01-07T15:49:25.056600Z

mogenslund 2019-01-07T20:29:11.057100Z

Hi @bvs I have now fixed the redraw problem and the exit exception and made a commit. As for the evaluation part, yes, I did know that. When I implemented eval-last-sexp I decided to do the very simple and very fast parenthesis matching that would cover 95% of the cases. Making it perfect, would require parsing from the top of the file, but I also need to be able to evaluate clojure snippets inside prose or inside comments (which I do quite a lot, to evaluate samples that should not be evaluated on runtime 🙂 ) The best compromise would probably be to paren-match backwards and parse forward. I will put that on my todo to investigate. Until then a workaround would be to select the function and evaluate. If there is a selection the selection will be evaluated when pressing e. If there is no selection the smallest s-expression containing the cursor will be evaluated.