parinfer

cfleming 2018-02-08T00:01:30.000204Z

@shaunlebron Ah, ok, thanks.

cfleming 2018-02-08T00:01:46.000180Z

The input/output mapping gets pretty confusing with the edits.

tianshu 2018-02-08T01:03:06.000247Z

I'm still working on the parser. I use built-in skip-syntax-forward to search meaningful characters (parens, semicolon, doublequote, etc), and save the parse result in a vector. If I can parser file in less than 50ms, I think everything is fine to parse whole buffer.

cfleming 2018-02-08T08:55:31.000373Z

Parinfer v3 is now available for testing in Cursive: https://groups.google.com/d/topic/cursive/ZJ4fcp3A988/discussion

👍 1
👏 2
cfleming 2018-02-08T08:55:51.000260Z

:partywombat:

sparkofreason 2018-02-08T17:57:46.000552Z

Just tried this out, not having any luck. I switched to Parinfer, but it doesn't seem to be enabled, typing a paren doesn't even show the closing paren. I assume this is because the file isn't correctly indented as discussed in the link above. However I don't see any highlighting to indicate what to correct. Is there something else I'm supposed to be doing?

dominicm 2018-02-08T19:55:13.000724Z

@dave.dixon what editor?

cfleming 2018-02-08T20:03:35.000141Z

I’m pretty sure @dave.dixon means the Cursive integration, I’ll answer over in #cursive

shaunlebron 2018-02-08T21:55:34.000646Z

@cfleming: nice, that was faster than I expected! i’ll try this out soon