Not a puzzle exactly.
Q. Are you familiar with curly bracket matching in vi editor?
(FYI: you may use % to find matching curly brackets)
implement this feature in 'your own' editor.
[you may even give a single-WORD-answer :-]
To simplify the question...
imagine a text with curly brackets like the following
"{{}{{}{}}{}}"
Input/output:
2nd curly matches with 3rd
1st curly with last one
4th with 9th
Now start writing the program.
posted by yetanother.softwarejunk #
2:38 PM