SMILES: Atom Chain Branch SMILES ::= Atom ( Chain | Branch )* referenced by: Branch Chain: Bond Atom RingClosure Chain ::= ( Bond? ( Atom | RingClosure ) )+ referenced by: SMILES Branch: ( Bond SMILES ) Branch ::= '(' Bond? SMILES+ ')' referenced by: SMILES Atom: OrganicSymbol AromaticSymbol AtomSpec * Atom ::= OrganicSymbol | AromaticSymbol | AtomSpec | '*' referenced by: Chain SMILES Bond: - = # $ : / \ . Bond ::= '-' | '=' | '#' | '$' | ':' | '/' | '\' | '.' referenced by: Branch Chain AtomSpec: [ Isotope se as AromaticSymbol ElementSymbol * ChiralClass HCount Charge Class ] AtomSpec ::= '[' Isotope? ( 'se' | 'as' | AromaticSymbol | ElementSymbol | '*' ) ChiralClass? HCount? Charge? Class? ']' referenced by: Atom OrganicSymbol: B r C l N O P S F I OrganicSymbol ::= 'B' 'r'? | 'C' 'l'? | 'N' | 'O' | 'P' | 'S' | 'F' | 'I' referenced by: Atom AromaticSymbol: b c n o p s AromaticSymbol ::= 'b' | 'c' | 'n' | 'o' | 'p' | 's' referenced by: Atom AtomSpec ElementSymbol: [A-Z] [a-z] ElementSymbol ::= [A-Z] [a-z]? referenced by: AtomSpec RingClosure: % [1-9] [0-9] RingClosure ::= ( '%' [1-9] )? [0-9] referenced by: Chain ChiralClass: @ @ TH AL [1-2] SP [1-3] TB 1 [0-9] 2 0 [3-9] OH 1 2 [0-9] 3 0 [4-9] ChiralClass ::= ( '@' ( '@' | ( 'TH' | 'AL' ) [1-2] | 'SP' [1-3] | 'TB' ( '1' [0-9]? | '2' '0'? | [3-9] ) | 'OH' ( ( '1' | '2' ) [0-9]? | '3' '0'? | [4-9] ) )? )? referenced by: AtomSpec Charge: - - 0 [2-9] 1 [0-5] + + 0 [2-9] 1 [0-5] Charge ::= '-' ( [-02-9] | '1' [0-5]? )? | '+' ( [+02-9] | '1' [0-5]? )? referenced by: AtomSpec HCount: H [0-9] HCount ::= 'H' [0-9]? referenced by: AtomSpec Class: : [0-9] Class ::= ':' [0-9]+ referenced by: AtomSpec Isotope: [1-9] [0-9] [0-9] Isotope ::= [1-9] [0-9]? [0-9]? referenced by: AtomSpec   ... generated by Railroad Diagram Generator R R