Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
A php site would be nice
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Yes, a PHP site would indeed be wonderful. Upload source code, convert. Problem is, someone could set the site up to harvest any source code entered into it which would mean bad things for private plugins that are entered in.
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Quote:
Just keep the php site open source, and no problem |
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Or use Javascript instead.
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Quote:
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Quote:
With NPP doing the compiling, it will stay in the NPP console and you can double click the error/warning to go straight to the line it came from. Then, map the macro to a shortcut key. So, when all is said and done, I press ctrl+shift+b to compile a script that is anywhere and the .smx will appear next to it in the same folder. Note: The includes will need to be in the include folder relative to your compiler path. Currently, I run this script to compile:
Spoiler
I used to run a simpler script but found that on windows, pseudo mapped locations (through vsubst) seemed to add an extra slash, where it didnt for full paths. So, hence the checking for the slash at the end before adding it. ----------------------------------------------- As far as converting the whole thing to PHP, I was planning on doing it some time, but am too busy until around April, so it likely wouldnt happen until then. As far as exporting the code for you:
Spoiler
When April comes around, I'll check back in on this, unless someone else beats me to it. Perhaps we can get a github repo going with a PHP or java version created. |
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Quote:
Spoiler
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Quote:
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
why not just a transcompiler written in Python?
|
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]
Quote:
|
All times are GMT -4. The time now is 19:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.