You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I need to parse a string, transform the AST programmatically and unparse back to a string. Can better-parse do this?
edit: Found a similar project that supports the AST->String direction.
edit #2: This is based on a paper by Rendel & Ostermann (2010).
edit #3: Another project for Python. Implementation appears to be fairly lightweight.
edit #4: Two programming languages (TXL, Refal5) that support this kind of rewriting functionality.
Beta Was this translation helpful? Give feedback.
All reactions