Commit Graph
612 Commits
Author SHA1 Message Date
Jeremy 4cf2be8f66 Tsify compilation-env 2023-01-24 00:54:54 -05:00
Marc Poulhiès 28928a44cf Initial support for Objective-C/Objective-C++
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>
2023-01-21 10:01:11 +01:00
Fábio de Souza Villaça Medeiros d9cd9e0301 Ignore trim filter for Hook (#4604) 2023-01-20 11:29:07 +01:00
Jeremy Rifkin 6207cb2d6e npm run lint to get const fixes 2023-01-17 12:31:49 -05:00
partouf acc19d1d1c cleanup imports 2023-01-14 15:54:44 +01:00
Alex 24a2425730 Add Julia (#4595) 2023-01-14 15:44:14 +01:00
Jeremy Rifkin 33167a3024 Tsify main (#4520) 2023-01-13 19:52:00 -05:00
Fábio de Souza Villaça Medeiros b94325e3d2 Add Line Mapping Support to Hook (#4580) 2023-01-13 17:25:35 +01:00
Patrick Quist 092ce12e8e move emulation related fields to artifact system (#4567) 2023-01-11 21:07:38 +01:00
Patrick Quist 509075d1e4 Cmake build with ninja (#4287) 2023-01-11 21:02:29 +01:00
Marc Poulhiès 69055681d9 Support for compiling to binary object (#3232) 2023-01-11 19:39:25 +01:00
kasperk81 d13574d178 display crossgen2 version in asm output (#4526)
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
2023-01-03 18:18:07 -06:00
Matt Godbolt c2780113b4 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
2023-01-03 18:18:06 -06:00
Steve 61aad90f94 Various enhancements for dotnet (#4362) 2023-01-03 18:18:06 -06:00
Rubén Rincón Blanco 26b027a8b2 Mark Assembly compilers cfg-able (#4461) 2023-01-03 18:18:06 -06:00
Jonathan Reichelt Gjertsen e361a9b2f6 Working CL430 compiler 2022-12-22 01:01:26 +01:00
Jonathan Reichelt Gjertsen 920565bc99 Update optionsForFilter 2022-12-21 23:39:25 +01:00
Jonathan Reichelt Gjertsen 6e715b2ab1 Add to start working on issue #4480 2022-12-21 22:17:43 +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