From 31fc7517996fea2076eaaffccafe8bbe0604c2d3 Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 20 Mar 2018 21:17:46 -0700 Subject: [PATCH] Rename schala-lib -> schala-repl --- Cargo.toml | 2 +- {schala-lib => schala-repl}/Cargo.toml | 2 +- {schala-lib => schala-repl}/build.rs | 0 {schala-lib => schala-repl}/src/language.rs | 0 {schala-lib => schala-repl}/src/lib.rs | 0 {schala-lib => schala-repl}/src/llvm_wrap.rs | 0 {schala-lib => schala-repl}/src/webapp.rs | 0 src/maaru_lang/compilation.rs | 4 ++-- src/maaru_lang/mod.rs | 2 +- src/main.rs | 4 ++-- src/robo_lang/mod.rs | 2 +- src/rukka_lang/mod.rs | 2 +- src/schala_lang/mod.rs | 2 +- 13 files changed, 10 insertions(+), 10 deletions(-) rename {schala-lib => schala-repl}/Cargo.toml (95%) rename {schala-lib => schala-repl}/build.rs (100%) rename {schala-lib => schala-repl}/src/language.rs (100%) rename {schala-lib => schala-repl}/src/lib.rs (100%) rename {schala-lib => schala-repl}/src/llvm_wrap.rs (100%) rename {schala-lib => schala-repl}/src/webapp.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index db5579e..43b81bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ lazy_static = "0.2.8" maplit = "*" colored = "1.5" -schala-lib = { path = "schala-lib" } +schala-repl = { path = "schala-repl" } [build-dependencies] includedir_codegen = "0.2.0" diff --git a/schala-lib/Cargo.toml b/schala-repl/Cargo.toml similarity index 95% rename from schala-lib/Cargo.toml rename to schala-repl/Cargo.toml index 49fd64a..5ee7a85 100644 --- a/schala-lib/Cargo.toml +++ b/schala-repl/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "schala-lib" +name = "schala-repl" version = "0.1.0" authors = ["greg "] diff --git a/schala-lib/build.rs b/schala-repl/build.rs similarity index 100% rename from schala-lib/build.rs rename to schala-repl/build.rs diff --git a/schala-lib/src/language.rs b/schala-repl/src/language.rs similarity index 100% rename from schala-lib/src/language.rs rename to schala-repl/src/language.rs diff --git a/schala-lib/src/lib.rs b/schala-repl/src/lib.rs similarity index 100% rename from schala-lib/src/lib.rs rename to schala-repl/src/lib.rs diff --git a/schala-lib/src/llvm_wrap.rs b/schala-repl/src/llvm_wrap.rs similarity index 100% rename from schala-lib/src/llvm_wrap.rs rename to schala-repl/src/llvm_wrap.rs diff --git a/schala-lib/src/webapp.rs b/schala-repl/src/webapp.rs similarity index 100% rename from schala-lib/src/webapp.rs rename to schala-repl/src/webapp.rs diff --git a/src/maaru_lang/compilation.rs b/src/maaru_lang/compilation.rs index d8f1254..6af6dc1 100644 --- a/src/maaru_lang/compilation.rs +++ b/src/maaru_lang/compilation.rs @@ -6,9 +6,9 @@ use self::llvm_sys::prelude::*; use self::llvm_sys::{LLVMIntPredicate}; use maaru_lang::parser::{AST, Statement, Function, Prototype, Expression, BinOp}; -use schala_lib::LLVMCodeString; +use schala_repl::LLVMCodeString; -use schala_lib::llvm_wrap as LLVMWrap; +use schala_repl::llvm_wrap as LLVMWrap; type VariableMap = HashMap; diff --git a/src/maaru_lang/mod.rs b/src/maaru_lang/mod.rs index 1e32768..a0ecdb9 100644 --- a/src/maaru_lang/mod.rs +++ b/src/maaru_lang/mod.rs @@ -3,7 +3,7 @@ pub mod parser; pub mod eval; pub mod compilation; -use schala_lib::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput, TraceArtifact}; +use schala_repl::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput, TraceArtifact}; #[derive(Debug)] pub struct TokenError { diff --git a/src/main.rs b/src/main.rs index eb97f4d..44499e8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,8 +11,8 @@ mod maaru_lang; mod robo_lang; mod rukka_lang; -extern crate schala_lib; -use schala_lib::{PLIGenerator, schala_main}; +extern crate schala_repl; +use schala_repl::{PLIGenerator, schala_main}; extern { } diff --git a/src/robo_lang/mod.rs b/src/robo_lang/mod.rs index 73be23a..346e77e 100644 --- a/src/robo_lang/mod.rs +++ b/src/robo_lang/mod.rs @@ -1,5 +1,5 @@ use itertools::Itertools; -use schala_lib::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput}; +use schala_repl::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput}; pub struct Robo { } diff --git a/src/rukka_lang/mod.rs b/src/rukka_lang/mod.rs index 0118063..25d4ba2 100644 --- a/src/rukka_lang/mod.rs +++ b/src/rukka_lang/mod.rs @@ -1,5 +1,5 @@ use itertools::Itertools; -use schala_lib::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput}; +use schala_repl::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput}; use std::iter::Peekable; use std::vec::IntoIter; use std::str::Chars; diff --git a/src/schala_lang/mod.rs b/src/schala_lang/mod.rs index 533436e..238250f 100644 --- a/src/schala_lang/mod.rs +++ b/src/schala_lang/mod.rs @@ -1,5 +1,5 @@ use itertools::Itertools; -use schala_lib::{ProgrammingLanguageInterface, EvalOptions, TraceArtifact, UnfinishedComputation, FinishedComputation}; +use schala_repl::{ProgrammingLanguageInterface, EvalOptions, TraceArtifact, UnfinishedComputation, FinishedComputation}; macro_rules! bx { ($e:expr) => { Box::new($e) }