Slang

Slang is an experimental stack-based scripting language I created for use in my Flash projects. You can read about the initial release, a very simple parser, here; and 2.0, a more powerful language with rudimentary data structures, here. I used these early versions Slang to write gameplay code for Hypothermia and Humphrey’s Tiny Adventure: Remastered.

Slang 3.0 is a complete rewrite of the scripting engine in Haxe, anย awesome language that compiles to Flash, Javascript, and a bunch of other platforms including mobile devices and native code for desktop applications. It adds support for script functions and arrays, as well as being much faster.

Here’s some sample code:

 

You can get the source on the Bitbucket repository, get a compiled release on the downloads page, or download the Haxe library on haxelib.