Patrick Quist
5bc4e3b133
enables binary+execution for ADA ( #1971 )
...
* enables binary+execution for ADA
* generic bandaid for missing executables
* -eS commands are not errors
* support error annotations
* restore original default but add exec example
* re-enable rpath
* add tools
2020-05-20 12:54:34 +02:00
Tony Yang
2501734007
Fix Rust Max_array examples ( #1960 )
...
* Fix Max_array.rs iter_mut is not necessary
The previous example failed to compile as `y` was not borrowed as a mutable reference but used to produce a mutable iterator. Changing from `iter_mut()` to `iter()` resolved this issue.
* Fix Max_array_(Optimized).rs
The previous example failed to compile as `y` was not borrowed as a mutable reference but used to produce a mutable iterator. Changing from `iter_mut()` to `iter()` resolved this issue.
2020-05-11 01:03:13 +02:00
Christopher Serr
91a35e65d4
Improve the Rust examples
...
This commit
- formats the Rust examples idiomatically
- uses idiomatic code
- uses only safe code without compromising on performance
- makes them compile on stable
2020-03-26 23:28:49 +01:00
bastien penavayre
6c7c90c558
More idiomatic Nim example
2019-12-28 14:27:14 +01:00
bastien penavayre
620d9f4b62
Standardize nim example
2019-12-26 17:48:40 +01:00
bastien penavayre
3492287638
Add support for Nim language
...
- Add language
- Adds Nim compiler
- supports js, c, c++ outputs (objc not tested)
- prevent --run option
- Basic test for nim
Todos:
- monaco profile for Nim
2019-12-26 11:03:20 +01:00
Sebastian
78b3381c84
* Add Python support ( #1612 )
2019-10-30 19:51:38 -04:00
Christian Vonrüti
25ebb07b72
Add default example for Java
2019-05-26 19:45:20 +02:00
Matt Godbolt
bb9105bf25
Merge pull request #1225 from Freyr666/OCaml
...
OCaml language support
2019-01-24 07:46:35 -06:00
Freyr
7e1b454d93
OCaml language support
2018-12-15 21:31:15 +03:00
Mitch Kennedy
061e030d9f
Fixed typos in example programs.
2018-11-23 18:26:36 +11:00
Mitch Kennedy
4907e1a91c
Ada language support working locally
2018-11-23 15:10:15 +11:00
Mitch Kennedy
8c37077f74
Initial Ada language support.
2018-11-17 17:54:18 +11:00
Partouf
fe39bdab70
bugfix clean example file
2018-10-14 01:30:35 +02:00
Patrick Quist
866361fae7
Merge pull request #1106 from mattgodbolt/clean
...
Clean support
2018-10-13 17:20:56 +02:00
dbroemmel
012459a252
Adding indenting for Fortran syntax highlighting, fixing examples to
...
correspond to that.
2018-10-12 13:26:38 +02:00
Dirk Brömmel
f81994061f
Create dot_product.f90
...
A simple example to see the effect of compiler flags/
2018-10-12 13:26:38 +02:00
Dirk Brömmel
4cb92a43c0
Update default.f90
2018-10-12 13:26:38 +02:00
dbroemmel
12dbaf3da6
Initial version of (patchy) Fortran support.
...
Syntax highlighting is basic at best on a 'works for me basis'.
2018-10-12 13:26:38 +02:00
Partouf
cee40e9016
max already defined
2018-10-07 04:07:43 +02:00
Partouf
6e335bdfbc
clean examples
2018-10-07 03:37:53 +02:00
Partouf
d421df6488
default icl
2018-10-06 23:56:55 +02:00
Matt Godbolt
199f4876c8
Merge pull request #745 from jsheard/rust-example
...
Simplify Rust sum_array examples
2018-09-29 19:10:46 -07:00
Marc Tiehuis
ffd04ac764
Add zig support
2018-09-09 23:36:17 +12:00
Matt Godbolt
ac8d24a369
First stab at CUDA support. See #221
2018-05-07 18:22:58 -05:00
Filipe Cabecinhas
b929d42c0b
Add an 'analysis' tool class, and add llvm-mca as its first client
2018-05-04 11:44:08 +01:00
RabsRincon
2e219a2294
Improve syntax highlight switching on AST and Opt
2018-03-28 22:23:06 +02:00
Adrian Bibby Walther
5e1245cb53
Added basic support for LLVM IR
2018-02-26 13:24:11 +01:00
Joshua Sheard
e5ecb46309
Add naive c-like version of Rust sum_array examples
2018-01-07 17:25:14 +00:00
partouf
404a9c110b
basic setup for nasm and gnu as
2018-01-06 07:23:28 +01:00
Joshua Sheard
b0908584fa
Simplify Rust sum_array examples
2018-01-04 18:57:02 +00:00
RabsRincon
e6bd714840
Add C & CPPX examples. Add load() builtin tests
2017-12-12 23:51:34 +01:00
RabsRincon
43279a61ca
Fix various points raised after code reviews
...
Some fixes, a great slam and then some
2017-12-09 11:19:45 +01:00
partouf
4acad7e088
pascal rename
2017-11-24 18:08:32 +01:00
partouf
c9c62ac4b2
Minimal FPC support
2017-11-15 21:17:02 +01:00
Rubén
85a392fdcf
Split libs in columns of 5
2017-10-16 10:37:03 +02:00
Rubén
6f7a4b8b4a
Add D examples and beautify all examples names
2017-10-12 02:15:31 +02:00
Matt Godbolt
26d7bfa6fa
Fix max array opt version
2017-07-12 12:34:04 -05:00
Matt Godbolt
ca7b7ba066
Add ldc 1.3.0 (see #481 )
2017-07-12 12:25:48 -05:00
Matt Godbolt
db8bf4e520
Early support for swift. test with make EXTRA_ARGS="--language Swift"
...
Huge thanks to @adamnemecek for his help: this is mostly a
merge of his branch.
2017-06-19 19:40:46 -05:00
Simon Brand
8dbd5dc139
Add Haskell support
2017-06-08 19:52:50 +01:00
Joshua Sheard
8ae32962e9
Mention alignment flag in example
2017-06-04 18:32:19 +01:00
Joshua Sheard
4e9d4fa6f2
Fix upper bound in ISPC max_array
2017-06-04 15:46:32 +01:00
Joshua Sheard
4fc0ec68df
Add support for Intel ISPC compiler
2017-06-03 22:26:50 +01:00
Matt Godbolt
d11fb2c206
Merge branch 'master' into msvc-spike
...
Conflicts:
app.js
etc/config/gcc-explorer.lud-ldnmg01.properties
lib/asm.js
lib/compile.js
package.json
static/asm-mode.js
static/compiler.js
test/test.js
2016-10-03 18:03:52 -05:00
Tal Ben-Nun
6580f50d52
Better alignment hint for "max array (optimized)"
2016-06-26 12:30:12 +03:00
Matt Godbolt
4e89ed2db9
Binary mode tweaks
2016-06-13 21:20:30 -05:00
Vinzent Steinberg
8c59c340c0
Fix Rust examples for current nightly
...
Also remove trailing whitespaces.
2016-03-02 23:50:58 +01:00
Matt Godbolt
05668f7f79
Improve c++ example
2015-12-08 02:50:34 -06:00
Matt Godbolt
efe24d0fb4
Update optimized examples to work with GCC 5.1 and Clang (thanks @cdomville)
2015-06-23 18:24:57 -05:00