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;
|
2019-03-12 02:39:25 -07:00
|
|
|
use schala_repl::{PLIGenerator, ProgrammingLanguageInterface, repl_main, start_repl};
|
2017-10-12 02:13:55 -07:00
|
|
|
|
2017-10-26 02:03:47 -07:00
|
|
|
extern { }
|
|
|
|
|
2015-07-16 01:40:37 -07:00
|
|
|
fn main() {
|
2019-03-12 02:39:25 -07:00
|
|
|
/*
|
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())}),
|
2017-11-26 21:17:17 -08:00
|
|
|
Box::new(|| { Box::new(rukka_lang::Rukka::new())}),
|
2017-10-29 04:09:10 -07:00
|
|
|
];
|
2019-03-12 02:39:25 -07:00
|
|
|
repl_main(generators);
|
|
|
|
*/
|
|
|
|
let langs: Vec<Box<ProgrammingLanguageInterface>> = vec![Box::new(schala_lang::Schala::new())];
|
|
|
|
start_repl(langs);
|
2017-10-23 20:51:08 -07:00
|
|
|
}
|
|
|
|
|