Move prelude.schala into separate directory

This commit is contained in:
Greg Shuflin 2021-10-14 18:34:26 -07:00
parent f8924cf65f
commit 6d84675ff8
2 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ impl Schala {
/// Creates a new Schala environment with the standard prelude, which is defined as ordinary /// Creates a new Schala environment with the standard prelude, which is defined as ordinary
/// Schala code in the file `prelude.schala` /// Schala code in the file `prelude.schala`
pub fn new() -> Schala { pub fn new() -> Schala {
let prelude = include_str!("prelude.schala"); let prelude = include_str!("../source-files/prelude.schala");
let mut env = Schala::new_blank_env(); let mut env = Schala::new_blank_env();
let response = env.run_pipeline(prelude); let response = env.run_pipeline(prelude);