aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
Commit message (Collapse)AuthorAge
...
* 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>
* Ignore trim filter for Hook (#4604)gh-5901Fábio de Souza Villaça Medeiros2023-01-20
|
* npm run lint to get const fixesgh-5871Jeremy Rifkin2023-01-17
|
* cleanup importsgh-5818partouf2023-01-14
|
* Add Julia (#4595)gh-5817Alex2023-01-14
|
* Tsify main (#4520)gh-5796Jeremy Rifkin2023-01-13
|
* Add Line Mapping Support to Hook (#4580)gh-5780Fábio de Souza Villaça Medeiros2023-01-13
|
* move emulation related fields to artifact system (#4567)gh-5748Patrick Quist2023-01-11
|
* Cmake build with ninja (#4287)gh-5747Patrick Quist2023-01-11
|
* Support for compiling to binary object (#3232)gh-5742Marc Poulhiès2023-01-11
|
* display crossgen2 version in asm output (#4526)kasperk812023-01-03
| | | dotnet 6 and 7 will also show the version once there is a new deployment. for now they are showing 7.0.0-dev and <unknown version> respectively
* Slightly more controversial bumpings (#4503)Matt Godbolt2023-01-03
| | | | | | | | | - latest sentry, tar-stream, which, some yamljs versions - latest eslint-* stuff - latest webpack manifest - Applies all the automatic fixes for newer lint rules - Bump the webpack version applies new tslint stuff
* Various enhancements for dotnet (#4362)Steve2023-01-03
|
* Mark Assembly compilers cfg-able (#4461)Rubén Rincón Blanco2023-01-03
|
* Working CL430 compilerJonathan Reichelt Gjertsen2022-12-22
|
* Update optionsForFilterJonathan Reichelt Gjertsen2022-12-21
|
* Add to start working on issue #4480Jonathan Reichelt Gjertsen2022-12-21
|
* Add support for clang-cl and llvm-undname (#4371)gh-5404Tobias Hieta2022-12-18
| | | | | * Added llvm demangler code * Added clang-cl compiler class
* Assert and unwrap utilities (#4437)gh-5389Jeremy Rifkin2022-12-18
| | | | | | | | | | | | | | | * Add assert and unwrap utilities * Playing around with diagnostics * lib/assert diagnostic implementation * Remove temporary testing stuff * Reset package-lock.json to before I messed with it * Further refinements and integration * Added licence and removed an obsolete eslint directive
* Don't try and hack the compilation results (#4429)gh-5327Matt Godbolt2022-12-12
| | | | | | | | | | | | * Don't try and hack the compilation results Carbon tried to synthesize "having run" by overriding and hacking a result routine...but did so _after_ it had been cached. So cached results were broken, but live results not. This "fixes" by adding a post-compilation, but pre-cache hook and uses that instead. Naming is terrible. I also took the time to fix the `CompilationResult`'s `buildResult` Closes #4426
* Make the linter happy (#4393)gh-5256Jeremy Rifkin2022-12-03
|
* Converted argument-parsers to ts (#4389)gh-5240Jeremy Rifkin2022-12-02
|
* Ts-ify carbon (#4384)gh-5215Matt Godbolt2022-12-02
|
* first bits of compiler interface (#4378)gh-5204Patrick Quist2022-12-02
|
* Port fortran.js to typescript (#4381)gh-5195Matt Godbolt2022-12-01
| | | | * Port fortran.js to typescript * @jeremy-rifkin suggestions
* obsolete varsgh-5133partouf2022-11-29
|
* format and lintgh-5130partouf2022-11-28
|