Rename schala-lib -> schala-repl
This commit is contained in:
parent
9d4082463a
commit
795b4adc6b
@ -12,7 +12,7 @@ lazy_static = "0.2.8"
|
|||||||
maplit = "*"
|
maplit = "*"
|
||||||
colored = "1.5"
|
colored = "1.5"
|
||||||
|
|
||||||
schala-lib = { path = "schala-lib" }
|
schala-repl = { path = "schala-repl" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
includedir_codegen = "0.2.0"
|
includedir_codegen = "0.2.0"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "schala-lib"
|
name = "schala-repl"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["greg <greg.shuflin@protonmail.com>"]
|
authors = ["greg <greg.shuflin@protonmail.com>"]
|
||||||
|
|
@ -6,9 +6,9 @@ use self::llvm_sys::prelude::*;
|
|||||||
use self::llvm_sys::{LLVMIntPredicate};
|
use self::llvm_sys::{LLVMIntPredicate};
|
||||||
|
|
||||||
use maaru_lang::parser::{AST, Statement, Function, Prototype, Expression, BinOp};
|
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<String, LLVMValueRef>;
|
type VariableMap = HashMap<String, LLVMValueRef>;
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ pub mod parser;
|
|||||||
pub mod eval;
|
pub mod eval;
|
||||||
pub mod compilation;
|
pub mod compilation;
|
||||||
|
|
||||||
use schala_lib::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput, TraceArtifact};
|
use schala_repl::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput, TraceArtifact};
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct TokenError {
|
pub struct TokenError {
|
||||||
|
@ -11,8 +11,8 @@ mod maaru_lang;
|
|||||||
mod robo_lang;
|
mod robo_lang;
|
||||||
mod rukka_lang;
|
mod rukka_lang;
|
||||||
|
|
||||||
extern crate schala_lib;
|
extern crate schala_repl;
|
||||||
use schala_lib::{PLIGenerator, schala_main};
|
use schala_repl::{PLIGenerator, schala_main};
|
||||||
|
|
||||||
extern { }
|
extern { }
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
use schala_lib::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput};
|
use schala_repl::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput};
|
||||||
|
|
||||||
pub struct Robo {
|
pub struct Robo {
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
use schala_lib::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput};
|
use schala_repl::{ProgrammingLanguageInterface, EvalOptions, LanguageOutput};
|
||||||
use std::iter::Peekable;
|
use std::iter::Peekable;
|
||||||
use std::vec::IntoIter;
|
use std::vec::IntoIter;
|
||||||
use std::str::Chars;
|
use std::str::Chars;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
use schala_lib::{ProgrammingLanguageInterface, EvalOptions, TraceArtifact, UnfinishedComputation, FinishedComputation};
|
use schala_repl::{ProgrammingLanguageInterface, EvalOptions, TraceArtifact, UnfinishedComputation, FinishedComputation};
|
||||||
|
|
||||||
macro_rules! bx {
|
macro_rules! bx {
|
||||||
($e:expr) => { Box::new($e) }
|
($e:expr) => { Box::new($e) }
|
||||||
|
Loading…
Reference in New Issue
Block a user