parinfer

raymcdermott 2018-04-09T08:59:44.000376Z

hi @shaunlebron I have started writing a REPL in CLJS

raymcdermott 2018-04-09T09:00:59.000464Z

to aid the effort I have updated the parinfer-cljs library to support v3

raymcdermott 2018-04-09T09:01:04.000527Z

and made a PR

raymcdermott 2018-04-09T09:01:18.000044Z

I would appreciate your thoughts

shaunlebron 2018-04-09T16:30:31.000753Z

@raymcdermott cool thanks, I replied: https://github.com/shaunlebron/parinfer-cljs/pull/5

shaunlebron 2018-04-09T16:30:52.000111Z

I wonder why my old github repos don’t have me watching them by default anymore

raymcdermott 2018-04-09T16:46:40.000060Z

when using parinfer, my biggest mental block is how to process newlines

raymcdermott 2018-04-09T16:47:13.000501Z

you suggest processing via parenmode in the docs but it still seems weird

raymcdermott 2018-04-09T16:47:40.000697Z

cos the line-number reports back the previous line not the new line

raymcdermott 2018-04-09T16:48:05.000100Z

and I don’t want to code around that … so maybe I have something off

raymcdermott 2018-04-09T16:49:00.000023Z

BTW I’m trying to code the REPL in a HTML textarea using reframe rather than code mirror

raymcdermott 2018-04-09T16:50:30.000096Z

I see people make movies …. is that how you would prefer to understand / review any perceived glitches?

shaunlebron 2018-04-09T16:53:56.000543Z

1. smart mode should handle what to do based on when you press Enter if that’s what you mean 2. you will save yourself loads of time if you use the official parinfer-codemirror addon. The integration bits are nontrivial: https://github.com/shaunlebron/parinfer-codemirror

raymcdermott 2018-04-09T17:07:50.000452Z

I wasn’t going to use code-mirror - is that a mistake? Does everyone else do that?

shaunlebron 2018-04-09T17:53:22.000338Z

i’m not sure what others do, i get little feedback on that kind of thing

shaunlebron 2018-04-09T17:53:32.000279Z

i know a couple people use the parinfer-codemirror addon

raymcdermott 2018-04-09T18:07:44.000786Z

ok, thanks