Commit Graph
597 Commits
Author SHA1 Message Date
Matt Godbolt 749319f791 Slightly more controversial bumpings (#4503)
- 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
2022-12-28 11:42:14 -06:00
Steve f05b4b6f07 Various enhancements for dotnet (#4362) 2022-12-27 13:38:19 -06:00
Rubén Rincón Blanco b5ba2c0d7d Mark Assembly compilers cfg-able (#4461) 2022-12-24 19:46:04 +01:00
Tobias Hieta 96aa4bea0f Add support for clang-cl and llvm-undname (#4371)
* Added llvm demangler code

* Added clang-cl compiler class
2022-12-18 21:10:04 +01:00
Jeremy Rifkin 7a56ee84f7 Assert and unwrap utilities (#4437)
* 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
2022-12-18 10:30:17 -05:00
Matt Godbolt cad5227756 Don't try and hack the compilation results (#4429)
* 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
2022-12-12 21:38:22 -06:00
Jeremy Rifkin 40e17145a8 Make the linter happy (#4393) 2022-12-03 17:03:59 +01:00
Jeremy Rifkin 7e9b5cb241 Converted argument-parsers to ts (#4389) 2022-12-02 14:36:23 -05:00
Matt Godbolt 85da9e784b Ts-ify carbon (#4384) 2022-12-02 10:58:23 -06:00
Patrick Quist ae0fee1095 first bits of compiler interface (#4378) 2022-12-02 13:42:47 +01:00
Matt Godbolt 2b5de93c6a Port fortran.js to typescript (#4381)
* Port fortran.js to typescript
* @jeremy-rifkin suggestions
2022-12-01 21:32:08 -06:00
partouf 2455e412fa obsolete vars 2022-11-29 00:54:37 +01:00
partouf b6d459c9af format and lint 2022-11-28 23:29:38 +01:00
Patrick Quist 4f1bbcf526 .net - compileToBinary fix (#4353) 2022-11-28 23:13:01 +01:00
kasperk81 df607d5f6b dynamically set targetFramework (#4354) 2022-11-28 23:09:48 +01:00
Marc Poulhiès 2fa2bbb16a refactor: renames the CompilerFilters type (#4346)
The type which probably started as a real enum of possible post filtering
options now also includes options used for compilers' invocations.

The type was already split, but the naming was not reflecting this in the other
part of the code.

This changes tries to apply a simple renaming to the type only (corresponding
variables are left as 'filters').

While doing so, some typing error were discovered around the GccDump feature.
A fix for this will follow in a different PR.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-11-28 21:37:15 +01:00
Steve 75b9d30485 Support trunk and execution for .NET (#4351)
* Support trunk and execution for .NET
* Adjust compilers order
* Support stdin
* Update samples
2022-11-27 10:14:35 -06:00
Jeremy RifkinandMatt Godbolt e13fe4a2f9 Mg/props ts (#4340)
* WIP

* Type changes to the property getter

* Finish getting types working for properties.ts

* Reduce type casts in exec.ts

* Format files

* Remove old comment

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2022-11-26 13:56:04 -05:00
Matt Godbolt e38d248aeb Fixes for .NET 7 (#4347)
- check return code of restore
- set env vars to prevent file size blowout
2022-11-26 10:42:24 -06:00
Steve 959822a74c Fix F# build failure (#4344)
* Fix FSharp compilation
2022-11-26 09:46:01 -06:00
Steve 0961116011 Fix crossgen2 arguments (#4342)
* Fix crossgen2 arguments
2022-11-25 17:48:26 -06:00
Matt Godbolt 065a166616 Work in progress on net .NET
- uses new installs
- works around issue where empty output would crash runCrossgen2

Not working yet (at least locally).
2022-11-25 08:03:30 -06:00
Steve 201f848b50 Update dotnet script (#4337)
* Uses new way to invoke compilers
* adds new
2022-11-25 07:39:10 -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
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
Patrick Quist 949890e326 typescriptify and fix mistake overriding the wrong function (#4229) 2022-11-02 09:58:13 +01:00
Patrick Quist 0212779a74 CC65 Binary + NES support (#4139) 2022-10-29 17:01:44 +02: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
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
zooster e43660bc47 fix: Zig trunk compile error (#4144) 2022-10-12 21:51:14 +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
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
J. Ryan Stinnett 80dd763985 Add basic Racket support (#4098) 2022-10-05 09:32:45 +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
partouf 66e2ecf6a4 bugfix z88dk check for .tap file 2022-09-23 19:00:09 +02:00
partouf 82deb6037c bugfix z88dk check for .tap file 2022-09-23 17:45:41 +02:00
Patrick Quist 64ce93916a add zx emulation with speccy (#4065) 2022-09-23 17:21:45 +02:00
Matt Godbolt a8a666aeac Fixes for cppfront (#4076)
* Rename cppx_cppfront to cpp2_cppfront
* Add some blurb about the compiler
* Some syntax highlighting
* Better output highlighting
* Some form of line tracking and filtering
2022-09-20 07:42:41 -05:00
Romaric Jodin 377c907af4 compilers: clspv: add -g (#4055) 2022-09-18 10:38:57 +02:00
Matt Godbolt cf2da5f9b3 cppfront (#4069) 2022-09-16 18:27:48 -05:00
partouf f5cbee5787 fix clspv and spirv 2022-09-12 16:23:53 +02:00
Patrick Quist b567856ab2 Clspvfixes (#4050) 2022-09-12 15:56:55 +02:00