Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more progress on the new SMILES parser:
* smiles3 picks up atom from CL, not chem * smiles3 shadows chem:parse-smiles-string * add orientation slot to smiles-atom * make the hydrogen count itself optional, not the H (well, <hydrogen-count> is still an optional choice, but not the H itself in <hydrogen-count>, which was matching empty input * use backtracking forms in charge -- not sure if this is necssary, but a more principled approach to figure out where we don't need to backtrack is called for in general * add <orientation> and <bracket-modifier> * use new bracket modifiers and do some validation on them for charge, hydrogen count and orientation * add make-load-forms -- revisit this!
- Loading branch information
Showing
1 changed file
with
75 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters