TuplerScript is a free to use library that allows for the easy creation of your own scripting language! You can customize the language to take in your own functions, and interpret text files at runtime. This system could be used for adding a modding system to your game!
The language is extremely simple, and only has 3 syntax rules:
- A "Tupler" is defined as a list of objects between square brackets, separated by commas.
- Comments are defined as statements between pound signs (#)
- Square brackets, commas, and pound signs after a back slash (\) will be ignored! (escape characters)
Using this simple system, you can make pretty much anything!
Example of printing "hello world":
https://gyazo.com/9aa218326e9a26e1980314e494d8cbc3
Example of adding two numbers, storing them in a variable, and then printing the result:
This is not a language. This is a language framework which you can customize to suit your needs. Its easy to create your own dictionary of commands, designed for modders to interact with your own project.
If you are interested, you can view the full source for the C# version available on GitHub!