chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
mauricio.szabo 2020-08-05T00:01:13.414600Z

Yes, unfortunately Chlorine development is a little bit slower for now, lots of thing needing my attention, but I believe this issue will be simple to fix. Or, at least, I hope so 😆

Rowan Barnard 2020-08-05T00:01:50.414900Z

OK submitted as: Unparseable code error failing to result in any error message being presented #207

Rowan Barnard 2020-08-05T00:02:26.415300Z

Going out for lunch now, wish everyone a great day 😉

mauricio.szabo 2020-08-05T13:10:21.416100Z

@flyingpython all right, found the problem... the issue is not exactly on parsing the number, but on parsing the top-level form

mauricio.szabo 2020-08-05T18:14:21.420400Z

(to be honest, I don't know how's the right way to solve this issue 😄. To be able to identify where blocks start/end in Clojure, I need to somehow parse the code... currently I'm using rewrite-cljs to do most of the job, and when I can't find a form I just ignore it and continue with the new form. In this case, the code (valid-isbn 05967) is failing to parse, and it's being ignored. For example, if you try to select the whole block and run Evaluate Selection, it behaves as expected (shows an error "Invalid number: 05967")

seancorfield 2020-08-05T18:33:08.420900Z

Perhaps popup a warning when you can't identify a block to be evaluated?

mauricio.szabo 2020-08-05T23:13:44.425200Z

Yes maybe that'll help. Or can confuse even more users because they can see the block but Chlorine can't 😅 Maybe I'll publish the next version with it, and if it ends being confusing, I remove on a later release :)

seancorfield 2020-08-05T23:30:45.425700Z

"Unable to parse expression at cursor" ?