//! Evaluate arithmetic operations of a string,
//! based on the shunting yard algorithm.
extern crate num;
use FromStr;
use Num;
use parse;
use eval;
/// evaluate is a wrapper reducing the amount of code needed to process a string.
/// #Example
/// ```rust
///
/// fn main() {
/// let code = "3 + 4";
/// if let Ok(total) = yard::evaluate::<i32>(&code) {
/// println!("{}", total);
/// }
/// }
/// ```