From 60c07d64ef46a7ca2618b95937dc593ccc627463 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Sat, 1 Mar 2025 16:21:59 +1100 Subject: [PATCH] Fixed a typo --- .../{development-timetable.md => contributions.md} | 2 +- _getting_started/quick-start-guide.md | 8 ++++++-- index.md | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) rename _getting_started/{development-timetable.md => contributions.md} (62%) diff --git a/_getting_started/development-timetable.md b/_getting_started/contributions.md similarity index 62% rename from _getting_started/development-timetable.md rename to _getting_started/contributions.md index e25c1c7..17f0fe7 100644 --- a/_getting_started/development-timetable.md +++ b/_getting_started/contributions.md @@ -1,6 +1,6 @@ --- layout: page -title: Development Timetable +title: Contributions order: 4 --- diff --git a/_getting_started/quick-start-guide.md b/_getting_started/quick-start-guide.md index b1bc669..9c7dad2 100644 --- a/_getting_started/quick-start-guide.md +++ b/_getting_started/quick-start-guide.md @@ -56,11 +56,11 @@ The types available in Toy are: | `string` | string | A piece of text, supports UTF-8, [in theory](https://github.com/krgamestudios/Toy/issues/174). | | `array` | array | A series of values stored sequentially in memory. | | `table` | table | A series key-value pairs stored in such a way that allows for fast lookups. Booleans, functions, opaques and `null` can't be used as keys. | -| `function` | function | A chunk of reusable code that takes zero or more parameters, and returFunctions are declared with the `fn` keyword. | +| `function` | function | A chunk of reusable code that takes zero or more parameters, and returns zero or more results. Functions are declared with the `fn` keyword. | | `opaque` | opaque | This value is unusable in the script, but can be passed from one imported function to another. | | `any` | any | The default type when nothing is specified. Theis can hold any value. | -*Note: Functions and opaques are not fully implemented at the time of writing, so details may change.* +*Note: Arrays, tables, functions and opaques are not fully implemented at the time of writing, so details may change.* ## Control Flow @@ -115,6 +115,10 @@ while (true) { *Note: The `for` loop is coming, eventually, but isn't vital right now.* +## Arrays and Tables + +Watch this space. + ## Functions Watch this space. diff --git a/index.md b/index.md index 2d60276..c7502e6 100644 --- a/index.md +++ b/index.md @@ -10,7 +10,7 @@ title: The Toy Programming Language
- +
The Toy Programming Language is an imperative, bytecode-interpreted, embeddable scripting language. Rather than functioning independently, it serves as part of another program, the "host". This design allows for straightforward customization by both the host's developers and end users, achieved by exposing program logic through text files. @@ -25,5 +25,5 @@ This website presents the documentation for Toy version 2.x. * First-class functions and closures * Extensible with importable native code * Can re-direct output, error and assert failure messages -* Open-Source under the Zlib license +* Open-Source under the zlib license