1860 Commits
Author SHA1 Message Date
Matt Godbolt e14b283d6b Don't try and set up buildenv or external parser if remote 2022-11-23 08:10:43 -06:00
Matt Godbolt 55e78cd7ba Fail if compiler discovery fails 2022-11-23 07:54:52 -06:00
Rubén Rincón Blanco f4d30924cd Fix error with null stderr (#4322)
* Fix error with null stderr

* Fix test
2022-11-22 15:05:37 +01:00
Matt Godbolt f276f73dab First pass at making compile.js into TS (#4313) 2022-11-22 07:27:43 -06:00
marcosmartinezfco fcb7683019 Add support for evm opcode documentation (#4319) 2022-11-21 17:16:15 +01:00
Patrick Quist c206b3cc9b separate llvmmos targets and nes emu (#4299) 2022-11-18 19:08:37 +01:00
Patrick Quist d180698be2 Fix4293 (#4298) 2022-11-17 17:32:46 +01:00
Rubén Rincón Blanco b67f5cfaa2 Fix Python argument order (#4295) 2022-11-17 15:20:12 +01:00
Rubén Rincón Blanco 61ff341caf Add Python instruction docs (#4290) 2022-11-16 00:51:37 +01:00
Patrick Quist 189d445363 store compilationOptions so that we can debug buildsteps better (#4288) 2022-11-13 19:39:17 +01:00
Rubén Rincón Blanco 423be5bdfe Fix execution for interpreted languages (#4289)
Types had a missmatch when they were interpreted
2022-11-13 18:59:01 +01:00
Matt Godbolt cfb3dc54c7 Sponsorship changes (#4274)
Rotate sponsors on the top of the page:
- `topIcon` -> `topIconShowEvery`
- `Sponsors` becomes an interface with methods to get levels, pick sponsors etc
- A somewhat acceptable algorithm for generating a "fair choice" of sponsors given the constraints:
  - "show at least 1 in N times"
  - don't unfairly show one sponsor more than any other at the same level
 - Sponsor icons are loaded dynamically via a "bits" handler (introducing a short delay in them appearing), but this means the index.html doesn't change on every load, so it's still cacheable
2022-11-13 10:35:39 -06:00
Jeremy Rifkin 1b37402cd9 Added llvm opt pipeline timing info (#4284)
* Added llvm opt pipeline timing info

* Fix naming

* Tweak timing pane and use exec's timing if possible

* Added timing info for processExecutionResult
2022-11-12 11:37:47 -05:00
Sebastian Büttner fef60ac025 Add missing data definition directives (fixes #4275) (#4277) 2022-11-12 09:04:38 +01:00
Rubén Rincón Blanco da7d22bef1 Set proper stubText type (#4270)
* Set proper stubText type

* Remove leftover newline
2022-11-12 04:46:18 +01:00
Jeremy Rifkin c2b3829883 Add stdout to the compilation error result (#4278) 2022-11-11 18:15:42 +01:00
Patrick Quist 17a56af696 Bugfix Map usage (#4265) 2022-11-09 14:08:19 +01:00
Rubén Rincón Blanco c7cfda6a3f Add language tooltips (#4237) 2022-11-09 02:53:04 +01:00
Ofek db9b4f48b0 Add Hide metadata option to LLVM pipeline (#4243) 2022-11-06 12:22:47 -05:00
Patrick Quist 949890e326 typescriptify and fix mistake overriding the wrong function (#4229) 2022-11-02 09:58:13 +01:00
Paul Taylor df36579a20 Add nvc++ as a C++ compiler (#4204)
* add nvhpc-sdk C++ compilers

* return await more promise-returning functions

* add nvc++-specific demangler
2022-10-31 22:39:34 -05:00
Matt Godbolt c363d1a07d Port @trxcllnt improvements to awaiting (#4220)
* Port @trxcllnt improvements to awaiting

* More async improvements
2022-10-31 22:38:23 -05:00
Patrick Quist 0212779a74 CC65 Binary + NES support (#4139) 2022-10-29 17:01:44 +02:00
Matt Godbolt ca0bfdf22b Support multiple sponsor descripts (#4200)
* Support multiple sponsor descripts
2022-10-26 07:33:48 -05:00
Matt GodboltandRubén Rincón Blanco c8e8a80760 Convert sponsor.js to sponsor.js, update tests to be more targeted. (#4199)
* Convert sponsor.js to sponsor.js, update tests to be more targeted.

Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
2022-10-25 18:20:16 -05:00
Mats Larsen ad5ece867a Bump jvms version to 18 and fix find-node path (#4192)
* fix: bump jvms version to 18 and fix find-node path
2022-10-24 20:28:55 -05:00
Paul Taylor 1476937e82 Add split host/device views for CUDA C++ (#4177)
* make nvcc show the device asm view button, stop after compiling host assembly
* keep and extract ptx device code
* paper over some typescript compile errors (maybe mitigating orchidjs/tom-select#500, orchidjs/tom-select#501)
* await on promise-returning methods
* use gcc objdump for nvcc host code, add nvdisasm to disassemble SASS .cubin
* append device ASM lines to result ASM so they're also colourized
* append device ASM to all ASM
* automatically open the device pane if the compiler supports emitting device ASM
* save device view open boolean in compiler state
* make the nvcc compiler return all PTX and SASS results as separate devices
* ensure line hover highlights propagate from editor to compiler panes, and are re-applied when the user changes the selected device
* update cuda properties
2022-10-24 20:28:01 -05:00
Matt Godbolt c5f50d603c Fix typing and usage of tools (#4180)
* Fix typing and usage of tools
* Fix tests and break cycle
* More improvements
2022-10-22 17:16:23 -05:00
Marc PoulhièsandMatt Godbolt 0b7e9db6a8 ada: move to typescript (#4178)
Convert the ada compiler code to typescript.

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

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-10-22 14:02:59 -05:00
ddafb32feb Try to fix main (#4173)
* Fix Editor not being able to load full links
* Better type for this.filename in compiler.ts
* Updates editor.ts and improves compilation types
* Fix some of the type issues, lots still remain
* fixes to language selection & refactoring of hub and some inits
* fix flow of events
* Fix llvm opt handling (cc @jeremy-rifkin)

Co-authored-by: partouf <partouf@gmail.com>
Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-10-22 13:59:51 -05:00
Jeremy Rifkin 8d5d723a3f Fixed bug with the llvm pass dump viewer, split test case from the llvm ir parser code (#4170) 2022-10-19 18:03:32 -04:00
zooster e43660bc47 fix: Zig trunk compile error (#4144) 2022-10-12 21:51:14 +02:00
Rubén Rincón Blanco c3eee72def Sort libs based on semver (#4153) 2022-10-12 21:12:44 +02:00
partouf b8e4d2d105 jakt fixes 2022-10-12 21:11:47 +02:00
partouf 3f36aa96cb formatting 2022-10-12 18:07:44 +02:00
Ofek aa4db15ea7 Add tests to LlvmPassDumpParser intra-line filters (#4133) 2022-10-10 15:54:03 +02:00
Rubén Rincón Blanco 0d09aecc19 Fix --emit llvm-ir when asked to emit binary mode (#4131) 2022-10-10 15:29:34 +02:00
partouf 9f8d2cddd8 fix erlang command line options 2022-10-10 13:19:25 +02:00
Rubén Rincón Blanco b543993869 Fix Erlang compiler & convert it to typescript (#4124) 2022-10-10 13:04:09 +02:00
Romaric Jodin 72a19da538 asm-mode: better tokenization for spirv (#4024) 2022-10-10 13:02:50 +02:00
Rubén Rincón Blanco b58deaf864 Add no-console to eslint checks (#4134) 2022-10-10 12:54:36 +02:00
Ofek 1ac540e409 Fix #4126 : hiding of llvm debug metadata erroneously hid also important semantic metadata (#4127) 2022-10-07 08:47:07 -05:00
Matt Godbolt f1fa016b10 Add stats for queue (#4117) 2022-10-05 22:01:31 -05:00
J. Ryan Stinnett 80dd763985 Add basic Racket support (#4098) 2022-10-05 09:32:45 +02:00
Rubén Rincón Blanco d104aa628f Add some support for execution line linking in non tree mode (#4080) 2022-10-01 03:50:52 +02:00
Justus H 0fa5b7d559 Fix comment being recognized as a filename in IAR EW parser (#4099) 2022-10-01 03:47:38 +02:00
Chris B de0d1a4bb0 Add HLSL Logo (#4093)
I know this isn't the _official_ HLSL logo, but HLSL doesn't have an
official logo. I made this one, and since I work on HLSL that should at
least give it the "enginieering art" level of officiality.
2022-09-27 19:43:08 +02:00
Patrick Quist 997a2d313c add miracle emulator for z88dk sms files (#4086) 2022-09-25 23:02:13 +02:00
Fábio de Souza Villaça Medeiros c2e9aabfd7 Add basic support for Hook programming language (#4075)
* Add basic support for Hook programming language
2022-09-25 15:06:02 -05:00
Rubén Rincón Blanco c8f1b313da Move zig compiler files to TS and fix zigc{xx} semver comparisons (#4091) 2022-09-25 14:52:12 +02:00