God Morgen Just another WordPress weblog

13Aug/080

AngelScript

Allright, I've been fiddling around a little with scripting languages for my soon-to-come game engine, and I probably settled on Squirrel. Squirrel is a scripting language largely influenced by LUA, but has a more C++-like syntax, and takes away a lot of the bad stuff with LUA. It also adds classes and whatnot.

Some time ago, though, I discovered something called AngelScript. What's kinda unorthodox with it, though, is that it's statically typed, unlike most scripting languages, who are dynamically typed. This simply means that every object in the script has a type, and the type cannot change implicitly. At first I thought this makes it a little harder for the scripters, as they have to worry about types, but after reconsidering, it actually doesn't. Sometimes it makes it a lot easier!

One of the reasons for this is that the functions no longer have to do type-checking to see if the argument is a number or string or blah blah. It's all done automatically!

The real reason I'm starting to like this, though, is it's API. It's all OO, and a lot easier to integrate, IMO.

So check out AngelScript!

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Pages

Categories

Blogroll

Archive

Meta