Hydrocarbonator
A lexer and parser for hydrocarbons, built around SMILES notation. Given a SMILES string it produces the parsed structure, which makes it a practical way to reason about organic molecules in code rather than by hand.
Running the parser over a handful of compounds is the quickest way to see how much of SMILES a naive implementation can cover before the edge cases start to bite.
Curious? Get the Details ↗