mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-16 07:14:07 +10:00
0b8d6c1592c4dd02b3ae8b2092aade21a6640102
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
importandexportvariables from the host program- Optional, but robust type system
- functions and types are first-class citizens
- Fancy slice notation for strings, arrays and dictionaries
Getting Started
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.
Description
The Toy Programming Language.
compilerembedded-scripting-languageinterpreterlanguageprogramming-languagescripting-languagetoytoy-programming-languagetoylang
Readme
Zlib
2.6 MiB
Languages
C
97.7%
Makefile
2.2%
