Seams, like grammar engine is a cool thing, but I am not getting it.
I've read descriptions and readmes about both libraries that You've suggested, but the only thing that I can find, is that they are for source code parcing.
Looked at term "grammar engine" on the inet and on wikipedia. Found nothing useful, and pretty much the same, as what I've said above.
How is it compared to regex?
I looked at demos and documentation of that lib. It was over my head. I didn't understand anything.
Tried to do some more searches about grammar engine on various search engines and tech portals, but didn't find any sane explanation of what it is, how it works and what it's used for. I just can't figure out, how it works and how I can utilize it.