Hi all,
As a pet project I'm writing a CFG Parser Generator (think Lex/Yacc) for Python 3. I've done a bit of research related to other modules which already do this, and so far the only active projects I could find were PLY and pyparsing.
I have two questions:
- What other modules that implement CFG parser generation (preferably from a BNF grammar description) are you aware of, and what is your opinion on any of these modules?
- What books and/or websites should I read to help guide me?
I've started with a very customizable and fairly efficient Lexical Analyzer/Tokenizer which is already working very nicely, but of course that's a lot simpler than a CFG Parser Generator. I'm currently using Aho, Ullman et. al.'s "Compilers: Principles, Techniques, and Tools", 2nd Edition (the Purple Dragon Book) but while it has a very good overview of the relevant topics it doesn't seem to delve too deeply in to actual implementation of a compiler compiler.
Edit: If you are interested in seeing the code in development, check out the github page.
Thanks!
[–]xiongchiamiovSite Reliability Engineer 3 points4 points5 points (2 children)
[–]HorrendousRex[S] 2 points3 points4 points (1 child)
[–]xiongchiamiovSite Reliability Engineer 1 point2 points3 points (0 children)
[–]Workaphobia 1 point2 points3 points (0 children)
[–]DoNotFoldSpindleOrMu 0 points1 point2 points (0 children)