Continue implementing JSON parsing
This commit is contained in:
parent
f625568ced
commit
f5bcf9511a
@ -109,7 +109,7 @@ impl<'a> Interpreter<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn load_std(&mut self) -> Result<(), InterpreterError> {
|
pub fn load_std(&mut self) -> Result<(), InterpreterError> {
|
||||||
let std_sources: [(Arc<str>, Arc<str>); 4] = [
|
let std_sources: [(Arc<str>, Arc<str>); 5] = [
|
||||||
(
|
(
|
||||||
Arc::from("std/core.ds"),
|
Arc::from("std/core.ds"),
|
||||||
Arc::from(include_str!("../../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("std/io.ds"),
|
||||||
Arc::from(include_str!("../../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("std/thread.ds"),
|
||||||
Arc::from(include_str!("../../std/thread.ds")),
|
Arc::from(include_str!("../../std/thread.ds")),
|
||||||
|
Loading…
Reference in New Issue
Block a user