AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   Spider - A Replacement Webcompiler (https://forums.alliedmods.net/showthread.php?t=246554)

asherkin 08-19-2014 11:40

Spider - A Replacement Webcompiler
 

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.

Kia 08-19-2014 11:43

Re: Spider - A Replacement Webcompiler
 
Please tell me there is a page or something where I can submit correct translations for other languages. D:
The german translation is...weird.

asherkin 08-19-2014 12:25

Re: Spider - A Replacement Webcompiler
 
Quote:

Originally Posted by Kia (Post 2186231)
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 (Post 2186231)
The german translation is...weird.

Nextra did it, I'm sure there is a reason he used the phrasing he did.

hleV 08-19-2014 12:29

Re: Spider - A Replacement Webcompiler
 
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;


Nextra 08-19-2014 12:30

Re: Spider - A Replacement Webcompiler
 
Quote:

Originally Posted by asherkin (Post 2186248)
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.

Neeeeeeeeeel.- 08-19-2014 13:05

Re: Spider - A Replacement Webcompiler
 
Can you tell me how did you compiled the AMXX compiler with emscripten? I spent a few hours trying but nothing worked...

Phant 08-19-2014 13:07

Re: Spider - A Replacement Webcompiler
 
Very interesting. Need Dark theme for it :).

asherkin 08-19-2014 13:15

Re: Spider - A Replacement Webcompiler
 
Quote:

Originally Posted by Neeeeeeeeeel.- (Post 2186263)
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 (Post 2186266)
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 :P

BAILOPAN 08-20-2014 01:37

Re: Spider - A Replacement Webcompiler
 
This is awesome stuff!

Sreaper 08-20-2014 01:52

Re: Spider - A Replacement Webcompiler
 
Cool. Are there plans to replace the one here: http://www.sourcemod.net/compiler.php with the one you made?


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

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