Visualization of syntax tree #17
HK-SHAO
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
YieldLang provides a way to get the entire call tree
YContextTree
from the string just generated. This will enable easy processing of the string. You can also get a simplified abstract syntax tree via theminify_ctx_tree
method. I tried to visualize the AST of a randomly generated string byJSONGenerator
using JSON Visualization Tools.JSON Visualization Tools:
Beta Was this translation helpful? Give feedback.
All reactions