Major overhaul of the parsing of disjunct expressions

... which it turns out have NEVER worked, and badly written tests were masking the problem. Also tagging rules with metadata as first step towards mixing production and flow rules.
This commit is contained in:
Simon Brooke 2023-07-12 20:31:07 +01:00
parent fb39f1ee9c
commit 256f9efd5e
16 changed files with 4997 additions and 778 deletions

View file

@ -91,37 +91,37 @@
</tr>
<tr>
<td><a href="mw_parser/generate.clj.html">mw-parser.generate</a></td><td class="with-bar"><div class="covered"
style="width:79.65179542981501%;
float:left;"> 732 </div><div class="not-covered"
style="width:20.348204570184983%;
float:left;"> 187 </div></td>
<td class="with-number">79.65 %</td>
style="width:75.6989247311828%;
float:left;"> 704 </div><div class="not-covered"
style="width:24.301075268817204%;
float:left;"> 226 </div></td>
<td class="with-number">75.70 %</td>
<td class="with-bar"><div class="covered"
style="width:79.42857142857143%;
float:left;"> 139 </div><div class="partial"
style="width:3.4285714285714284%;
style="width:75.67567567567568%;
float:left;"> 140 </div><div class="partial"
style="width:3.2432432432432434%;
float:left;"> 6 </div><div class="not-covered"
style="width:17.142857142857142%;
float:left;"> 30 </div></td>
<td class="with-number">82.86 %</td>
<td class="with-number">318</td><td class="with-number">32</td><td class="with-number">175</td>
style="width:21.08108108108108%;
float:left;"> 39 </div></td>
<td class="with-number">78.92 %</td>
<td class="with-number">328</td><td class="with-number">24</td><td class="with-number">185</td>
</tr>
<tr>
<td><a href="mw_parser/simplify.clj.html">mw-parser.simplify</a></td><td class="with-bar"><div class="covered"
style="width:79.12087912087912%;
float:left;"> 72 </div><div class="not-covered"
style="width:20.87912087912088%;
float:left;"> 19 </div></td>
<td class="with-number">79.12 %</td>
style="width:85.81560283687944%;
float:left;"> 121 </div><div class="not-covered"
style="width:14.184397163120567%;
float:left;"> 20 </div></td>
<td class="with-number">85.82 %</td>
<td class="with-bar"><div class="covered"
style="width:76.0%;
float:left;"> 19 </div><div class="partial"
style="width:4.0%;
float:left;"> 1 </div><div class="not-covered"
style="width:20.0%;
style="width:82.05128205128206%;
float:left;"> 32 </div><div class="partial"
style="width:5.128205128205129%;
float:left;"> 2 </div><div class="not-covered"
style="width:12.820512820512821%;
float:left;"> 5 </div></td>
<td class="with-number">80.00 %</td>
<td class="with-number">84</td><td class="with-number">7</td><td class="with-number">25</td>
<td class="with-number">87.18 %</td>
<td class="with-number">91</td><td class="with-number">6</td><td class="with-number">39</td>
</tr>
<tr>
<td><a href="mw_parser/utils.clj.html">mw-parser.utils</a></td><td class="with-bar"><div class="covered"
@ -140,9 +140,9 @@
</tr>
<tr><td>Totals:</td>
<td class="with-bar"></td>
<td class="with-number">89.47 %</td>
<td class="with-number">88.29 %</td>
<td class="with-bar"></td>
<td class="with-number">92.25 %</td>
<td class="with-number">90.99 %</td>
</tr>
</table>
</body>