rust/src/librusti/rusti.rc

34 lines
884 B
Plaintext
Raw Normal View History

// rusti - REPL using the JIT backend
#[link(name = "rusti",
2012-11-04 16:22:05 -08:00
vers = "0.5",
uuid = "7fb5bf52-7d45-4fee-8325-5ad3311149fc",
url = "https://github.com/mozilla/rust/tree/master/src/rusti")];
2012-11-04 17:48:47 -08:00
#[crate_type = "lib"];
#[no_core];
#[allow(vecs_implicitly_copyable,
non_implicitly_copyable_typarams)];
2012-11-04 14:16:13 -08:00
extern mod core(vers = "0.5");
extern mod std(vers = "0.5");
extern mod rustc(vers = "0.5");
extern mod syntax(vers = "0.5");
use core::*;
use io::{ReaderUtil, WriterUtil};
use rustc::back;
use rustc::driver::{driver, session};
use rustc::front;
use rustc::lib::llvm::llvm;
use rustc::metadata::{creader, filesearch};
use rustc::middle::{freevars, kind, lint, trans, ty, typeck};
use rustc::middle;
use syntax::{ast, ast_util, codemap, diagnostic, fold, parse, print, visit};
use syntax::ast_util::*;
use parse::token;
use print::{pp, pprust};
2012-11-04 15:40:57 +10:00
use std::rl;