01/09/2020, 11:33 PM
What are some good resources for quickly getting a good intuition for abstract syntax trees and parsers? Ideally hands-on with Python
Edward de Jong / Beads Project

Edward de Jong / Beads Project

01/10/2020, 8:29 AM
There are the books by Prof. Wirth which cover recursive descent compiler construction (he used it for Pascal, Modula-2, Oberon), and then there are some great YouTube lectures by Douglas Crockford
Shubhadeep Roychowdhury

Shubhadeep Roychowdhury

01/10/2020, 10:24 AM
Try this - https://greentreesnakes.readthedocs.io/en/latest/ Even Python's official AST doc will point you to this. Apart from that if you have very specific query please reach out to me. I am working in this domain extensively. I have also looked and worked with tree-sitter and bblfish (by source-d) So I can tell you one thing or two about this
10:28 AM
Also for more rigorous intro and ideas please look into Dragon Book (Aho, Compiler Design) chapter 2 a bit as well. Apart from that @Edward de Jong / Beads Project had already mentioned some other great resources.

Garth Goldwater

01/12/2020, 7:43 AM
not super experienced with python but would imagine http://pythontutor.com/ to be a good starting point if you haven’t already checked it out