Lapin's Galaxy syntax validator Tool

Started by LAPIN, March 06, 2010, 06:35:42 AM

Previous topic - Next topic

LAPIN

#30
@Astazha: i need to add support for multi-dim arrays. thats in my todo.

@kazibi: feel free to integrate it in your editor. I do not know of a good source for the language syntax. I just ask people what works and what doesn't work. :-)

Edit: Oops, I do NOT know... :-)

LAPIN


@Astazha: i need to add support for multi-dim arrays. thats in my todo.


@kazibi: feel free to integrate it in your editor. I do know of a good source for the language syntax. I just ask people what works and what doesn't work. :-)

LAPIN

0.9.1 add support for multi-dim arrays.

Astazha

- Array sizing does not support operators like:


int[c_myConstant+1] myArray;


This is easy enough to get around.


- Access to multi-dim arrays does not seem to work.  This code:


result=omOvermindMemory[memIndex][c_OM_InitializedIndexOffset];


stops the validate on a parse error.  memIndex is an int.


Thanks again for all of your work Lapin.

AIAndy

Thanks for your great work.

The only thing I am missing now is proper type checking.

LAPIN


zeeg

Also if you have suggestions for the site (galaxyvalidator.com) you can direct them at me on here (though I'm likely to miss it), via email (dcramer@gmail), or in this thread: http://sc2.nibbits.com/forums/15/view/435/galaxy-syntax-validator
Got feedback regarding Nibbits.com? Look no further.

LAPIN

New version with static type analysis. This is the initial release of this feature...


Tested with "major" existing AIs.


Let me know if some type conversions are not right.


Have fun,
Lapin

LAPIN


LAPIN

Version 1.1.0 is out. With small addition for more type checking.