instaparse

If you're not trampolining your parser, why bother getting up in the morning?
Empperi 2017-12-18T12:24:33.000247Z

@aengelberg definitely not sure if cfg/ebnf is the correct thing but it looks like it provides the necessary data. Not in the format that would be optimal but I think I can kinda do some kind of functionality based on it. For now, I’m mostly happy if I can find the string literals which can go in and I can ignore regexp literals and other more complex stuff. So, basically I do this recursive algorithm which retrieves elements from the combinatioral tree until it finds :string

Empperi 2017-12-18T12:24:44.000285Z

best I can come up with as it is now