You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Matt Godbolt 8c26f10a7d Prevent app from restarting when web assets change during development 7 years ago
.idea Compiler choice dropdown 7 years ago
c-preload Fix up shebang in compiler-wrapper 7 years ago
d Add clean rule to d/Makefile, and clean up subdirectories in 'make clean' 8 years ago
etc More MIPS tweaks 7 years ago
examples Better alignment hint for "max array (optimized)" 7 years ago
lib Wrap asm output object if compiler fails to execute 7 years ago
static First support for displaying output 7 years ago
static-old First move towards rewrite 7 years ago
test Update copyright 8 years ago
.bowerrc First move towards rewrite 7 years ago
.gdb_history 6.1 rc2 8 years ago
.gitignore Early support for r.js 7 years ago
.jshintrc Add IDEA files. 9 years ago
.travis.yml Remove stable node from travis for now, as it doesn't like memwatch 8 years ago
LICENSE Update copyright 8 years ago
Makefile Prevent app from restarting when web assets change during development 7 years ago
Notes.md Add some notes on LTO version 8 years ago
README.md Update README.md 7 years ago
app.build.js Early support for r.js 7 years ago
app.js Early support for r.js 7 years ago
bower.json Compiler choice dropdown 7 years ago
gdb.txt 6.1 rc2 8 years ago
launch_c++_port_10241.sh Added tiny shell script to start gcc-explorer with C++ language. 7 years ago
launch_port_10241.sh Tiny script to start listening on specific port (not parsed from config files). 7 years ago
package.json Early support for r.js 7 years ago

README.md

Build Status Codewake

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.

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.