Fixed a typo

This commit is contained in:
2025-03-01 16:21:59 +11:00
parent 0f4d474231
commit 60c07d64ef
3 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
---
layout: page
title: Development Timetable
title: Contributions
order: 4
---

View File

@@ -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.

View File

@@ -10,7 +10,7 @@ title: The Toy Programming Language
</div>
<div style="justify-self: center;">
<img src="https://github.com/krgamestudios/Toy/actions/workflows/continuous-integration-v2.yml/badge.svg">
<a href="https://github.com/krgamestudios/Toy"><img src="https://github.com/krgamestudios/Toy/actions/workflows/continuous-integration-v2.yml/badge.svg"></a>
</div>
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