compact-src.xml 1.5 KB

12345678910111213141516171819
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <?xml-stylesheet type="text/css" href="chapter.css"?><chapter id="compact.xml">
  3. <title>Compact syntax reference guide</title>
  4. <simplesect>
  5. <para>Compact syntax reference guide</para>
  6. </simplesect>
  7. <sect1>
  8. <title>Introduction</title>
  9. <para>This quick reference guide is following the formal description of the compact syntax described as an EBNF grammar in its documentation. Each definition of the EBNF grammar is documented and when these definitions include a long list of alternatives (such as it is the case for <literal>pattern</literal>, <literal>nameClass</literal> or <literal>literalSegment</literal>), each alternative is documented separately. The grammar from the specification has also been slightly simplified to suppress definitions which were used only once but its meaning has been kept unchanged. Note that this grammar is a summary which does not include the definition of annotations.</para>
  10. <para>Here is the full EBNF which has been used as a basis for this guide:</para>
  11. <get-ebnf/>
  12. <para>Note that this EBNF dooesn't capture the restrictions applied after simplification. The simplification process and restrictions are detailed in "Chapter 15: Simplification And Restrictions". The main restrictions are also mentioned for each element in this chapter in the section titled "Restrictions".</para>
  13. </sect1>
  14. <sect1>
  15. <title>EBNF production quick reference</title>
  16. <get-reference/>
  17. </sect1>
  18. </chapter>