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.

40 lines
2.0 KiB

7 years ago
[![Build Status](](
7 years ago
Compiler Explorer
7 years ago
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).
7 years ago
Try out one of the demo sites: [C++][cpp], [Rust][rust], [D][d] or [Go][go].
7 years ago
[cpp]: "Compiler Explorer for C++"
[rust]: "Compiler Explorer for Rust"
[d]: "Compiler Explorer for D"
[go]: "Compiler Explorer for Go"
### Developing
7 years ago
Compiler Explorer is written in node.js.
7 years ago
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/
7 years ago
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.
7 years ago
If you want to point it at your own GCC or similar binaries,either edit the
`etc/config/` or else make a new one with the name
``. 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.
### Credits
7 years ago
Compiler Explorer is maintained by [Matt Godbolt]( Multiple compiler and difference view was
implemented by [Gabriel Devillers](