Commit Graph
77 Commits
Author SHA1 Message Date
Timothy MooresandPatrick Quist 82772f4bbb add support for erlang to beam bytecode (#3094)
* add support for erlang to beam bytecode

* changed call by 'this' to overridden functions

* Update base-compiler.js

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-11-21 14:22:04 +01:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Quinton Miller 7e1835fa0f Add support for Ruby (#2816) 2021-07-30 16:29:37 -04:00
Michał Cichoń 3bce751739 Add support for Circle (https://www.circle-lang.org/) (#2808)
* Add support for circle-lang (closes #1845)
* Add circle-128 version.
* Support keywords starting with @ (thanks Matt!)
2021-07-25 21:26:00 -05:00
Jason Zheng 18a03e5577 Add C++ for OpenCL language (#2771) 2021-07-13 09:24:13 -05:00
Quinton Miller 6ea7669814 Override CC env variable in Crystal propeties (#2776) 2021-07-12 08:37:32 -05:00
Quinton MillerandPatrick Quist 94ecb093a0 Add Crystal support (#2732)
* Add Crystal support

* Fix copyright

* Add ASM parser for Crystal

* Add supportsLibraryCodeFilter

* Update crystal-mode.js

* use baseName

* Force `square` call

* Update default snippet

Co-authored-by: Patrick Quist <partouf@gmail.com>
2021-07-08 00:23:48 +02:00
Jason Zheng 70cb841daf Add OpenCL C language (#2752) 2021-07-06 08:32:22 -05:00
Oleksandr d1da148563 Add initial scala support (#2737)
* Add initial scala support

* Fix scala 3 compiler flags

* Use semver instead
2021-06-29 09:39:06 +02:00
Matt Godbolt 8c2bed4819 Updates to better support cppx-blue
With @hsutter
2021-06-25 17:23:51 -05:00
b4ebb47ac2 Add Kotlin/JVM support (#2637)
* Add Kotlin/JVM support

* Update CONTRIBUTORS.md

* Use kotlinc-jvm instead of kotlinc

* Fix alphabetical ordering

* Filter kotlin compiler arguments

Extract user options filtering for java into a separate function to
handle filtering options with extra arguments.
Filter kotlin compiler options: -d, -jdk-home, -kotlin-home, -script, -progressive

* Filter -Xjavac user options

Filter any option that starts with '-Xjavac', as it could be used to pass unwanted options through kotlinc to javac.

* Fix year in copyright

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>

* Add kotlin.amazon.properties

* Add JAVA_HOME to kotlin default exec options

Query per-compiler property 'java_home' and set environment

* Add java_home to kotlin properties

Co-authored-by: Daniel Below <daniel.below@jetbrains.com>
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2021-06-02 22:58:41 +02:00
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