rpnc 0.1.0

Reverse Polish Notation Calculator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate rpnc;
use std::io;

fn main() {
    loop {
        let mut input = String::new();
        io::stdin()
            .read_line(&mut input)
            .expect("failed to read line");
        println!("{:?}", rpnc::RPN::calc(input));
    }
}