mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
31 lines
1.3 KiB
Markdown
31 lines
1.3 KiB
Markdown
<p align="center">
|
|
<image src="toylogo.png" />
|
|
</p>
|
|
|
|
# Preamble
|
|
|
|
The Toy programming language is a procedural bytecode-intermediate interpreted language. It isn't intended to operate on it's 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.
|
|
|
|
# Nifty Features
|
|
|
|
* Simple C-like syntax
|
|
* Bytecode intermediate compilation
|
|
* `import` and `export` variables from the host program
|
|
* Optional, but robust type system
|
|
* functions and types are first-class citizens
|
|
* Fancy slice notation for strings, arrays and dictionaries
|
|
* Open source under the zlib license
|
|
|
|
# Getting Started
|
|
|
|
* [Quick Start Guide](quick-start-guide)
|
|
* ~~[Tutorials](tutorials)~~
|
|
* ~~[Developing With Toy](developing-with-toy)~~
|
|
* [Types](types)
|
|
* ~~[Standard Libary](standard-library)~~
|
|
|
|
# Version Differences
|
|
|
|
There have been a number of versions of Toy over the years, the current actively developed version is called `0.6.0`. It is recommended that you don't use the older versions. |