Open drhumlen opened 4 years ago
I like this idea, I agree that large output becomes hard to scan. Alternating colors could be a decent first iteration. I'm intrigued by your "even cooler" idea, but not exactly sure what you mean.
I'm envisioning something like this where each part of the original expression is assigned an unique color, which is kept throughout each expansion step so that you can visually see which part becomes which part.
Ahh - I see - nice!
When the output gets large, it becomes really hard to see where each step starts and ends. Maybe if every other evaluation step had alternating colors or something it would be easier to spot? Or we could add a "----------" divisor line when the output is multiline.. Or even cooler: we could assign a color to each part of the expression and keep that color throughout the evaluation steps so that it's easy to spot which part of the expression evolves to what!