eliben / pycparser

:snake: Complete C99 parser in pure Python
Other
3.24k stars 609 forks source link

Beautify Node.show() for parse tree printing #518

Closed Dob-The-Duilder closed 7 months ago

Dob-The-Duilder commented 1 year ago

Rather than just indents, use an actual tree structure for better displaying syntax trees.

Before image

After: image

Dob-The-Duilder commented 1 year ago

My mistake. Change has now been made in the _ast_gen.py file.

eliben commented 1 year ago

Tests are failing

eliben commented 1 year ago

Added some more minor comments; also - all the tests fail on CI, please fix