DonutScript is a scripting programming language used to make games and applications that can compile to Java. Uses ANTLR4 for language generation. It is used in FlashContent projects, like Actbit.
DonutScript have much power than other languages, like:
DonutScript uses Java, a strong programming language that is (really) easy to learn. With Java, DonutScript can create games, web applications, GUI, etc...
DonutScript is based on CoffeeScript, MoonScript and Ruby. It is very simple to learn. Here's a hello world app in DonutScript:
require donut
fun main():
println("Hello World!\n")
end
DonutScript have embed graphics with LWJGL, so you can create any graphical application with DonutScript. You can create too games with DonutScript. Here's a basic example:
require donut
require donut.graphics
fun main():
square = new gl.Square(0, 0,"green")
if gl.keyDown("space"):
square.color = "yellow"
end
DonutScript have the CakeCandy (development) framework. It is a web application framework for DonutScript. Here's a example: DonutScript:
require donut
require cake
class Main
fun main() extend cake.App:
cake.write("Hello World!");
end
end
You can learn DonutScript at the DonutScript Wiki.