Sandbox Script

I really enjoyed making the IF Player and designing the script that went along with it.

In fact, I liked it so much that I decided to make another XML based scripting language, but this one more general purpose.

Because I like to.

This one, however, will also have the ability to store numbers and strings, as well as boolean flags.

Also decided on a simple scheme to output the values or number variables and strings.

String variables will be escaped between two $, like $name$.

Number variables will be escaped between two #, like #value#.

Flag, I decided, did not need to be able to be escaped.

When output or any sort of string is unescaped, it first unescapes strings, then numbers.

The escaping does not nest, to keep it simple.

Decided also to include a number of different comparisons for <if>.

Also decided to put in a <while> loop.

Also decided to put in <goto> and <label>, and <gosub> and <return>.

Anyway, I think it is fun.

Advertisements

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: