-
Notifications
You must be signed in to change notification settings - Fork 8
/
pet.tdl
68 lines (50 loc) · 1.03 KB
/
pet.tdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
;;; -*- Mode: TDL; Package: DISCO -*-
;;;
;;; $Id: pet.tdl,v 1.2 2008-05-23 01:44:21 sfd Exp $
;;;
:begin :type.
;;
;; type hierarchy
;;
:include "head-types".
:include "matrix".
:include "mtr".
:include "tmt".
:end :type.
:begin :instance :status token-mapping-rule.
:include "../../tmr/prelude".
:include "../../tmr/pos".
:include "../../tmr/pos-ipa".
:include "../../tmr/finis".
:end :instance.
;;
;; lexicon entries (instances of status lex-entry or generic-lex-entry)
;;
:begin :instance :status lex-entry.
:include "lexicon".
:end :instance.
:begin :instance :status generic-lex-entry.
:include "gle".
:end :instance.
;;
;; grammar rules and lexical rules (instances of status rule)
;;
:begin :instance :status rule.
:include "rules".
:end :instance.
:begin :instance :status lex-rule.
:include "lrules".
:include "irules".
:end :instance.
;;
;; parse-tree labels (instances)
;;
:begin :instance.
:include "labels".
:end :instance.
;;
;; start symbols of the grammar (instances)
;;
:begin :instance.
:include "roots".
:end :instance.