Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/rxm.git

Updated grammar to allow for element paths with multiple slashes.

AuthorDave Jarvis <email>
Date2015-03-18 22:08:47 GMT-0700
Commit1c0e1f984f806b9828c3622829e69e99467264a0
Parent4540e14
source/grammar/Query.g
attribute : T_AT T_ID ;
element : T_ID ;
-elementPath : element T_SLASH element ;
+elementPath : element (T_SLASH element)* ;
path : element | elementPath;
test/people.rxm
.birthday > @born,
.first_name > first,
-.last_name > name/last,
-account.person_id +> person.id,
+.last_name > name/last/family/ancestry,
account > account,
+account.person_id +> person.id,
.id > @id,
^,
Delta3 lines added, 3 lines removed