| 1 |
Grammar |
| 2 |
------- |
| 3 |
|
| 4 |
See `src/Language/Ding/HappyParser.y` for a grammar of the Ding source. |
| 5 |
|
| 6 |
The naming chosen in the grammer shall be used in all documentation, in |
| 7 |
particular *line*, *entry*, *group*, *unit*. |
| 8 |
|
| 9 |
In short: |
| 10 |
- The dictionary is composed of lines. |
| 11 |
- A line is composed of similar entries. |
| 12 |
- An entry is composed of a two groups, one for the German and one for the |
| 13 |
English part, which may be refered to as the left and the right group, |
| 14 |
respectively. |
| 15 |
- A group is composed of units which share a common translation. |
| 16 |
- It is usual for these units to be either a) synonyous or b) equal except |
| 17 |
for (annotated) gender or multiplicity. |
| 18 |
- A unit is a single word, expression or phrase that can be considered a key |
| 19 |
in the dictionary. |