by Kayne Ruse
The Toy Programming Language

If you're familiar with JavaScript, you will see a lot of similarities. However, there are also differences.

Toy is usable in an actual dev environment, particularly as an extension for the Unity game engine.

One of the more interesting features of Toy are the plugins, which are detailed separately from the language. Array and Dictionary are included as examples for people who want to write their own.

const makeCounter = function() {
	var counter = 0; //the inaccessible variable
	return function() {
		return ++counter;

const counter = makeCounter();

print counter(); //1
print counter(); //2
print counter(); //3
Information updated 07/18/20
View Comments