#include "number.h" #include "packedintarray.h" #include "lexer.h" #include "token.h" #include "parser.h" #include "options.h" #include #include #include #include using namespace Bu; int main( int argc, char *argv[] ) { try { Options opt( argc, argv ); println("CliC - 0.10"); println("Try \\exit, \\help, \\scale, and \\radix commands."); println(""); Lexer lex( sioRaw ); lex.setScale( opt.getScale() ); lex.setRadix( opt.getRadix() ); Parser parser( lex, sioRaw ); parser.parse(); } catch( std::exception &e ) { Bu::println("Error: %1").arg( e.what() ); } return 0; }