GoForth |
|
Jeremy Yang |
C, CC, CCC, CCCC, CCCCC, CCCCCC (methane ... hexane)
[C;H1,H2;!R:1]([H])[!R:2][!R:3]>>[C:1]([*:3])[*:2][H] |
[C&!$(C(O)O):1]([H])>>[C:1]O |
[C;H3,H4:1]([H])([H])[H]>>[C:1](=O)O |
[C:1][C:2]>>[C:1]O[C:2] |
[C;H2,H3,H4:1]([H])[H]>>[C:1]=O |
[H][C:1]-[C:2][H]>>[C:1]=[C:2] |
[H][C:1]=[C:2][H]>>[C:1]#[C:2] |
[H][C!R:1][!R:2][!R:3][C!R:4][H]>> [*:1]1[*:2][*:3][*:4]1 |
[H][C!R:1][!R:2][!R:3][!R:4][C!R:5][H]>> [*:1]1[*:2][*:3][*:4][*:5]1 |
[H][C!R:1][!R:2][!R:3][!R:4][!R:5][C!R:6][H]>> [*:1]1[*:2][*:3][*:4][*:5][*:6]1 |
*~1~*~*~1 3-member ring *~1~*~*~*~1 4-member ring [!#6R].[!#6R] 2 hetero ring-atoms