schala/src/main.rs

21 lines
497 B
Rust
Raw Normal View History

2018-03-23 18:43:43 -07:00
extern crate schala_repl;
2018-03-20 23:29:56 -07:00
extern crate maaru_lang;
2018-03-21 01:43:43 -07:00
extern crate rukka_lang;
2018-03-21 01:46:11 -07:00
extern crate robo_lang;
2018-03-23 18:43:43 -07:00
extern crate schala_lang;
2018-03-23 19:04:32 -07:00
use schala_repl::{PLIGenerator, repl_main};
2017-10-12 02:13:55 -07:00
extern { }
2015-07-16 01:40:37 -07:00
fn main() {
2017-10-29 04:09:10 -07:00
let generators: Vec<PLIGenerator> = vec![
2017-11-01 01:25:26 -07:00
Box::new(|| { Box::new(schala_lang::Schala::new())}),
Box::new(|| { Box::new(maaru_lang::Maaru::new())}),
Box::new(|| { Box::new(robo_lang::Robo::new())}),
Box::new(|| { Box::new(rukka_lang::Rukka::new())}),
2017-10-29 04:09:10 -07:00
];
2018-03-23 19:04:32 -07:00
repl_main(generators);
}