diff --git a/dust-lang/src/lib.rs b/dust-lang/src/lib.rs index 14591db..22a01ed 100644 --- a/dust-lang/src/lib.rs +++ b/dust-lang/src/lib.rs @@ -109,7 +109,7 @@ impl<'a> Interpreter<'a> { } pub fn load_std(&mut self) -> Result<(), InterpreterError> { - let std_sources: [(Arc, Arc); 4] = [ + let std_sources: [(Arc, Arc); 5] = [ ( Arc::from("std/core.ds"), Arc::from(include_str!("../../std/core.ds")), @@ -122,6 +122,10 @@ impl<'a> Interpreter<'a> { Arc::from("std/io.ds"), Arc::from(include_str!("../../std/io.ds")), ), + ( + Arc::from("std/json.ds"), + Arc::from(include_str!("../../std/json.ds")), + ), ( Arc::from("std/thread.ds"), Arc::from(include_str!("../../std/thread.ds")),