| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE chapter SYSTEM "docbook-dtd-45/docbookx.dtd"> |
| 3 |
|
| 4 |
<chapter id="drafts"> |
| 5 |
<title>Drafting Board</title> |
| 6 |
|
| 7 |
<para> |
| 8 |
Things that are planned but not yet implemented or not yet fully functional. |
| 9 |
</para> |
| 10 |
|
| 11 |
<section id="draft-match"> |
| 12 |
<title>MATCH</title> |
| 13 |
<indexterm> |
| 14 |
<primary>MATCH</primary> |
| 15 |
</indexterm> |
| 16 |
<screen> |
| 17 |
[wordform] MATCH <target> [contextual_tests] ; |
| 18 |
</screen> |
| 19 |
<para> |
| 20 |
Used for tracing and debugging, it will not alter the readings but will gather |
| 21 |
information on why it matched, specifically what cohorts that fulfilled the tests. |
| 22 |
Those numbers will be output in a format yet to be determined. Something along the |
| 23 |
lines of M:548:1,3,4;2,1;9,9 where the numbers are absolute offsets within the window, |
| 24 |
first cohort being the 1st one (0th cohort is the magic >>>). |
| 25 |
As such, 1,3,4 would denote that the first contextual test looked at |
| 26 |
cohorts 1, 3, and 4 to validate itself, but not at cohort 2 (this can easily |
| 27 |
happen if you have a (2 ADV LINK 1 V) test or similar). This reveals a great deal |
| 28 |
about how the rule works. |
| 29 |
</para> |
| 30 |
</section> |
| 31 |
|
| 32 |
<section id="draft-execute"> |
| 33 |
<title>EXECUTE</title> |
| 34 |
<indexterm> |
| 35 |
<primary>EXECUTE</primary> |
| 36 |
</indexterm> |
| 37 |
<screen> |
| 38 |
[wordform] EXECUTE <anchor_name> <anchor_name> <target> [contextual_tests] ; |
| 39 |
</screen> |
| 40 |
<para> |
| 41 |
These rules will allow you to mark named anchors and jump to them based on a context. |
| 42 |
In this manner you can skip or repeat certain rules. JUMP will jump to a location in |
| 43 |
the grammar and run rules from there till the end (or another JUMP which sends it to |
| 44 |
a different location), while EXECUTE will run rules in between the two provided ANCHORs |
| 45 |
and then return to normal. |
| 46 |
</para> |
| 47 |
</section> |
| 48 |
|
| 49 |
</chapter> |