Move prelude.schala into separate directory
This commit is contained in:
parent
f8924cf65f
commit
6d84675ff8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user