macro_rules! molecular_formula {
    ($($tail:tt)*) => { ... };
}
Expand description

Easily define molecular formulas using the following syntax: <element> <num> or (<isotope>)<element> <num>

molecular_formula!(C 12 (13)C 1 H 24);