This grammar is LALR(1)
Number of Rules 15
Number of Terminals 50
Number of Lr0 States95
Number of La States0
Accept ::= messages
messages ::= (message '0* ')+
message ::= Type19ExtendedClassBCSPositionReport
message ::= Type18StandardClassBCSPositionReport
message ::= Type4BaseStationReport
message ::= Type5StaticAndVoyageRelatedData
message ::= CommonNavigationBlock
Type19ExtendedClassBCSPositionReport ::= type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport ::= type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport ::= type4 repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData ::= type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock ::= type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
type1-3 = '000001|000010|000011'
type19 = '010011'
CommonNavigationBlock Gt/Rd 9
Type5StaticAndVoyageRelatedData Gt/Rd 8
Type4BaseStationReport Gt/Rd 7
Type18StandardClassBCSPositionReport Gt/Rd 6
Type19ExtendedClassBCSPositionReport Gt/Rd 5
(message '0* ')+ Goto 9
(message '0* ') Gt/Rd 2
Eof Reduce 0
(message '0* ')->message .'0*\n'
'0*\n' Sh/Rd 4
Type19ExtendedClassBCSPositionReport->type19 .repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 .repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 .repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 .repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 .repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
messages->(message '0* ')+ . (1)
(message '0* ')+->(message '0* ')+ .(message '0* ')
messages->(message '0* ')+ . (1)
(message '0* ') Gt/Rd 3
CommonNavigationBlock Gt/Rd 9
Type5StaticAndVoyageRelatedData Gt/Rd 8
Type4BaseStationReport Gt/Rd 7
Type18StandardClassBCSPositionReport Gt/Rd 6
Type19ExtendedClassBCSPositionReport Gt/Rd 5
Eof Reduce 1
Type19ExtendedClassBCSPositionReport->type19 repeat .mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat .mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat .mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat .mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat .mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi .reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi .reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi .year month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi .ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
ais_version Shift 23
CommonNavigationBlock->type1-3 repeat mmsi .status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved .speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved .speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year .month day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version .imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status .turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed .accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed .accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month .day hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo .callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn .speed accuracy lon lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy .lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy .lon lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day .hour minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign .shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed .accuracy lon lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon .lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon .lat course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour .minute second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname .shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy .lon lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat .course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat .course heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute .second accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype .to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon .lat course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course .heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course .heading second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second .accuracy lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow .to_stern to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat .course heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading .second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading .second regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy .lon lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern .to_port to_starboard epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course .heading second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second .regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second .regional cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon .lat epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port .to_starboard epfd month day hour minute draught destination dte '[01]{1}'
to_starboard Shift 63
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading .second maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional .shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional .cs display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat .epfd '[01]{10}' raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard .epfd month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second .maneuver '[01]{3}' raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname .shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs .display dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat epfd .'[01]{10}' raim radio
'[01]{10}' Shift 72
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd .month day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver .'[01]{3}' raim radio
'[01]{3}' Shift 74
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype .to_bow to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display .dsc band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' .raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month .day hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' .raim radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow .to_stern to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc .band msg22 assigned raim radio
Type4BaseStationReport->type4 repeat mmsi year month day hour minute second accuracy lon lat epfd '[01]{10}' raim .radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day .hour minute draught destination dte '[01]{1}'
CommonNavigationBlock->type1-3 repeat mmsi status turn speed accuracy lon lat course heading second maneuver '[01]{3}' raim .radio
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern .to_port to_starboard epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band .msg22 assigned raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour .minute draught destination dte '[01]{1}'
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port .to_starboard epfd raim dte assigned '[01]{4}'
to_starboard Shift 86
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 .assigned raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute .draught destination dte '[01]{1}'
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard .epfd raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned .raim radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught .destination dte '[01]{1}'
destination Shift 91
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd .raim dte assigned '[01]{4}'
Type18StandardClassBCSPositionReport->type18 repeat mmsi reserved speed accuracy lon lat course heading second regional cs display dsc band msg22 assigned raim .radio
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination .dte '[01]{1}'
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim .dte assigned '[01]{4}'
Type5StaticAndVoyageRelatedData->type5 repeat mmsi ais_version imo callsign shipname shiptype to_bow to_stern to_port to_starboard epfd month day hour minute draught destination dte .'[01]{1}'
'[01]{1}' Sh/Rd 13
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte .assigned '[01]{4}'
Type19ExtendedClassBCSPositionReport->type19 repeat mmsi reserved speed accuracy lon lat course heading second regional shipname shiptype to_bow to_stern to_port to_starboard epfd raim dte assigned .'[01]{4}'
'[01]{4}' Sh/Rd 10
message ==>> { type19 type18 type4 type5 type1-3}
Type18StandardClassBCSPositionReport ==>> { type18}
Type4BaseStationReport ==>> { type4}
Type19ExtendedClassBCSPositionReport ==>> { type19}
(message '0* ') ==>> { type19 type18 type4 type5 type1-3}
Type5StaticAndVoyageRelatedData ==>> { type5}
(message '0* ')+ ==>> { type19 type18 type4 type5 type1-3}
messages ==>> { type19 type18 type4 type5 type1-3}
CommonNavigationBlock ==>> { type1-3}
Accept ==>> { type19 type18 type4 type5 type1-3}
message ==>> { CommonNavigationBlock Type5StaticAndVoyageRelatedData Type4BaseStationReport Type18StandardClassBCSPositionReport Type19ExtendedClassBCSPositionReport}
Type18StandardClassBCSPositionReport ==>> {}
Type4BaseStationReport ==>> {}
Type19ExtendedClassBCSPositionReport ==>> {}
(message '0* ') ==>> { Type19ExtendedClassBCSPositionReport Type18StandardClassBCSPositionReport Type4BaseStationReport Type5StaticAndVoyageRelatedData CommonNavigationBlock message}
Type5StaticAndVoyageRelatedData ==>> {}
(message '0* ')+ ==>> { message CommonNavigationBlock Type5StaticAndVoyageRelatedData Type4BaseStationReport Type18StandardClassBCSPositionReport Type19ExtendedClassBCSPositionReport ?{message,'0* '}}
messages ==>> { ?{message,'0* '} Type19ExtendedClassBCSPositionReport Type18StandardClassBCSPositionReport Type4BaseStationReport Type5StaticAndVoyageRelatedData CommonNavigationBlock message ?{message,'0* '}?}
CommonNavigationBlock ==>> {}
Accept ==>> { ?{message,'0* '}? message CommonNavigationBlock Type5StaticAndVoyageRelatedData Type4BaseStationReport Type18StandardClassBCSPositionReport Type19ExtendedClassBCSPositionReport ?{message,'0* '} messages}
message ==>> false
Type18StandardClassBCSPositionReport ==>> false
Type4BaseStationReport ==>> false
Type19ExtendedClassBCSPositionReport ==>> false
(message '0* ') ==>> false
Type5StaticAndVoyageRelatedData ==>> false
(message '0* ')+ ==>> false
messages ==>> false
CommonNavigationBlock ==>> false
Accept ==>> false