commit | d1767bd95cca94c75328f41b52d4c71c81880de9 | [log] [download] |
---|---|---|
author | Matt Godbolt <matt@godbolt.org> | Sun Jan 08 20:40:29 2017 -0600 |
committer | Matt Godbolt <matt@godbolt.org> | Sun Jan 08 20:40:29 2017 -0600 |
tree | 7877f9a2e11320756e261d6812fa9b66b774e918 | |
parent | 88589fcbe9c415738d7489f91df240368a712d9f [diff] | |
parent | 749e3572d99302823d9647326509d94c0b330130 [diff] |
Merge branch 'master' into execution
Compiler Explorer is an interactive compiler. The left-hand pane shows editable C/C++/Rust/Go/D code. The right, the assembly output of having compiled the code with a given compiler and settings. Multiple compilers are supported, and the UI layout is configurable (the Golden Layout library is used for this).
Try out one of the demo sites: C++, Rust, D or Go.
Compiler Explorer is written in node.js.
Assuming you have npm and node installed, simply running make
ought to get you up and running with an Explorer running on port 10240 on your local machine: http://localhost:10240/
The Makefile
will automatically install all the third party libraries needed to run; using npm
to install server-side components and bower
to install all the client-facing libraries.
If you want to point it at your own GCC or similar binaries, either edit the etc/config/compiler-explorer.defaults.properties
or else make a new one with the name compiler-explorer.local.properties
. *.local.properties
files have the highest priority when loading 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.
Compiler Explorer is maintained by Matt Godbolt. Multiple compiler and difference view was implemented by Gabriel Devillers.