Go to file
Matt Godbolt 71dda61541 Much cleaner promise design 2015-01-20 23:44:54 -06:00
.idea Add IDEA files. 2014-11-26 08:24:40 -06:00
c-preload Copyright update, formatting changes 2015-01-12 07:21:22 -06:00
d Copyright update, formatting changes 2015-01-12 07:21:22 -06:00
etc Default the source to the builtins 2015-01-12 21:42:17 -06:00
examples Updated rust examples 2015-01-12 21:22:55 -06:00
lib Much cleaner promise design 2015-01-20 23:44:54 -06:00
static Use promises, move to express, combine lots of endpoints into client-options.js 2015-01-20 21:28:13 -06:00
test Copyright update, formatting changes 2015-01-12 07:21:22 -06:00
.gitignore Remove accidentally-added npm-updated file 2012-07-24 15:54:42 -05:00
.jshintrc Add IDEA files. 2014-11-26 08:24:40 -06:00
LICENSE Copyright update, formatting changes 2015-01-12 07:21:22 -06:00
Makefile Add a prereqs target 2014-04-21 07:49:25 -05:00
Notes.md Add IDEA files. 2014-11-26 08:24:40 -06:00
README.md Add IDEA files. 2014-11-26 08:24:40 -06:00
app.js Much cleaner promise design 2015-01-20 23:44:54 -06:00
package.json Much cleaner promise design 2015-01-20 23:44:54 -06:00

README.md

GCC Explorer

GCC Explorer is an interactive compiler. The left-hand pane shows editable C/C++ code. The right, the assembly output of having compiled the code with a given compiler and settings.

Try out the demo site!

Developing

GCC Explorer is written in node. Most of the heavy lifting is actually done on the client, which is arguably a bad decision.

Assuming you have npm and node installed, simply running make ought to get you up and running with a GCC explorer running on port 10240 on your local machine: http://localhost:10240

If you want to point it at your own GCC or similar binaries, either edit the etc/config/gcc-explorer.defaults.properties or else make a new one with the name gcc-explorer.YOURHOSTNAME.properties. The config system leaves a lot to be desired, I'm working on porting CCS to javascript and then something more rational can be used.

Feel free to raise an issue on github or email me directly for more help.