From 375db28ebb67cf7250f1c7178e6437f1bb80ae67 Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 14 Mar 2019 01:04:46 -0700 Subject: [PATCH] Remove support for non-Schala languages I may come back to these, but not until after Schala is much better developed --- Cargo.toml | 6 +++--- src/main.rs | 15 +++------------ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2e14890..651e8c1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,10 +6,10 @@ authors = ["greg "] [dependencies] schala-repl = { path = "schala-repl" } -maaru-lang = { path = "maaru" } -rukka-lang = { path = "rukka" } -robo-lang = { path = "robo" } schala-lang = { path = "schala-lang/language" } +# maaru-lang = { path = "maaru" } +# rukka-lang = { path = "rukka" } +# robo-lang = { path = "robo" } [build-dependencies] includedir_codegen = "0.2.0" diff --git a/src/main.rs b/src/main.rs index ff40304..231d7fa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,23 +1,14 @@ extern crate schala_repl; -extern crate maaru_lang; -extern crate rukka_lang; -extern crate robo_lang; +//extern crate maaru_lang; +//extern crate rukka_lang; +//extern crate robo_lang; extern crate schala_lang; use schala_repl::{ProgrammingLanguageInterface, start_repl}; extern { } fn main() { - /* - let generators: Vec = vec![ - 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())}), - ]; - repl_main(generators); - */ let langs: Vec> = vec![Box::new(schala_lang::Schala::new())]; start_repl(langs); }