redzic
9e27ff27fb
Make Rust examples more idiomatic ( #2634 )
...
* Make Rust examples more idiomatic
* Make 'non-idiomatic' example match the aligned version
* Rename examples
2021-05-05 11:52:24 +02:00
Patrick Quist
ce64888b7e
More rust examples ( #2482 )
...
* more rust examples
* Update default.rs
2021-03-11 17:30:03 +01:00
Danil Yarantsev
62902ddd53
Add more Nim examples ( #2265 )
...
* Add more Nim examples
* Newlines :P
* Replace it with openArray
* Remove march, seq
* fix typo
2020-10-08 23:58:33 +02:00
Danil Yarantsev
d1ddfcf075
Make Nim example actually work ( #2264 )
2020-10-08 23:58:20 +02:00
Patrick Quist
60abd009ed
Swift executions ( #2216 )
...
* enable swift execution
* execution example
* disable swift binary+execution until v5, and v5.0 gives a runtime error
2020-09-20 01:18:54 +02:00
Matt Godbolt
33bb9965cd
Partially address #2201
2020-09-17 21:59:34 -05:00
sdgoodrick
a41d7becf6
add support for cppx blue and gold languages ( #2144 )
2020-08-20 16:27:15 +02:00
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