Posted By:
Lori_Twehues
Posted On:
Tuesday, November 27, 2001 11:43 AM
Following is the grammar to parse genomic location text. Examples include "565", "5..6", "join(5.8..98)". The parser appears to work except it generates line1: unexpected token: errors It then proceeds to complete the parse correctly. Any ideas? function : "complement" | "order" | "join" ; location : local_location | function OP location ( COMMA location) * CP ; local_location : base_position | between_position | base_range ; base_position : INTEGER
More>>
Following is the grammar to parse genomic location text.
Examples include "565", "5..6", "join(5.8..98)".
The parser appears to work except it generates line1: unexpected token: errors
It then proceeds to complete the parse correctly. Any ideas?
function : "complement"
| "order"
| "join"
;
location : local_location
| function OP location ( COMMA location) * CP
;
local_location : base_position
| between_position
| base_range
;
base_position : INTEGER
| LOW_BASE
| HIGH_BASE
| BOUNDED_POSITION
;
between_position : INTEGER BETWEEN INTEGER;
base_range : INTEGER DOTDOT INTEGER;
Thanks
<<Less