int
main(string a)
{
    object ret;
    mixed code;

    if (file_size("/tmp_eval_file.lpc") != -1)
	rm ("/tmp_eval_file.lpc");
    if (find_object("/tmp_eval_file.lpc"))
	destruct(find_object("/tmp_eval_file.lpc"));

    write_file("/tmp_eval_file.lpc", "mixed eval() { " + a + "; }\n");

    ret = load_object("/tmp_eval_file.lpc");

    dump_prog(ret, 1, "/CODE_TMP_FILE");
    code = read_file( "/CODE_TMP_FILE");
    rm("/CODE_TMP_FILE");
    rm("/tmp_eval_file.lpc");

    code = explode(code, ";;;  *** Disassembly ***\n");
    code = code[1];
    write(code[0..strlen(code)-1]);
    return 1;
}
