From 6d84675ff81db10cb254ab9a35afe51c3346f856 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 14 Oct 2021 18:34:26 -0700 Subject: [PATCH] Move prelude.schala into separate directory --- schala-lang/language/{src => source-files}/prelude.schala | 0 schala-lang/language/src/schala.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename schala-lang/language/{src => source-files}/prelude.schala (100%) diff --git a/schala-lang/language/src/prelude.schala b/schala-lang/language/source-files/prelude.schala similarity index 100% rename from schala-lang/language/src/prelude.schala rename to schala-lang/language/source-files/prelude.schala diff --git a/schala-lang/language/src/schala.rs b/schala-lang/language/src/schala.rs index fd210a3..645364d 100644 --- a/schala-lang/language/src/schala.rs +++ b/schala-lang/language/src/schala.rs @@ -53,7 +53,7 @@ impl Schala { /// Creates a new Schala environment with the standard prelude, which is defined as ordinary /// Schala code in the file `prelude.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 response = env.run_pipeline(prelude);