Commit Graph
499 Commits
Author SHA1 Message Date
Patrick Quist 67714e53ac Dosbox + Turbo C 2.01 support (#3627) 2022-05-13 01:18:03 +02:00
partouf 75b1c19197 formatfixes 2022-05-12 17:05:07 +02:00
partouf bb8f3b8c9a Merge branches 'bbcmicrothings' and 'main' of https://github.com/compiler-explorer/compiler-explorer into main 2022-05-12 16:54:43 +02:00
Rubén Rincón Blanco e937c7e1f9 Add semver check for ast dump in iscp (#3652)
* Add semver check for ast dump in iscp
Closes #3648

* Fix ast options

* Fix ast options x2
2022-05-12 15:40:58 +02:00
Rubén Rincón Blanco 0c2070aa85 Renable license checks (#3619)
* Renable license checks

* Set correct copyright date for unfurl-tests

* Fix small typo

* Fix license check line spacing

* Disable license check

* Go to old format for gcc dump view
2022-05-12 03:18:42 +02:00
partouf cb7a772e4a Merge remote-tracking branch 'origin/main' into bbcmicrothings 2022-05-11 16:51:37 +02:00
Matt Godbolt f2c1e0bd31 The Grand Reformat (#3643)
* The Grand Reformat

- everything made prettier...literally
- some tweaks to include a few more files, including documentation
- minor changes to format style
- some tiny `// prettier-ignore` changes to keep a few things the way we like them
- a couple of super minor tweaks to embedded document types to ensure they format correctly
2022-05-09 23:13:50 -05:00
Jeremy Rifkin 7e7dd0ff37 Fix for #3637 (#3638) 2022-05-09 13:17:47 -04:00
Patrick Quist e984c9ab3d Option to load a custom popular arguments json from disk (#3597) 2022-05-06 19:05:24 +02:00
A S E d4cd96eb26 Add GHC Core and Cmm views #3571 (#3593) 2022-05-04 14:28:49 +02:00
Headline d68cc806b1 Automatically detect Java entry points (#3614) 2022-05-02 17:30:01 +02:00
Patrick Quist 2f56da5f92 lintfix 2022-04-30 17:46:05 +02:00
Patrick Quist fa9a274828 Clang force dwarf4 (#3604)
* this works, but args are hidden for user

* moved to optionsforfilter so user can see the parameter
2022-04-29 14:12:52 -05:00
A S E 943af8f831 add a view for Haskell STG intermediary output #3571 (#3585) 2022-04-28 09:53:11 -05:00
RabsRincon 154c18a40e Add noImplicitOverride to tsc config 2022-04-27 07:37:11 +02:00
Matt Godbolt 7bb57642a3 Lint fixes 2022-04-26 09:24:37 -05:00
Rubén Rincón Blanco 4965bd6c81 All semver comparisons now ensure it's safe to do so (#3562)
* All semver comparisons now ensure it's safe to do so

* Oops, use correct class

* Remove leftover import

* Leave the Zig fixes for another PR

* Fix linter

* Fix test issues

* Make linter happy, yet again

* What?

* Address PR review
2022-04-26 15:24:40 +02:00
RabsRincon 40fe769459 Set comma-dangle to always in server code and es5 in client code 2022-04-26 05:26:48 +02:00
Anders-T | 0x80.eth fb35d64a92 Fix Solidity compilers and line numbers in versions 0.4.x - 0.8.x (#3561)
* fixing compilers 0.4.x - 0.8.x

* update contributors file
2022-04-26 04:20:13 +02:00
Matt Godbolt 21b764f392 Unify comma configuration; and apply format to some files. (#3559) 2022-04-25 18:22:11 -05:00
Anders-T | 0x80.eth aa78a5ff17 Map solidity EVM assembly to lines of code (#3545)
* taking a snapshot of progress so far - generated sources are getting processed, and some fairly basic asm line assigning, but needs a second pass to rectify the issue of an asm instruction being attributed to multiple lines of code

* fixed silly bug in instruction line thing

* giving tags in generated sources human readable names

* generate human friendly tag names for tags in non-generated code, using AST to figure out which function we're in

* restoring most of the original formatting, and got constructor etc working too

* fixing linting errors

* add some comments
2022-04-24 02:18:35 +02:00
Alexey ShekhirinandRubén Rincón Blanco 2001d1b65e Add support for Solidity (#3507)
* feat(compilers): Solidity support MVP

* don't concat userOptions in optionsForFilter

* fixes after review

* Update etc/config/solidity.defaults.properties

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

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-04-14 02:33:13 +02:00
Rubén Rincón Blanco 48c95e849d Adds overridable orderArguments function (#3489)
Closes #3488
2022-04-02 23:26:11 +02:00
Matt Godbolt 3fba855d38 Some fixups for typescript (#3452) 2022-03-21 23:21:57 -05:00
ODuzharandAlex D df3042f29b Added TypeScript Native compiler (#3448)
* progress

* added some config

Co-authored-by: Alex D <duzhar@gmail.com>
2022-03-21 22:14:03 -05:00
Jeremy Rifkin 419d386bd9 Added keyword-spacing eslint rule and fixed instances of inconsistent spacing (#3428) 2022-03-07 22:38:58 -06:00
Jeremy Rifkin aa516e36df Add llvm-symbolizer to ASAN_SYMBOLIZER_PATH (#3425) 2022-03-07 11:13:06 +01:00
Rubén Rincón Blanco 48eee26d2c Group some files to their own folders (#3384)
* Group some files to their own folders

In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder

Added cypress folder to .gitignore

* Address Matt's PR reviews

* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Patrick Quist 0bc22bb148 when no files are supplied, no need to do anything special for them either (#3371) 2022-02-17 16:50:02 +01:00
RabsRincon 53a17f5b69 Please the liner 2022-02-13 23:02:02 +01:00
Michael Debertol f0f744d072 Add more dart versions (#3361) 2022-02-13 20:06:51 +01:00
Rubén Rincón Blanco 045c68d1bc Add strict tsc flag for the backend ts code (#3355) 2022-02-12 02:41:24 +01:00
Michael Debertol 3f695c9cc1 Add Dart support (#3352) 2022-02-11 16:19:16 +01:00
Steve bb1f491b58 Implement asm-parser for dotnet (#3334) 2022-02-11 15:22:08 +01:00
Patrick Quist 20e022ed7c in case of win32 binary mode, use the binary parser and associate obj filenames even if theres no lineno info (#3341) 2022-02-07 22:48:01 +01:00
Marc Poulhiès ef74c3aa0e Ada: Fix intel filter active even for cross compilers (#3318)
The property was incorrectly hardcoded in the AdaCompiler class.
As GNAT does not have an argument-parser, we can't rely on autodetecting the
-masm support. The easiest way is to simply define the intelAsm property for
GNAT compilers known to support it.

Fixes #3310

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-02-03 00:24:45 +01:00
Patrick Quist c28d535c1e Changes needed to make dotnet work with nsjail (#3307) 2022-02-01 08:39:55 +01:00
Marc Poulhiès c4e76cd7a4 Add GNAT cross compiler from Alire project (#3294)
Add new adarts compiler properties used to set the RTS (if needed) to be used by
GNAT. This is needed as the cross compilers come with several RTS and you must
provide one.

Use Alire (https://alire.ada.dev/) cross compilers for ARM32 and RISC-V 64.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-30 10:49:13 -06:00
Mats Larsen 7c966783ac Fix lib/compilers/dotnet lint error 2022-01-30 14:47:55 +01:00
Steve 0a3aadbe80 Add support for C#, F# and Visual Basic (#3168) 2022-01-29 16:16:27 +01:00
Marc Poulhiès b83dafac61 Add comment for GNAT handling of command line options and enable strings (#3252)
Add some comments around the command line options handling of GNAT.

Add strings tool for Ada.

Also enable binary and execution in the default config.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-25 08:54:42 +01:00
RabsRincon 91e4f3702a Make sure asm-raw behaves on compilation errors
Closes #3198
2021-12-31 13:23:22 +01:00
Gregory Anders 7f0bc32ae4 API: Change 'filters' option to be additive (#3206) 2021-12-28 15:35:46 +01:00
Marc Poulhiès 86dd8f7814 Ada: new pane for GNAT Debug Tree (#3190)
Support for the GNAT Tree emitted by `-gnatdt` on stdout.
The pane is also available in the diff tool.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-28 15:35:11 +01:00
partouf 8feb8ca9b3 add basic beebasm support 2021-12-19 02:54:46 +00:00
Marc Poulhiès 04787cef05 Fix source/assembly mapping when GNAT expanded code pane opened (#3177)
* Fix source/assembly mapping when GNAT expanded code pane opened

Using -gnatDGL to get the expanded code also asks GNAT to emit debug
informations pointing to the .dg file containing the expanded code, breaking CE
that is using these info to map assembly and source lines. Using -gnatGL instead
avoids the breaking of asm/source mapping but emits the expanded code in stdout
instead of a plain file.

This change replaces -gnatDGL by -gnatGL and extracts the expanded code from
stdout.

fixes #3171

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>

* fixup! Fix source/assembly mapping when GNAT expanded code pane opened
2021-12-15 19:19:35 +01:00
Marc Poulhiès 24693766d0 rust: HIR dump and small refactor with macro expansion (#3147)
Small refactoring for handling -Zunpretty calls:

- reuse options from main compiler invocation instead of crafting new ones.
- factor out common part.

Now also handles HIR output in a dedicated pane.
Still a lot of copy/pasting from the macro expansion.

fixes #2567

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-05 19:04:12 +01:00
Mats Larsen 560d18c410 Temporarily patch Kotlin runtime execution (#3151)
Fixes the problem where any (reasonable) Kotlin JVM execution would fail with a NoClassDefFound error with kotlin.jvm.internal.Intrinsics.

The Kotlin execution is now packed into a jar with the Kotlin Standard Library and executed with java -jar.
2021-12-03 22:59:08 +01:00
Björn Gustavsson 12d27b59b7 Format the output file for Erlang in a nicer way (#3135)
For Erlang, format the output in the same way as the 'S' option
does. To achieve this, we use the `beam_listing` module, which is
undocumented but has been stable for many many years.
2021-11-24 08:30:34 -06:00
Marc Poulhiès 8a6701f3a1 Fix and refactor rustc-cg-gcc GCC dump (#3128)
Conflicting changes in #3109 and #3064 left the GCC dump of rustc broken.

Reapplied the changes and refactored how the -fdump-foo-pass= option is crafted.
Instead of using stdout, use an explicit file. Beware that this won't work with
older GCC version. Regular GCC is still using the 'dump all files' instead of
the targeted option, so it's not impacted by this limitation. Only rustc-cg-gcc
is currently using this mecanism and it's using a recent libgccjit.

Really fixes #2868

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-11-22 00:08:02 +01:00