meander

All things about https://github.com/noprompt/meander Need help and no one responded? Feel free to ping @U5K8NTHEZ
Lucy Wang 2020-09-29T01:08:27.170300Z

TIL +1! Thanks Jimmy!

Lucy Wang 2020-09-29T06:44:30.170900Z

Took me really a long time, but still could not figure out the problem https://github.com/noprompt/meander/issues/141

noprompt 2020-09-29T16:04:17.171500Z

@wxitb2017 It’s perfectly fine to cross post here and on Github. 👍

dominicm 2020-09-29T17:37:20.172700Z

./github noprompt/meander

dominicm 2020-09-29T17:37:30.173Z

(It's on this slack)

noprompt 2020-09-29T18:24:17.173600Z

@timothypratley I think that issue may be similar to the one you posted. I’m taking a look (finally).

noprompt 2020-09-29T18:25:08.174100Z

It would be great if the Github desktop app showed issues too.

chucklehead 2020-09-29T19:26:57.178200Z

I think I hit this as well with a few of the approaches I tried when processing parsed xml with meander, e.g. trying to extract an optional attribute from an optional element or nil.

jimmy 2020-09-29T19:38:16.179200Z

I was trying to multi-task and added some confusing comments on the issue. I actually can't get this to stackoverflow, so it may be related to the compiling issue with a smaller stack amount.

noprompt 2020-09-29T20:27:36.180700Z

@jimmy Yeah, on the @timothypratley issue reducing the stack size produced the SO. I’m getting the SO with Lucys example without any modifications to my stack size.

jimmy 2020-09-29T20:28:11.181600Z

How are you running the code? I don't think I've modified my stack size and I have no problem.

noprompt 2020-09-29T20:28:21.181900Z

Let me know if you figure anything out, I’m going back and forth between parenting and looking at it. 😐

jimmy 2020-09-29T20:29:52.183Z

Nevermind if I run it in a fresh clj thing I do get the stackoverflow. Must have increase by stack size in cider.

noprompt 2020-09-29T20:32:23.183700Z

I just copy/pasted her example and tweaked the pattern to be

(m/scan (m/or (m/and ?b1 ?b2)
               (m/and ?b1 (m/or _ ?b2))))

noprompt 2020-09-29T20:33:57.184Z

It seems like has something to do with the new subsequence node.

noprompt 2020-09-29T20:42:15.184400Z

Nope.

noprompt 2020-09-29T20:42:36.184900Z

(_ ... (m/or (?b1 (m/or _))) . _ ...)
This is the smallest example I have so far.

noprompt 2020-09-29T21:05:41.186500Z

OK… I think it did have something to do with the new subsequence node.

noprompt 2020-09-29T21:08:36.187Z

It didn’t implement meander.syntax.epsilon/walk.

jimmy 2020-09-29T21:10:42.188500Z

We have a non-recur tail recursion in meander epsilon compile. Can't play with it right now. But that is some low hanging fruit to fix.

noprompt 2020-09-29T21:20:32.189300Z

Is anyone able to try bin/test on the branch corresponding to this PR? https://github.com/noprompt/meander/pull/142

noprompt 2020-09-29T21:21:10.190Z

CI says it passes but my local machine is failing on the cljs tests.