source: proto/matchparens/README.txt @ 4373

Last change on this file since 4373 was 3027, checked in by cameron, 6 years ago

PDF-style parenthesis matching prototypes including Pablo compilable.

File size: 733 bytes
Line 
1These prototypes demonstrate parenthesis matching with bitstreams.
2
3Files with proper matching: t1 t2 t3 t4
4Files with errors: e1 e2 e3 e4 e5
5
6(1) Demonstrate parenthesis matching algorithm with callout levels.
7
8python parenmatch.py <file>
9
10(2) Demonstrate parenthesis matching algorithm without levels.
11
12python parenmatch2.py <file>
13
14(3) Demonstrate parenthesis matching for PDF (without % comments).
15      (a) determine errors
16      (b) determine "instring" mask, i.e., all positions within
17          top-level parentheses.
18
19python pdfparenmatch.py <file>
20
21(3A) Demonstrate compilation of parenthesis matching for PDF.
22     (Using the new -W mode of the Pablo compiler - 2013-04-15).
23
24PABLO_FLAGS=-W make -e
25./matchparens <file>
26
27
Note: See TracBrowser for help on using the repository browser.