aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
Commit message (Collapse)AuthorAge
...
| * using asSafeVer and cleanupsASDAlexander772023-06-06
| |
| * improved version controlASDAlexander772023-06-06
| |
| * double quote fixASDAlexander772023-06-01
| |
| * support for tsc version 33 and aboveASDAlexander772023-06-01
| |
| * add support to query and parse c standard versions (#5082)gh-7518Patrick Quist2023-05-30
| | | | | | Fixes #5071
| * Add new "Debug intrinsics" filter. (#5045)gh-7478fodinabor2023-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, this removes all `llvm.dbg.*` calls from LLVM IR. This is useful to keep coloring the line correspondence between source and IR, while not polluting the IR with the debug intrinsics. Admittedly, I don't have much of a clue of what's going on here, so I might be missing obvious adaptions (e.g. can we disable this for all non-LLVM compilers for now somehow?). Also, not really a Node.JS testing wizard either... 🤷🏼 Just wanted this really bad for a workshop that's coming up soon ^^ Only tested with my system's default `clang` for now. Fixes #5044 --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>
| * Compiler overrides (#5001)gh-7408Patrick Quist2023-05-16
| |
| * A somewhat hacky way of making circle link against clang trunk's libs (#5024)gh-7349Matt Godbolt2023-05-09
| |
| * Offer timetrace json to view somewhere (#4967)gh-7162Patrick Quist2023-04-23
| |
| * solidity dont fail on missing generatedSources (#4968)gh-7113Patrick Quist2023-04-19
| |
| * fix golang env vars (#4975)gh-7112Patrick Quist2023-04-19
| |
| * vala: Add an option to set PKG_CONFIG_PATH envvar (#4959)gh-7089David Hewitt2023-04-17
| | | | | | | | | | | | | | | | | | | | | | In conjunction with https://github.com/compiler-explorer/vala-builder/pull/1, this should fix #4958 Vala uses `pkg-config` to locate libraries to link with and then passes the relevant args to `CC`, so in the live environment, we need to provide the `pkg-config` files for the minimum required libraries in the compiler prefix, and then use this environment variable to allow `pkg-config` to locate them.
| * Add the Vala programming language (#4955)gh-7078David Hewitt2023-04-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://gitlab.gnome.org/GNOME/vala/ for the language repository. > Vala is a programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. > > `valac`, the Vala compiler, is a self-hosting compiler that translates Vala source code into C source and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. > > The syntax of Vala is similar to C#, modified to better fit the GObject type system. I've also created https://github.com/davidmhewitt/vala-builder based on https://github.com/compiler-explorer/python-builder and tested that it can build tarballs of arbitrary versions of Vala. I'd be happy to transfer the ownership of this repository, or feel free to clone it into the `compiler-explorer` org. However, I'm a little unsure of how to join up the pieces and get this Docker builder integrated with the `infra` repository. Let me know where to go next and I'd be happy to open the relevant PRs.
| * Add minimal TI-C2000 compiler support (#4625)gh-7049Jeremy Overesch2023-04-05
| | | | | | This adds the ability to use TI's C2000 compiler with basic directive filtering and assembly code parsing.
| * Upgrade all minor versions; format; bump sonar and css minimizer (#4920)gh-6999Matt Godbolt2023-04-01
| |
| * Support configuring extra arguments for the demangler, objdumper and ↵gh-6987zebrapurring2023-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | execution wrapper (#4883) Some toolchains require passing non-standard, mandatory arguments to the CLI tools in order to execute them (configuring licenses, selecting CPU targets, etc.). This PR allows configuring extra command-line arguments for the demangler, object dumper and the execution wrapper. The version flag argument has been refactored into an array, so that more than one argument can be passed, if necessary. The changes are fully backwards compatible. Co-authored-by: zebrapurring <>
| * Add d8 for disassembling javascript (#4721)gh-6985Gaurav Gautam2023-04-01
| | | | | | https://github.com/compiler-explorer/compiler-explorer/issues/264
| * Initial support for GCC cobol (#4908)gh-6951Marc Poulhiès2023-03-29
| | | | | | | | | | | | | | | | Support for GCC cobol snapshot for external repository (until it is merged in GCC, someday). fixes https://github.com/compiler-explorer/compiler-explorer/issues/4893 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
| * Limits + windows linking (#4898)gh-6942Patrick Quist2023-03-23
| |
| * add properties and test for cewrapper (#4761)gh-6911Patrick Quist2023-03-18
| |
| * Support for CompCert (#4878)gh-6903Marc Poulhiès2023-03-17
| | | | | | | | | | | | | | | | | | | | Add support for CompCert (https://github.com/AbsInt/CompCert) from AbsInt. As a first step, only x86 and x86_64 are supported. fixes #595 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* | Emit Val IR instead of ASM for nownickpdemarco2023-08-02
| |
* | Worked through most of AddingALanguage.mdnickpdemarco2023-03-17
|/
* add back --parallelism (#4885)gh-6902kasperk812023-03-17
| | | | missed --parallelism in https://github.com/compiler-explorer/compiler-explorer/pull/4821.
* GnuCOBOL: allow use of default copybooks (#4858)gh-6800Simon Sobisch2023-03-12
| | | | Fair warning: this was just edited online, I've no clue if this works (or at least still compiles)
* Bump all minor versions - npm update; also bump webpack version ↵gh-6756Matt Godbolt2023-03-12
| | | | | speculatively... (#4851) also npm lint and format to make sure any changes turn up.
* Merge remote-tracking branch 'origin/main' into wxwisiasdf-cobol2Matt Godbolt2023-03-12
|\
| * rename jit option for dotnet 8 (#4821)gh-6737kasperk812023-03-11
| |
| * Fix and update NVRTC compiler (#4804)gh-6710Ben Barsdell2023-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recent change to the way NVCC compilation is handled broke support for NVRTC. NVRTC can only compile device code, so the host-compilation approach now used for NVCC (using --keep) is incompatible. This PR gives the NVRTC compiler its own class and restores the old behavior. The class is a copy of the old NvccCompiler class, with minor updates to match the code in the new NvccCompiler class where possible (plus TypeScript). This PR also removes NVRTC from `cuda.gpu.properties` (because its output cannot be executed), and updates the list of versions to match NVCC. cc @jrhemstad @trxcllnt
* | Rename cobol-> gnucobol and fix up relocationMatt Godbolt2023-03-12
| |
* | Fix and update NVRTC compiler (#4804)Ben Barsdell2023-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The recent change to the way NVCC compilation is handled broke support for NVRTC. NVRTC can only compile device code, so the host-compilation approach now used for NVCC (using --keep) is incompatible. This PR gives the NVRTC compiler its own class and restores the old behavior. The class is a copy of the old NvccCompiler class, with minor updates to match the code in the new NvccCompiler class where possible (plus TypeScript). This PR also removes NVRTC from `cuda.gpu.properties` (because its output cannot be executed), and updates the list of versions to match NVCC. cc @jrhemstad @trxcllnt
* | Add basic COBOL supportwxwisiasdf2023-03-01
|/
* Transition to ECMAScript Modules (#4780)gh-6536Mats Jun Larsen2023-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes the Compiler Explorer app, and all the tooling ESM compatible. Things that have been done: 1. The package.json has `type: module` now 2. All relative imports have a .js ending 3. All directory imports are now directory/index.js to comply with ESM standards 4. Dependency node-graceful is now imported into tree, because the package is broken under esm 5. Dependency p-queue has been bumped to 7.x with ESM support 6. Dependency profanities has been bumped to 3.x with ESM support 7. Webpack config is now both ESM and CommonJS compatible 8. Non-ESM compatible imports have been rewritten 9. ESLint configuration has been tweaked to not fail on .js imports 10. Mocha is now hacked together and ran with ts-node-esm 11. Webpack is now hacked together and ran with ts-node-esm 12. Webpack config is now ESM compatible, so that it can be used in the dev server 13. Cypress code still runs commonjs, and has been excluded from the tsconfig 14. All sinon mock tests have been commented out, because sinon module mocks do not work with ESModules (because ESModules are immutable) A lot of tests are now giving warnings/errors to stdout, yet still pass. Docenizer codegenerator scripts have been updated, but I did not re-run them, and instead just changed their code. --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>
* Fix trailing comma issue (#4775)gh-6504Jeremy Rifkin2023-02-26
| | | | | Make trailing commas more consistent throughout the project, fixes config conflict between eslint and prettier. Resolves an oversight in #4766.
* Turn some auto-fixable eslint rules back on (#4766)gh-6434Jeremy Rifkin2023-02-23
| | | | | | This PR turns comma-dangle and indent eslint rules on for lib/. These are rules inherited from the eslint config for static/, this PR just makes things more consistent. Also turned @typescript-eslint/no-var-requires back on while I was here.
* Initial support for Modula-2 language (#4747)gh-6431Marc Poulhiès2023-02-23
| | | | | | | | | | With the upcoming gcc 13 release and its shiny Modula-2 frontend, we are introducing Modula-2 support in Compiler Explorer :) Currently, only the gcc-snapshot build supports modula-2. fixes #4688 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Type work for some handlers and stuff related to the compiler-finder (#4752)gh-6407Jeremy Rifkin2023-02-22
|
* Update hook-mode.ts (#4756)gh-6358Fábio de Souza Villaça Medeiros2023-02-19
|
* fix: compile to binary object not working with ldc/dmdgh-6311gh-6309Marc Poulhiès2023-02-14
| | | | | | | | | | | | | | The compile to binary object has been enabled by mistake for dmd and ldc, so taking the opportunity to implement it. ldc is sensitive to output filename extension (.s will force assembly output, .o binary). dmd accepts -c to skip the link step. fixes #4649 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* [Julia] show options from compiler wrapper not Julia runtime (#4716)gh-6268Valentin Churavy2023-02-12
| | | | | | https://github.com/compiler-explorer/compiler-explorer/pull/4674 wasn't quite finished. This goes the last mile, and shows the user the options from the compiler-wrapper.
* Add JuliaParser (#4674)gh-6214Valentin Churavy2023-02-10
| | | If I understand this right this should populate the list of options for the "compiler options" drop-down
* TSify the compiler args (#4692)gh-6213Matt Godbolt2023-02-09
|
* Scala fix (#4683)gh-6107Jeremy Rifkin2023-02-01
|
* Fix internal error on Java compilation (#4668)gh-6082SeekingBlues2023-01-31
|
* npm update and prettiergh-6048Matt Godbolt2023-01-29
|
* Fix up hoom_home for interpreting (#4651)gh-6039Matt Godbolt2023-01-29
|
* Tsify lib/compilers (#4609)gh-6026Jeremy Rifkin2023-01-29
|
* Fix module loading in Hook compiler (#4639)gh-5997Fábio de Souza Villaça Medeiros2023-01-28
|
* Tsify compilation-env (#4636)gh-5967Jeremy Rifkin2023-01-25
|
* Initial support for Objective-C/Objective-C++gh-5918gh-5916Marc Poulhiès2023-01-21
| | | | | | | | | | | | | | | Currently only list GCC compilers as a first step. Will add clang in a followup change. Port gcc.js to Typescript (simple renaming). Package the objectivec language support for Monaco. Add very basic example. Something more objc/objc++ specific would be better. fixes #2942 Signed-off-by: Marc Poulhiès <dkm@kataplop.net>