summaryrefslogtreecommitdiff
path: root/RGens/data/seniordesign/dbdata.gram
blob: 556743834056e5104b6a14791c89538807c9ac59 (plain)
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
[user-role] student
	student
	student
	student
	student
	tutor
	tutor
	tutor
	tutor
	staff
	staff
	staff
	admin
	admin
	sysadmin

pragma export-rule [user-role]

[dept-id] [synth+deptid]

[real-deptid] CSIS
	MATH
	ENGL
	PHYS
	CHEM
	PSYC

pragma export-rule [dept-id]

[synth+deptid] [letter]

pragma suffix-with [synth+deptid] [letter]
pragma suffix-with [synth+deptid] [letter]
pragma suffix-with [synth+deptid] [letter]

[user-idno] [act-user+idno]

pragma export-rule [user-idno]

[act-user+idno] 800 [idno-chain]
	700 [idno-chain]

[idno-chain] [digit] [digit] [digit] [digit] [digit] [digit]

[term-code] [2000..2040] 0 [1..9]
	[2000..2040] [10..12]

pragma despace-rule [term-code]
pragma export-rule [term-code]

[section-code] [0..9] [0..9]

pragma despace-rule [section-code]
pragma export-rule [section-code]