namespace console;

import libc;

public function write(value string)
{
    libc.puts(value.raw());
}

public function write_raw(value pointer)
{
    libc.puts(value);
}

/*
public function write<type>(value type)
{
    @"std::cout << value"
}

public function write_line<type>(value type)
{
    @"std::cout << value << std::endl"
}*/

//to-do write_object (with reflection)
//to-do public function read()
//to-do public function read_line()