It appears you have not registered with our community. To register please click here ...

May 18, 2012, 05:16:04 AM

Author Topic: Lapin's Galaxy syntax validator Tool  (Read 2922 times)

LAPIN

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #30 on: March 22, 2010, 11:07:31 PM »
@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... :-)
« Last Edit: March 24, 2010, 09:55:32 PM by LAPIN »

DarkBlizz - Making Battle.net Magic -

Re: Lapin's Galaxy syntax validator Tool
« Reply #30 on: March 22, 2010, 11:07:31 PM »

LAPIN

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #31 on: March 22, 2010, 11:08:53 PM »

@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

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #32 on: March 24, 2010, 12:35:20 AM »
0.9.1 add support for multi-dim arrays.

Astazha

  • Member
  • ***
  • Posts: 78
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #33 on: March 24, 2010, 07:37:24 AM »
- 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

  • New Member
  • *
  • Posts: 3
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #34 on: March 24, 2010, 06:41:45 PM »
Thanks for your great work.

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

LAPIN

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #35 on: March 26, 2010, 01:54:29 PM »
There is now a web version available at http://www.galaxyvalidator.com/.

zeeg

  • Admin of Nibbits.com
  • New Member
  • *
  • Posts: 7
    • View Profile
    • Nibbits StarCraft 2
Re: Lapin's Galaxy syntax validator Tool
« Reply #36 on: March 26, 2010, 05:19:25 PM »
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

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #37 on: March 29, 2010, 09:23:03 PM »
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

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #38 on: March 30, 2010, 02:15:06 PM »
Online version is now running 1.0.0

LAPIN

  • Resident
  • **
  • Posts: 25
    • View Profile
Re: Lapin's Galaxy syntax validator Tool
« Reply #39 on: April 13, 2010, 11:42:21 AM »
Version 1.1.0 is out. With small addition for more type checking.

DarkBlizz - Making Battle.net Magic -

Re: Lapin's Galaxy syntax validator Tool
« Reply #39 on: April 13, 2010, 11:42:21 AM »