diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-29 15:44:57 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-05-29 15:44:57 -0300 |
| commit | 03b9ed1601acfe323dc9b5360b8f2c2c972c8e04 (patch) | |
| tree | 72e33eec337b386e6d536f128da03a9d4f2f12fe /data/seniordesign/dbdata.gram | |
| parent | d22367abbb07f020dfb387032e9b72a040a170f5 (diff) | |
| parent | 0faa5175b6f0de8835ed514615ac64135f406b29 (diff) | |
Merge branch 'working'
Diffstat (limited to 'data/seniordesign/dbdata.gram')
| -rwxr-xr-x | data/seniordesign/dbdata.gram | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/data/seniordesign/dbdata.gram b/data/seniordesign/dbdata.gram new file mode 100755 index 0000000..04938ad --- /dev/null +++ b/data/seniordesign/dbdata.gram @@ -0,0 +1,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] [letter] [0..9] [0..9] + +pragma despace-rule [section-code] +pragma export-rule [section-code] |
