Describe Links (v0.8)

Grammar version 0.8 has to pass all the tests for Grammar versions 0.6 and 0.7 before passing the following:

Group A - basic functionality
A_basic1.ds - Some very simple list, with tags and links
A_basic2.ds - Some very simple list with 1 entry, with tags and links
A_basic3.ds - Some very simple list with 1 entry on the same line (in-lined production), with tags and links
A_basic4.ds - Some very simple list ending with a new line character, with tags and links
A_twoRoots.ds - Some very simple list with two root nodes, with tags and links

Group B - testing how comments work
B_comments1.ds - Some very simple list with a line comment (“//”), with tags and links, empty links
B_comments2.ds - Some very simple list with a line comment (“//”) and a commented out entry - delimited comment (/* … /), with tags and links, empty links
B_comments3.ds - Some very simple list with a line comment (“//”) and a commented out logic - multiple delimited comments (/
… */), with tags and links
B_comments4.ds - Some very simple list with 2 line comments (“//”), ending with a comment on a new line, with tags and links (there is an issue with the GOLD parsed engine that results in a runaway group if source file ends with a comment. We handle it during preprocessing though).
B_comments5.ds - Some very simple list with 2 line comments (“//”), ending with a comment on the same line, with tags and links (there is an issue with the GOLD parsed engine that results in a runaway group if source file ends with a comment. We handle it during preprocessing though).

Group C - the idea here is to test empty productions (without entries)
C_empty1.ds - Simple empty production, with tags and a link.
C_empty2.ds - Simple empty production, no spaces, with tags and a link.
C_empty3.ds - Simple empty production, with spaces and new lines, with tags and 2 links and an empty link.

Group D - testing escape sequences
D_escaped_double_characters1.ds - Testing escape sequence - escaped forward slash, with tags and an escaped square bracket.
D_cyrillic.ds - Some very simple list in Cyrillic, with Cyrillic tags and Cyrillic links. This is for testing the pre-processor, as the GOLD Parser can’t parse Cyrillic.

Group E - spaces, escapes and new lines
E_spaces_escapes_N.ds - Testing a combination of spaces, new lines and escape sequences, with tags. Linux style new lines (“\n”).
E_spaces_escapes_RN.ds - Testing a combination of spaces, new lines and escape sequences, with tags. Windows style new lines (“\r\n”).

Group F - productions
F_production_in_production1.ds - Production containing a child production as first child.
F_production_in_production2.ds - Production containing a child production as last child.
F_production_in_production3.ds - Production containing a child production as middle child.
F_production_in_production4.ds - Production containing 2 child productions as first and second child.
F_production_in_production5.ds - Production containing 2 child productions as last and next to last child.
F_production_in_production6.ds - Production containing a child production containing a child production.
F_production_in_production7.ds - Production containing a child production containing a child production as last.


Back