You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whittle::ParseError: Parse error: expected one of :$end, "[" but got :move_number_indication on line 1.
1. e4 a6 2. Bc4 a5 3. Ne2 a4 4. O-O Ra7
^ ... occurred here
Well, the Seven Tag Roster tags aren't actually optional, although parsers should in general choose to be lax about stuff like that. See Wikipedia.
However, I agree that this gem seems to take a weird middle ground. Either it should require all seven STR tags, or not have any tag requirements at all. It seems strange that it needs the "Event" tag, of all tags (although I guess it just needs any arbitrary tag to be present).
Hi!
The gem (v0.2.0) seems unable to parse PGNs without headers, which seem optional.
Does not parse:
Error:
Parses:
The text was updated successfully, but these errors were encountered: