diff --git a/compiling-toy.md b/compiling-toy.md index dfa898a..8388819 100644 --- a/compiling-toy.md +++ b/compiling-toy.md @@ -1,6 +1,6 @@ # Compiling Toy -This tutorial is a sub-section of [Using-Toy](using-toy) that has been spun off into it's own page for the sake of brevity/sanity. It's recommended that you read the main article first. +This tutorial is a sub-section of [Using Toy](using-toy) that has been spun off into it's own page for the sake of brevity/sanity. It's recommended that you read the main article first. The exact phases outline here are entirely implementation-dependent - that is, they aren't required, and are simply how the canonical version of Toy works. diff --git a/using-toy.md b/using-toy.md index e890143..b80b3d8 100644 --- a/using-toy.md +++ b/using-toy.md @@ -72,7 +72,7 @@ int hookStandard(Interpreter* interpreter, Literal identifier, Literal alias) { {NULL, NULL} }; - //inject each native C functions into the current scope + //inject each native C functions into the current scope for (int i = 0; natives[i].name; i++) { injectNativeFn(interpreter, natives[i].name, natives[i].fn); }