Fork me on GitHub
#chlorine
<
2020-08-05
>
mauricio.szabo00:08:13

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 Barnard00:08:50

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

Rowan Barnard00:08:26

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

mauricio.szabo13:08:21

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

mauricio.szabo18:08:21

(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")

seancorfield18:08:08

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

mauricio.szabo23:08:44

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 :)

seancorfield23:08:45

"Unable to parse expression at cursor" ?