Fork me on GitHub
#instaparse
<
2018-05-24
>
sova-soars-the-sora19:05:59

Hello again. I stumbled onto http://instaparse-live.matt.is/ and it's really awesome, I've been tinkering with it and with a repl-like feedback loop it's been pretty painless finding something that can parse logic like i need

sova-soars-the-sora19:05:18

But one thing I have noticed is that if there are parse variations, there may be multiple result parses

sova-soars-the-sora19:05:38

That pretty much encapsulates the nodes as I want to store them... i wonder if there is a cleaner or clearer representation for just & and | logic w/ parens

sova-soars-the-sora19:05:18

Sometimes, there are multiple valid interpretations, for example: (pardon the zoom level)...

sova-soars-the-sora19:05:16

It seems as though they are both perfectly valid so, maybe I can just use the first one of the result set

dave20:05:25

wow, i haven't seen this before. so cool!