Javascript version of elementary reaction expression parser
![Build Status](https://camo.githubusercontent.com/6896c7308a760935d15905a0ef2aadaa808c3cf197de1612ef9e50416e243e5f/68747470733a2f2f7472617669732d63692e6f72672f5079744c61622f72786e2d7061727365722e6a732e7376673f6272616e63683d6d6173746572)
> var RxnEquation = require('./rxn_parser.js').RxnEquation;
> var ChemState = require('./rxn_parser.js').ChemState;
> var ChemFormula = require('./rxn_parser.js').ChemFormula;
// Operate chemial equation.
> var equation = new RxnEquation('CO_s + O_s <-> CO-O_s + 2*_s -> CO2_g + 2*_s');
> equation.checkConservation();
true
> var chemStates = equation.toList();
[ ChemState { chemState: 'CO_s + O_s' },
ChemState { chemState: 'CO-O_s + *_s' },
ChemState { chemState: 'CO2_g + 2*_s' } ]
// Operate chemical state...
// Operate chemical formual...