Commit Graph
65 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
Rubén Rincón Blanco b6338e0897 Adds supportsExecute language option (#2963)
* Adds supportsExecute language option

It's recalculated every time the compilers change
2021-10-04 21:47:29 -05:00
Mats Larsen 8c852d90fa Rename CUDA to CUDA C++ in language dropdown (#2938) 2021-09-15 16:11:01 +02:00
partouf eda7397668 add .ixx to c++ extensions 2021-09-13 21:12:45 +00:00
bc6757ae94 Pascalchanges (#2881)
* Changes to allow Program (vs Unit) in Object Pascal

* add possibility of dpr

* more flexibility with pascal filenames

* lintfixes

* i have no idea what im doing

* apply changes to pascal-win

* pascal fixes

* pascal projectfile changes

* work in progress

* bugfixes

* bla

* bugfixes

* mostly working

Co-authored-by: paul mcgee <paul.mcgee.8@bigpond.com>
Co-authored-by: Paul McGee <paulmcgee1969@gmail.com>
2021-09-13 20:22:27 +02:00
Patrick Quist 27d29d991a allow .f fortran file 2021-08-27 20:36:45 +02:00
Patrick Quist 5e5e60159a Multifile/IDE mode (#2725) 2021-08-26 21:57:07 +02:00
Mats LarsenandMatt Godbolt 53b9e0ac59 Support multiple formatter types for /api/format (#2818)
* Make /api/format handle multiple formatter types
* Ignore preferred style if the formatter is a 'one true style' formatter
* Add tests for base formatter
* Document /api/formats and /api/format/<formatter> usage
* Document adding a new formatter
* Update amazon config

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2021-08-24 18:46:38 -05: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
Matt Godbolt 25f48a89a0 Reassign my copyright to Compiler Explorer Authors 2021-07-24 08:46:18 -05:00
RabsRincon db6626e3e8 Reassign my copyright to Compiler Explorer Authors 2021-07-24 00:51:34 +02:00
Jason Zheng 18a03e5577 Add C++ for OpenCL language (#2771) 2021-07-13 09:24:13 -05:00
partouf 2eebf0372f lint fixes 2021-07-08 14:40:41 +00: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
Matt Godbolt 1d7455e1d5 Re-enable java. Closes #1438 2021-04-26 21:18:15 -05:00
Austin Morton 044dcfbf88 Use ES6 Modules (#2132) 2020-09-26 16:59:26 -04:00
sdgoodrick a41d7becf6 add support for cppx blue and gold languages (#2144) 2020-08-20 16:27:15 +02:00
Rubén Rincón BlancoandAustin Morton ccff4b9ee5 Add new eslint rules (#2121)
The largest changes here are:
- enforcing single quotes for strings
- enforcing trailing commas where possible

In addition to those we have enabled several eslint plugins:
- plugin:requirejs/recommended, to enforce some conventions in require statements
- plugin:node/recommended, to enforce correct usage of various node.js APIs
- plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules

This PR attempts to not change code behavior when possible.  In cases where fixing
existing code would change semantics, a linting exclusion has been placed in the 
code base to silence the error.  You can find these by searching for `eslint-disable-next-line`.

Co-authored-by: Austin Morton <austinpmorton@gmail.com>
2020-08-04 16:39:02 -04:00
Ray Imber a255a4a861 Added Monaco editor syntax highlight support for Nim. 2020-01-02 13:31:49 -08:00
RabsRincon 497f7ed653 * Add nim language support 2020-01-01 15:51:03 +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
Matt Godbolt 366add6304 Temporarily disable java (see #1438) 2019-06-10 22:56:42 -05:00
Christian Vonrüti 92914a76c8 Initial Java/javap support 2019-05-26 19:16:54 +02:00
Sebastian Staffa a36e23ca79 Fix cuda disassembly code highlighting
+ Fix highlighting of ptx registers
+ Fix highlighting of ptx predicated instructions
+ Add the possibility for all languages to specifiy a seperate monaco language definition for the output pane. Defaults to 'asm'.
2019-03-11 17:46:49 +01: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 8c37077f74 Initial Ada language support. 2018-11-17 17:54:18 +11:00
Andre Meyering 848e84f85f [Monaco] Add llvm syntax highlighting 2018-10-22 09:16:17 +02:00
Patrick Quist 866361fae7 Merge pull request #1106 from mattgodbolt/clean
Clean support
2018-10-13 17:20:56 +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 706f408a2c trying out styling 2018-10-06 23:56:55 +02:00
Partouf 6a769c1eba basic asm producing compilation with clean 2018-10-06 23:56:48 +02:00
Rubén cdb37a7aa2 Merge branch 'master' into zig-support 2018-09-09 14:06:38 +02:00
Marc Tiehuis ffd04ac764 Add zig support 2018-09-09 23:36:17 +12:00
RabsRincon d1a7c9f8ae Ensure C has proper keyword matching in Monaco
As specified in https://en.cppreference.com/w/c/keyword

Closes #1067
2018-09-08 13:22:14 +02:00
RabsRincon bdc447fe30 Fix local storage & add compiler name to unfurling 2018-08-20 11:10:23 +02:00
RabsRincon 8ec2e09a1d Add language id programmatically 2018-07-09 14:09:57 +02:00
RabsRincon 8242db38a9 Add some type documentation to some lib files 2018-07-09 14:04:36 +02:00
RabsRincon 7c18ffe8cf Drop underscore-node in favour of underscore.js
After some suprises about how outdated the node version was compared to
	the main project, it became clear we needed to do something.
	@jaredwy suggested using the main project as there's now nothing
	stopping us from using it after the switch to webpack.

cc @mattgodbolDrop underscore-node in favour of underscore.js
2018-06-15 15:04:55 +02:00
RabsRincon 019a4df4ef Fix prependOptions visibility 2018-05-29 18:16:30 +02:00
RabsRincon f85fe29eb1 Add cuda-mode.js, derived from cppp-mode.js 2018-05-09 15:18:34 +02: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
Rubén 2986ccb52b Merge pull request #845 from mattgodbolt/copyright
Fix copyright dates and normalize text
2018-02-27 22:15:05 +01:00