You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: output.rs
    path of file: ./repos/kalker/cli/src
    
    the code of the file until where you have to start completion: use ansi_term::Colour::Red;
use kalk::parser;

pub(crate) const DEFAULT_PRECISION: u32 = 63;

pub fn eval(parser: &mut parser::Context, input: &str, precision: u32, base: u8) {
    match parser::eval(parser, input, precision) {
        Ok(Some(mut result)) => {
            if !result.set_radix(base) {
                print_err("Invalid base. Change it by typing eg. `base 10`.");

                return;
            }

            if
    
pub fn eval(parser: &mut parser::Context, input: &str, precision: u32, base: u8) {
    match parser::eval(parser, input, precision) {
        Ok(Some(mut result)) => {
            if !result.set_radix(base) {
                print_err("Invalid base. Change it by typing eg. `base 10`.");

                return;
            }

            if precision == DEFAULT_PRECISION {
                println!("{}", result.to_string_pretty());

                return;
            }

            println!("{}", result.to_string_big())
        }
        Ok(None) => print!(""),
        Err(err) => print_err(&err.to_string()),
    }
}