parinfer

ray 2018-04-09T08:53:10.000361Z

@raymcdermott has joined the channel

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

hi @shaunlebron I have started writing a REPL in CLJS

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

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

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

and made a PR

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

I would appreciate your thoughts

genghis.sean 2018-04-09T16:28:47.000398Z

@genghis.sean has joined the channel

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

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

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

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

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

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

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

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

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

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

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

ray 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

ray 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

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

ok, thanks