Some grammars used for testing the ambiguity analyzer:
Small test grammars:
- palindromes.cfg (unambiguous)
- reverse.cfg (unambiguous)
- exp.cfg (unambiguous1)
- java-exp.cfg (unambiguous1)
- odd-even.cfg (unambiguous)
- h-amb.cfg (1 horizontal ambiguity)
- v-amb.cfg (1 vertical ambiguity)
- R.cfg (unambiguous)
- g1.cfg (5 vertical ambiguities, 1 horizontal ambiguity1)
- g2.cfg (6 vertical ambiguities, 1 horizontal ambiguity1)
- g3.cfg (unambiguous1)
- g4.cfg (unambiguous1)
- g5.cfg (unambiguous1)
- g6.cfg (unambiguous1)
- g7.cfg (unambiguous2)
- g8.cfg (unambiguous2)
- basepairs.cfg (unambiguous)
- voss-light.cfg (unambiguous2)
- voss.cfg (unambiguous3)
- s1.cfg (1 vertical ambiguity, 2 horizontal ambiguities)
- s2.cfg (unambiguous)
- s3.cfg (unambiguous)
- s4.cfg (1 vertical ambiguity)
- s5.cfg (unambiguous*)
- s6.cfg (unambiguous)
- s7.cfg (unambiguous*)
- 01_05_076.cfg (1 horizontal ambiguity1)
- 03_01_011.cfg (1 horizontal ambiguity)
- 03_02_124.cfg (unambiguous)
- 03_05_170.cfg (1 vertical ambiguity, 1 horizontal ambiguity)
- 03_09_027.cfg (unambiguous)
- 03_09_081.cfg (unambiguous)
- 04_02_041.cfg (unambiguous)
- 04_11_047.cfg (1 vertical ambiguity + some potential?)
- 05_03_092.cfg (unambiguous)
- 05_03_114.cfg (unambiguous)
- 05_06_028.cfg (2 horizontal ambiguites2)
- 06_10_036.cfg (1 vertical ambiguity1)
- 90_10_042.cfg (unambiguous)
- 91_08_014.cfg (2 vertical ambiguities + some potential?)
- 98_05_030.cfg (unambiguous1)
- 98_08_215.cfg (unambiguous)
- java_arrays.cfg (unambiguous)
- java_casts.cfg (unambiguous)
- java_modifiers.cfg (unambiguous)
- java_names.cfg (unambiguous)
1, 2, 3) the grammar unfolding feature can be used to increase analysis precision: the marks 1,2,3 correspond to the levels of unfolding needed in the examples to get best precision
*) ambiguity analyzer reports spurious potential ambiguity warnings in these cases