Metamolecular

Metamolecular

Smidge: The Lightweight SMILES Parser

Smidge parses SMILES strings into a sequence of tokens representing atoms, bonds, ring closures, and branches. Although Smidge does not generate an in-memory molecule object, it could be used within a larger system that does. Smidge is written in 100% JavaScript and was auto-generated from a PEG grammar based on the OpenSMILES specification