mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Tweaks to the front page
This commit is contained in:
4
index.md
4
index.md
@@ -6,10 +6,12 @@
|
|||||||
|
|
||||||
# Preamble
|
# Preamble
|
||||||
|
|
||||||
The Toy programming language is a procedural bytecode-intermediate interpreted language. It isn't intended to operate on its own, but rather as part of another program, the "host". This process is intended to allow a decent amount of easy customisation by the host's end user, by exposing logic in script files. Alternatively, binary files in a custom format can be used as well.
|
The Toy programming language is an imperative bytecode-intermediate embedded scripting language. It isn't intended to operate on its own, but rather as part of another program, the "host". This process is intended to allow a decent amount of easy customisation by the host's end user, by exposing logic in script files. Alternatively, binary files in a custom format can be used as well.
|
||||||
|
|
||||||
The host will provide all of the extensions needed on a case-by-case basis. Script files have the `.toy` file extension, while binary files have the `.tb` file extension.
|
The host will provide all of the extensions needed on a case-by-case basis. Script files have the `.toy` file extension, while binary files have the `.tb` file extension.
|
||||||
|
|
||||||
|
The Toy reference implementation can be found on [github](https://github.com/Ratstail91/Toy).
|
||||||
|
|
||||||
```
|
```
|
||||||
fn makeCounter() { //declare a function like this
|
fn makeCounter() { //declare a function like this
|
||||||
var total: int = 0; //declare a variable with a type like this
|
var total: int = 0; //declare a variable with a type like this
|
||||||
|
|||||||
Reference in New Issue
Block a user