Brace expansion: Difference between revisions

m
Verbage
(Added zkl)
m (Verbage)
Line 1,614:
 
=={{header|zkl}}==
This is a two pass algorithm (2*length(string)), one pass to find valid {} pairs, the next pass to expand them.
<lang zkl>fcn eyeball(code,ps=L(),brace=False){ //-->indexes of valid braces & commas
cs:=L();
Anonymous user