Comment by dalke
1 day ago
I see you include the dot disconnect "." as part of the Bond definition.
You also define Chain as:
Chain <<= pp.Group(pp.Optional(Bond) + pp.Or([Atom, RingClosure]))
I believe this means your grammar allows the invalid SMILES C=.N
No comments yet
Contribute on Hacker News ↗