Commit Graph
8085 Commits
Author SHA1 Message Date
Matt Godbolt 623b94de15 Whitespace fix gh-7537 2023-06-04 15:41:04 -05:00
Matt Godbolt 9bf481ef16 Update README.md gh-7533 2023-06-03 10:43:11 -05:00
Jeremy d9d6307f60 Fix docenizer makefile and committing changes from regenerating the docs gh-7532 2023-06-03 01:28:22 -04:00
aliaegikandRubén Rincón Blanco 91334b9d9b New Language: C3 (#5086)
Related to: https://github.com/compiler-explorer/infra/pull/1017

C3 is a system programming language based on C. It is an evolution of C
enabling the same paradigms and retaining the same syntax as far as
possible.

Design Principles:
Procedural "get things done"-type of language.
Try to stay close to C - only change what's really necessary.
C ABI compatibility and excellent C integration.
Learning C3 should be easy for a C programmer.
Data is inert.
Avoid "big ideas" & the "more is better" fallacy.
Introduce some higher level conveniences where the value is great.

You can try it out live on its tutorial website:
https://www.learn-c3.org
Source code: https://github.com/c3lang/c3c

---------

Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es>
gh-7530
2023-06-02 08:08:57 -05:00
sameeranjoshi 46f142f4d8 add mlir-trunk (#5098) gh-7529 2023-06-02 08:02:00 -05:00
Patrick Quist 5a35c7a2d2 Create SupportedEmulators.md gh-7525 2023-06-01 17:56:54 +02:00
github-actions[bot]andCompiler Explorer Bot 99eb815d49 [bot] Update browsers list (#5096)
Automatic run of `npm run-update-browerslist` which needs to
 be done periodically to keep in-date.
See
[here](https://github.com/browserslist/browserslist#browsers-data-updating)
for more details.

Co-authored-by: Compiler Explorer Bot <mattgodbolt@users.noreply.github.com>
gh-7524
2023-06-01 11:37:40 +02:00
Patrick Quist 6836e9c4a6 add support to query and parse c standard versions (#5082)
Fixes #5071
gh-7518
2023-05-30 21:19:37 -05:00
Jeremy Rifkin 794a350a9e Add something to the context menu in place of paste when not supported (#5081)
In case anyone asks why "Paste" is missing from the context menu in the
future:


![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/32070502-fa17-44e3-ba5c-8924294b7e74)

Paste is present in chrome and other browsers that support the clipboard
api, just not firefox. This should change upstream some day.
https://github.com/microsoft/vscode/blob/1052813be23485fd9c17ac77b517241479c21142/src/vs/editor/contrib/clipboard/browser/clipboard.ts#L27-L30

Closes #3113
gh-7517
2023-05-30 21:19:06 -05:00
Jeremy RifkinandMatt Godbolt edcacc0272 Better compiler argument warnings handling (#5076)
The goal of this PR is to display any warnings about compiler arguments,
e.g. the warning about -march=native, somewhere else instead of a toast
notification every time. Feature requested on discord.


![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/40a0c670-b2bb-4fae-b98d-937dbeb7d2e6)

![Animation](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/43575608-daa6-487d-9ef9-ca04bdd38a38)

![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/551e26e5-1e4f-4802-a68a-fb63e0e5e415)

---------

Co-authored-by: Matt Godbolt <matt@godbolt.org>
gh-7516
2023-05-30 21:18:09 -05:00
Jeremy Rifkin 0bc22f8883 Egregiously overengineered fix for a niche UI bug (#5074)
Fixes #4714
gh-7513
2023-05-30 21:11:21 -05:00
Matt Godbolt 800692309b Merge branch 'Serval6-asm-docs/arm32-arm64' gh-7512 2023-05-30 21:07:38 -05:00
Matt Godbolt beec3b51d4 Refactor; rename arm64 to aarch64 gh-7511 2023-05-30 21:06:54 -05:00
Matt Godbolt 1275dca94b Merge branch 'main' into asm-docs/arm32-arm64 2023-05-30 19:38:31 -05:00
Marc Poulhiès 5ccb18fa42 Add native GCC 11.4.0 (#5090)
GCC 11.4.0 has been released:

https://inbox.sourceware.org/gcc/20230529101203.u1gOJtp3gjkZM4Kahj3TgGmIRlZDagFSKcgleNN33_U@z/T/#t

fixes #5089

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-7509
2023-05-29 21:34:11 +02:00
Jeremy Rifkin 0364ef87ad Use a discriminated union for the ConfiguredOverride type (#5075)
Closes #5054
gh-7499
2023-05-25 13:10:54 -04:00
Jeremy f8409da979 Add a backend unwrapString gh-7491 2023-05-23 16:49:22 -04:00
Marc Poulhiès 7d34685c36 fix: left over after the ARM naming cleanup
Remove a .name property that was incorrectly left after editing.

refs #5040
gh-7484
2023-05-23 09:46:54 +02:00
Matt Godbolt 6d367c10d3 Misc discovery and execution cache tweaks (#5073)
- use async file access when looking for llc
- don't use the random customCwd in the cache hash
- don't lookup "log cache accesses" in props every access
- turn on compiler cache access logging in discovery mode
- error on missing wine executable config
- atomically cache on disk file cache
gh-7481
2023-05-22 22:40:09 -05:00
fodinaborandMatt Godbolt e28e67d972 Add new "Debug intrinsics" filter. (#5045)
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>
gh-7478
2023-05-22 22:35:01 -05:00
Johel Ernesto Guerrero Peña c2c5ffd458 feat: parse Cpp2 to highlight it (#5061)
This is the follow-up to #5027.
The test cases: <https://highlight-cpp2.godbolt.org/z/qrqYPvaWE>.

<details><summary>Preview</summary>


![1684378584](https://github.com/compiler-explorer/compiler-explorer/assets/21071787/8fcac705-880c-4ad0-bce9-4c28fe9f0359)

</details>
gh-7477
2023-05-22 22:34:36 -05:00
Peter Johnson 04f6ce7dd1 Add FRC 2023 Compilers (#5059)
Restores the reverted #4568, as the latest version is built on Ubuntu
20.04.

Depends on compiler-explorer/infra#1012 to pull in the latest version.
gh-7470
2023-05-22 22:27:01 -05:00
Marc Poulhiès 8289915f73 Fix ARM C cross compiler names (#5056)
As reported in #5040, I broke the ARM names by only doing half of the
cleaning job. Finished removing the .name properties and (ab)use the
semVer mechanism.

fixes #5040

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

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-7468
2023-05-22 22:25:13 -05:00
Patrick Quist 44a8011571 min width spon thing (#5072)
only tested manually in chrome, not by running CE
gh-7467
2023-05-22 22:23:31 -05:00
Jeremy Rifkin 476b983a45 Better tab width handling (#5066)
Fixes #4877
gh-7466
2023-05-22 22:17:16 -05:00
Jeremy Rifkin ad6aa98284 Make compiler full version tooltips scrollable (#5067)
Fixes #4816
gh-7459
2023-05-22 12:19:54 -04:00
Jeremy Rifkin 22fa0511e4 Fix warning detection for wine msvc (#5068)
Fixes #4809
gh-7458
2023-05-22 12:19:38 -04:00
Matt Godbolt a87db04299 Dark mode icon for JFrog gh-7455 2023-05-21 21:35:06 -05:00
Kasra Hashemi 26395eb53a Update README.md (#5035) gh-7441 2023-05-20 20:05:11 +02:00
Jeremy Rifkin 3eaa274904 Add nm (#5058)
Changes on top of #5057
gh-7421
2023-05-17 15:24:01 -04:00
Jeremy Rifkin 33c05780c9 Clarify a readelf / pahole error message and add readelf to defaults.properties (#5057) gh-7418 2023-05-17 15:01:00 -04:00
partouf 3dec060b4c bugfix clang sysroot only when targetting different non-x86 gh-7409 2023-05-16 12:44:03 +02:00
Patrick Quist 079d495757 Compiler overrides (#5001) gh-7408 2023-05-16 03:53:57 +02:00
Dmitry Babokin d6deb08cee Add ISPC v1.20.0 (#5033)
Adding ISPC v1.20.0.

Corresponding infra commit PR, which needs to be merged before this PR:
https://github.com/compiler-explorer/infra/pull/1011 (so ISPC v1.20.0 is
available in the infra).
gh-7407
2023-05-15 20:25:10 -05:00
Siyao (Jane) He d784a48c33 Add feature to save assembly output on Ctrl+s (#5041) gh-7392 2023-05-15 13:52:35 +02:00
Siyao (Jane) He 514c3c763f Assembly syntax highlight of comments after code (#5046)
Solving the issue #4876 @jeremy-rifkin 
![Screenshot 2023-05-11 at 9 44 19
AM](https://github.com/compiler-explorer/compiler-explorer/assets/113857408/742c610b-632e-4e8a-a533-082abbbd6e51)
gh-7390
2023-05-14 14:55:37 -04:00
Matt Godbolt 5bbe1347f7 Support from JFrog/Conan - thank you so much! gh-7375 2023-05-10 19:44:11 -05:00
Marc Poulhiès 9c6fd8dad6 Add native GCC 12.3.0 (#5036)
GCC 12.3.0 has been released:

https://inbox.sourceware.org/gcc/nycvar.YFH.7.77.849.2305081249040.4723@jbgna.fhfr.qr/T/#u

fixes #5030

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-7364
2023-05-10 10:26:48 +02:00
Marc Poulhiès 1c1f872fca Add 22 new GCC 13.1 cross + new m68k GCC/clang (#5019)
Add needed config for 22 cross gcc bumped to newly released 13.1.0.

Also introduce the m68k target (+ add the clang alias to have it listed)

fixes #4987 and #4904

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-7363
2023-05-10 10:25:31 +02:00
partouf 37a05e39bf also add new mingw compilers to c gh-7356 2023-05-10 01:44:53 +02:00
Alex D 20002d8ae6 Added TypeScript Native 0.0.27 alpha (#5023) gh-7352 2023-05-09 22:14:55 +02:00
Matt Godbolt fe61c870fa A somewhat hacky way of making circle link against clang trunk's libs (#5024) gh-7349 2023-05-09 22:09:54 +02:00
Patrick Quist 72edc04a08 Add new mingw gcc and clangs (#5032) gh-7340 2023-05-09 20:30:45 +02:00
Patrick Quist 668ea7fef2 fix categories for some clang compilers (#5026) gh-7339 2023-05-09 19:32:52 +02:00
Johel Ernesto Guerrero Peña c76b16ef69 lang(cpp2): improve highlighting (#5027) gh-7336 2023-05-09 19:18:57 +02:00
Fred Tingaud 9ceb1dc6eb Increase size limit for sonar output (#5031) gh-7335 2023-05-09 19:18:35 +02:00
Marc Poulhiès 64ceb0ca03 Add missing test case for recent new propcheck rule
The test was missing, adding it now... /o\
refs #5009

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
gh-7360 gh-7330
2023-05-08 20:39:19 +02:00
Serval Martinot-Lagarde b904ddf48a asm-docs: Add arm64 and update arm32 documentations 2023-05-08 11:40:23 +02:00
Matt Godbolt d82bef352f Thanks to GH sponsors gh-7275 2023-05-05 08:14:34 -05:00
Matt Godbolt e5d1d3c146 Fix test, oops gh-7272 2023-05-04 14:02:10 -05:00