Closed jalanmiddleton closed 8 years ago
So right now I have a bunch of text-based hierarchies that look a bit like this:
0.SUM() (1460) ....Argument #1 1.....<RANGE> (1427) 1.....<REF> (20) 1.....+ (13) ........Argument #1 2.........<REF> (9) 2.........* (2) ............Argument #1 3.............<REF> (2) ............Argument #2 3.............<NUM> (2) 2.........+ (2) ............Argument #1 3.............<REF> (2) ............Argument #2 3.............<REF> (2) ........Argument #2 2.........<REF> (11) 2.........* (2) ............Argument #1 3.............<REF> (2) ............Argument #2 3.............<NUM> (2) ....Argument #2 1.....<REF> (20) ....Argument #3 1.....<REF> (20) <etc>
...which in this current form is a total bummer from a readability perspective and useless from a portability perspective.
So! It needs to be changed to something better. It's form should be something tailored for #1 -- maybe a JSON representation?
With bb714b8ce2bf1f44843944fd207aea2309f5009d, all trees can be represented in JSON.
So right now I have a bunch of text-based hierarchies that look a bit like this:
...which in this current form is a total bummer from a readability perspective and useless from a portability perspective.
So! It needs to be changed to something better. It's form should be something tailored for #1 -- maybe a JSON representation?