Raised This Month: $12 Target: $400
 3% 

Spider - A Replacement Webcompiler


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-19-2014 , 11:40   Spider - A Replacement Webcompiler
Reply With Quote #1


Video is for the old version, new one is slightly different.

http://spider.limetech.org/

Features:
  • Supports both SourceMod and AMX Mod X plugins.
  • In-browser compilation - your code never leaves your computer.
  • Supports custom include files - use whatever modules you need.
  • In-line display of warnings and errors - see at a glance where they occurred.
  • Code highlighting - although not Pawn specific just yet.
  • Basic starter template.
  • Restores work if the page is closed.
  • It works offline!

Supported Browsers:
  • Chrome - Version ~20+ (exact version not known.)
  • Firefox - Version 20+
  • Internet Explorer - Version 10+ (bet you didn't expect that one.)

This is a partial cross-post from the SourceMod forum as I recently added support for compiling AMX Mod X plugins, please see / post in the other thread for anything SourceMod-specific or to get more information.
__________________
asherkin is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-19-2014 , 11:43   Re: Spider - A Replacement Webcompiler
Reply With Quote #2

Please tell me there is a page or something where I can submit correct translations for other languages. D:
The german translation is...weird.
__________________

Last edited by Kia; 08-19-2014 at 11:47.
Kia is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-19-2014 , 12:25   Re: Spider - A Replacement Webcompiler
Reply With Quote #3

Quote:
Originally Posted by Kia View Post
Please tell me there is a page or something where I can submit correct translations for other languages. D:
Just translate https://gist.github.com/asherkin/94ca43a262c710f92075 and post a copy in this thread.

Quote:
Originally Posted by Kia View Post
The german translation is...weird.
Nextra did it, I'm sure there is a reason he used the phrasing he did.
__________________

Last edited by asherkin; 08-19-2014 at 15:16.
asherkin is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 08-19-2014 , 12:29   Re: Spider - A Replacement Webcompiler
Reply With Quote #4

Needs some smarter indentation, as when writing code manually, requires { before adding tab space, and doesn't allow it here:
Code:
if (something)
<here>somethingElse;
__________________

Last edited by hleV; 08-19-2014 at 12:29.
hleV is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 08-19-2014 , 12:30   Re: Spider - A Replacement Webcompiler
Reply With Quote #5

Quote:
Originally Posted by asherkin View Post
Nextra did it, I'm sure there is a reason he used the phrasing he did.
I interpreted the original quite informally, so it may indeed look weird, even if it is not wrong by any means. Happy to take suggestions.
__________________
In Flames we trust!
Nextra is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 08-19-2014 , 13:05   Re: Spider - A Replacement Webcompiler
Reply With Quote #6

Can you tell me how did you compiled the AMXX compiler with emscripten? I spent a few hours trying but nothing worked...
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 08-19-2014 , 13:07   Re: Spider - A Replacement Webcompiler
Reply With Quote #7

Very interesting. Need Dark theme for it .
Phant is offline
Send a message via ICQ to Phant
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-19-2014 , 13:15   Re: Spider - A Replacement Webcompiler
Reply With Quote #8

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
Can you tell me how did you compiled the AMXX compiler with emscripten? I spent a few hours trying but nothing worked...
https://github.com/alliedmodders/amxmodx/pull/115 + https://github.com/alliedmodders/amxmodx/pull/117

Code:
emcc -O3 --closure 0 -s AGGRESSIVE_VARIABLE_ELIMINATION=1 -s FORCE_ALIGNED_MEMORY=1 --llvm-lto 1 -DNDEBUG -DHAVE_SAFESTR -fno-strict-aliasing -I amxxpc -I libpc300 -D_GNU_SOURCE -Wall -DLINUX -D__linux__ -DHAVE_STDINT_H -DAMX_ANSIONLY -DNO_MAIN -DPAWNC_DLL -m32 -fno-rtti libpc300/libpawnc.c libpc300/sc1.c libpc300/sc2.c libpc300/sc3.c libpc300/sc4.c libpc300/sc5.c libpc300/sc6.c libpc300/sc7.c libpc300/sci18n.c libpc300/sclist.c libpc300/scmemfil.c libpc300/scexpand.c libpc300/scstate.c libpc300/scvars.c libpc300/prefix.c libpc300/memfile.c amxxpc/amx.cpp amxxpc/amxxpc.cpp amxxpc/Binary.cpp amxxpc/zlib/adler32.c amxxpc/zlib/compress.c amxxpc/zlib/crc32.c amxxpc/zlib/deflate.c amxxpc/zlib/gzio.c amxxpc/zlib/infback.c amxxpc/zlib/inffast.c amxxpc/zlib/inflate.c amxxpc/zlib/inftrees.c amxxpc/zlib/trees.c amxxpc/zlib/uncompr.c amxxpc/zlib/zutil.c -o amxxpc.js --preload-file ../plugins/include/@include/ -Wno-format -Wno-parentheses -Wno-unused -Wno-sometimes-uninitialized -funroll-loops -D SVN_VERSION='"1.8.3-manual"'
Quote:
Originally Posted by Phant View Post
Very interesting. Need Dark theme for it .
Great idea, I'll toss it on the roadmap. Not sure where I'll put the option for it currently though
__________________

Last edited by asherkin; 08-19-2014 at 13:23.
asherkin is offline
BAILOPAN
Join Date: Jan 2004
Old 08-20-2014 , 01:37   Re: Spider - A Replacement Webcompiler
Reply With Quote #9

This is awesome stuff!
__________________
egg
BAILOPAN is offline
Sreaper
髪を用心
Join Date: Nov 2009
Old 08-20-2014 , 01:52   Re: Spider - A Replacement Webcompiler
Reply With Quote #10

Cool. Are there plans to replace the one here: http://www.sourcemod.net/compiler.php with the one you made?
Sreaper is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode