Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Show HN: Python AST explorer
(opens in new tab)
(python-ast-explorer.com)
5 points
maligree
9y ago
4 comments
Save
Share
4 comments
4 comments · 2 top-level
top
newest
oldest
poseid
9y ago
· 2 in thread
nice user interface - how do you wrap pyhton's grammar in the browser ?
maligree
OP
9y ago
Hey, thanks! There's actually a lot of the stock react-create-app CSS in there.
As for the parsing, it's done on the back-end, front simply fetches an AST every time input changes.
poseid
9y ago
ok, thanks, i was asking since i was playing with simple ASTs myself here
http://embeddednodejs.com/compiler/
teaearlgraycold
9y ago
Would be nice to have an option to display the AST as a formatted S-expression IMO.
j
/
k
navigate · click thread line to collapse