View Single Post
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 04-23-2018 , 09:23   Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Reply With Quote #46

Hello, thanks for this project. Hopefully we can make it even better.

I have written a PHP script to take the sourcepawn from TOGs "newsyntax.sp" and process into new methodmaps. For example (pseudo test code, not real world):


Can anyone with knowledge of the new methodmaps and ideally PHP also, help me finish anything I've missed? There are probably still some issues to work. I've converted all my scripts (69 plugins/73k lines/2.2m chars) with TOGs VBA project and my script to use the new syntax and methodmaps, which took maybe about 5 hours due to compiler warnings from VBA not handling the data types correctly and some time refining the PHP script.

I'll post the PHP script in future when it's cleaned up.

Last edited by Silvers; 04-23-2018 at 19:08.
Silvers is offline