aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornic-gaffney <gaffney_nic@protonmail.com>2023-06-25 22:33:13 -0500
committernic-gaffney <gaffney_nic@protonmail.com>2023-06-25 22:33:13 -0500
commit578229132e35075ef191ee960460d237c3ace3b8 (patch)
tree88cae1498005ffdb2b8c46c43c4b1ffc4c046a5c
parenta7454f42bab35400eb8a651e4dfb8ef4a596e713 (diff)
downloadsloth-578229132e35075ef191ee960460d237c3ace3b8.tar.gz
fixed a bug i think
-rwxr-xr-xbuild.sh1
-rw-r--r--sloth/src/main.rs3
2 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..178169f
--- /dev/null
+++ b/build.sh
@@ -0,0 +1 @@
+cargo build --features=llvm-sys/prefer-dynamic
diff --git a/sloth/src/main.rs b/sloth/src/main.rs
index bdcb4cb..957145d 100644
--- a/sloth/src/main.rs
+++ b/sloth/src/main.rs
@@ -11,7 +11,6 @@ pub mod analysis;
pub mod codegen;
pub mod lexer;
pub mod parser;
-pub mod sloth_std;
pub mod symtable;
use std::{env, fs};
@@ -24,7 +23,7 @@ use parser::AstParser;
use symtable::{Symbol, SymbolTable};
use crate::analysis::analyze;
-use crate::parser::graph::GraphBuilder;
+
use crate::symtable::Type;
fn main() {