3 ms·
"Come up with a better way of representing an Abstract Syntax Tree in text, please" You could use type size, with operators one point larger than their operand
by tzs 17y ago
"Come up with a better way of representing an Abstract Syntax Tree in text, please"
You could use type size, with operators one point larger than their operands. The nice thing is that this would discourage nesting things too deeply.