Fork me on GitHub
#parinfer
<
2018-04-09
>
raymcdermott08:04:44

hi @shaunlebron I have started writing a REPL in CLJS

raymcdermott09:04:59

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

raymcdermott09:04:18

I would appreciate your thoughts

shaunlebron16:04:52

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

raymcdermott16:04:40

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

raymcdermott16:04:13

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

raymcdermott16:04:40

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

raymcdermott16:04:05

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

raymcdermott16:04:00

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

raymcdermott16:04:30

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

shaunlebron16:04:56

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

raymcdermott17:04:50

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

shaunlebron17:04:22

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

shaunlebron17:04:32

i know a couple people use the parinfer-codemirror addon