#include "./qalc.hpp" #include //This is a tiny wrapper around c++ classes std::unique_ptr calculate(rust::Str expression) { auto calculator = std::make_unique(); return std::make_unique(calculator->calculateAndPrint(std::string(expression))); }