EladB1 / swervec

Toy compiler/interpreter for learning
0 stars 0 forks source link

TODO: ParseTree JSON representation #3

Closed EladB1 closed 1 year ago

EladB1 commented 1 year ago

Make a utility for testing that allows you to transform a JSON representation of a ParseTree into an actual ParseTree. Use the utility to make it easier to check for equality.

EladB1 commented 1 year ago

No longer need to use JSON to do this; created methods that make creating trees slightly easier (commit: ad7af0d). Will re-open if it becomes difficult to maintain that approach.