Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 373 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 373 Bytes

SMILES PEG

A tiny package that parses SMILES strings to an abstract syntax tree. Taken from the parser from smilesDrawer.

Example usage:

import parse from 'smiles-peg';

const tree = parse('c1ccccc1');

Opening this package with VS Code/MacOS will result in 100% CPU usage. Sublime Text is a good alternative.