Open wbclark opened 7 months ago
I didn't see this issue until about now. My mail was flooded by notifications from sd-webui-forge.
This looks really good but it will be hard to make it work with lark. I appreciate the attempt at this, and if you ever get it to work it would be a very good contribution!
Cool, I'll carve out some time to see if I can make an actually working implementation.
In #55 we discussed a need to re-write the parser code to be more maintainable. I recommend that we could do this with https://github.com/lark-parser/lark
To demo what this could roughly look like, I tried out the below approach:
It's not exactly correct yet! Right now this parses the example string as
As you can see, this is incorrect in about a dozen different ways right now. But I thought it best to get your input before I try to go any further with it, in case you prefer going a different direction.