SUGGESTION: Standard script (hard!)

Started by Monsieur OUXX, Thu 21/12/2006 13:12:50

Previous topic - Next topic

Monsieur OUXX

I don't know if the script parser and "compiler" used by AGS are built-in or if they're based on the work of an independent team, but it could be cool :
- to get rid of its technical limitations
- to get rid of its syntax strangenesses (whether by upgrading it (time-consuming) or by using an existing game-oriented script, like LUA).

What I mean by "technical limitations" is, for example, the fact that one can use neither pointers /references to objects, nor have arrays of objects inside another object.

By "syntax strangenesses" i mean "define objects methods outisde the objects" (C++ style), but it's not THAT important, the syntax is well defined.
 

Pumaman

The AGS script system is a built-in system that I wrote, and it has been gradually improved over time. I would like to remove all its limitations, but these things take time.

As for the syntax -- it suffers from the same problem as C++ in that originally, AGS script didn't support objects or OO at all. Gradually over time bits have been added whilst retaining backwards compatibility, which is what gives you the current syntax we see today.

SMF spam blocked by CleanTalk