Files
Toy/index.md
2025-01-24 17:15:58 +11:00

30 lines
1.0 KiB
Markdown

---
layout: page
title: The Toy Programming Language
---
{% include elements/chicken.html %}
<div style="justify-self: center;">
<image src="assets/toylogo.png" width="250" height="250" />
</div>
<div style="justify-self: center;">
<img src="https://github.com/Ratstail91/Toy/actions/workflows/continuous-integration-v2.yml/badge.svg">
</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.
This website presents the documentation for Toy version 2.x.
## Nifty Features
* Simple C-like/JS-like syntax
* Intermediate AST representation
* Strong, but optional type system
* 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