4 ms·
No reason it can't be preprocessed. It should be a straight 1:1 translation between indentation depth to an opening/closing brace (a simple push-down automaton.
by mahmud 18y ago
No reason it can't be preprocessed. It should be a straight 1:1 translation between indentation depth to an opening/closing brace (a simple push-down automaton.)
[Edit: he chose to go with begin/end; let's call this a Ruby That Doesnt' Suck]