address = enrol_addr '@enrol.program'
enrol_addr = enrol_spec {options} [back_ref]
enrol_spec = enrol_spec '.' enrol_spec '.' binaryop
| enrol_spec '.' unaryop
| [ yrsess '.' ] ( course | plan | program )
binaryop = 'and' | 'or' | 'sub' # requires two preceeding operands
unaryop = 'not' # requires one preceeding operand
yrsess = year session
| 'curr' | 'next' | 'prev'
year = num{4} # eg: 2008
session = ('s'|'x') ('1'|'2') # eg: s2
course = unit courseno
| 'course=' prefix
| coursefield '=' alphanum+
| 'hons' | 'csecourse' # course shortcuts
| 'yr1' | 'yr2' | 'yr3' | 'yr4' # course shortcuts
courseno = num{1..4} # one to four course numbers
# eg: 1091, 109, 10, 1
coursefield = 'type'|'id'|'school'|'lec'|'lab'|'tut'|'tlb'
plan = unit [plan_id]
| 'plan=' prefix
| 'cse' | 'pv' # plan shortcuts
plan_id = alpha [ alphanum num{0..5} ] # eg: A13645, AM3, A
program = prog_no
| 'program=' prefix
| 'ug' | 'pgc' | 'pgr' | 'phd' # program shortcuts
prog_no = num{1..4} # one to four program numbers
# eg: 3645, 364, 36, 3
unit = alpha{4} # four alphabetics
# eg: COMP, SENG, BINF, SOLA, MATH
options = addr_option | list_option
addr_option = '-unsw' | '-cse' # default: '-cse'
list_option = '-addr' | '-regno' # default:
none
back_ref = '.alias=' mlalias_name
alpha = 'A'..'Z' # any alphabetic character
num = '0'..'9' # any numeric character
alphanum = alpha | num # any alphanumeric
Shortcut | Description | Equivalent |
---|---|---|
hons | Enrolled in an undergraduate honours course | COMP491.COMP493.or. SENG491.BINF491.or. BIOM592.BIOM595.BIOM596.BIOM597.or.or.or. or.or |
csecourse | Enrolled in any course run by CSE. (ie: Any course controlled by the 'COMP' organisational unit) | SCHOOL=COMP |
yrN | Enrolled in a year N CSE course | COMPn.SENGn.BINFn.or.or |
Shortcut | Description | Equivalent |
---|---|---|
phd | Enrolled in a PhD program | 1 |
pgr | Enrolled in a postgraduate research program | 2 |
pgc | Enrolled in a postgraduate coursework program | 5.6.7.8.9.or.or.or.or |
ug | Enrolled in an undergraduate program | 3.4.or |
Shortcut | Description | Equivalent |
---|---|---|
cse | Enrolled in a CSE plan | COMP.SENG.BINF.or.or |
pv | Enrolled in a PV plan | SOLA |