aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.js
Commit message (Collapse)AuthorAge
* Converted argument-parsers to ts (#4389)gh-5240Jeremy Rifkin2022-12-02
|
* Give LDC its own LDCParser for cmdline options. (#3907)gh-3767Johan Engelen2022-07-26
| | | LDC does not quite copy Clang cmdline options, so it's best to implement its own parser.
* Add -fno-discard-value-names support for the llvm opt viewer (#3836)gh-3549Jeremy Rifkin2022-07-04
| | | | | * Added -fno-discard-value-names support for the llvm opt viewer * Added -Z fewer-names=no for rustc
* fix cwdgh-3516partouf2022-07-01
|
* LLVM Optimization Pass Viewer (#3769)gh-3514Jeremy Rifkin2022-07-01
|
* Toit (#3808)gh-3459Patrick Quist2022-06-24
|
* Make Clang parser logic shorter (#3692)gh-3020Juan José2022-05-20
| | | Co-authored-by: Mats Larsen <me@supergrecko.com>
* Dosbox + Turbo C 2.01 support (#3627)gh-2886Patrick Quist2022-05-13
|
* Option to load a custom popular arguments json from disk (#3597)gh-2788Patrick Quist2022-05-06
|
* Added TypeScript Native compiler (#3448)gh-2193ODuzhar2022-03-21
| | | | | | | * progress * added some config Co-authored-by: Alex D <duzhar@gmail.com>
* add support for erlang to beam bytecode (#3094)gh-1286Timothy Moores2021-11-21
| | | | | | | | | * add support for erlang to beam bytecode * changed call by 'this' to overridden functions * Update base-compiler.js Co-authored-by: Patrick Quist <partouf@gmail.com>
* Refactor GCC dump handling (#3024)gh-1250Marc Poulhiès2021-11-08
| | | | | | | | | | | | | | | | | | | | | | | This change allows for only dumping a single pass (the one selected). In order to populate the list of available dumps, it now queries GCC for the enabled passes. It can still be misleading to users as a pass can be enabled but for some reason does not dump anything. In order to avoid this, the only solution seems to be to still dump all files and filter the list... This defeats the initial goal and only adds complexity for the current compilers. But this makes #2868 easier to implement (see #2985 that was a aborted first attempt) and if someday another libgccjit-based compiler is added, it could be easily hooked to this. It also changes the naming in the drop down menu. For example, instead of : '009t.omplower' it now uses 'omplower (tree)' (ie. '<pass-name> (tree|ipa|rtl)'). Fixes #3014 Signed-off-by: Marc Poulhiès <dkm@kataplop.net> Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
* Await for things (#3086)gh-1229Matt Godbolt2021-10-31
| | | | | | | | | | | | | | * Await for things We had a number of things that aren't await()ing their promises. That led to non-deterministic compiler settings like Intel support. I used the IDE to find them all and fix the ones that I thought looked important. More generally we should use tslint (once we're all typescript) to ensure this more generally. I tried the eslint equivalent but it either overreacted or didn't catch anything. Closes #3085
* Seperate compiler finding process (#3022)gh-1168Patrick Quist2021-10-15
|
* Add Crystal support (#2732)Quinton Miller2021-07-08
| | | | | | | | | | | | | | | | | | | * Add Crystal support * Fix copyright * Add ASM parser for Crystal * Add supportsLibraryCodeFilter * Update crystal-mode.js * use baseName * Force `square` call * Update default snippet Co-authored-by: Patrick Quist <partouf@gmail.com>
* Add initial scala support (#2737)Oleksandr2021-06-29
| | | | | | | * Add initial scala support * Fix scala 3 compiler flags * Use semver instead
* Add Kotlin/JVM support (#2637)Daniel Below2021-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Kotlin/JVM support * Update CONTRIBUTORS.md * Use kotlinc-jvm instead of kotlinc * Fix alphabetical ordering * Filter kotlin compiler arguments Extract user options filtering for java into a separate function to handle filtering options with extra arguments. Filter kotlin compiler options: -d, -jdk-home, -kotlin-home, -script, -progressive * Filter -Xjavac user options Filter any option that starts with '-Xjavac', as it could be used to pass unwanted options through kotlinc to javac. * Fix year in copyright Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es> * Add kotlin.amazon.properties * Add JAVA_HOME to kotlin default exec options Query per-compiler property 'java_home' and set environment * Add java_home to kotlin properties Co-authored-by: Daniel Below <daniel.below@jetbrains.com> Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es>
* Prefer regex.test()Matt Godbolt2021-05-27
|
* explicit length checkMatt Godbolt2021-05-27
|
* Initial support for mrustc (#2681)Marc Poulhiès2021-05-27
| | | | | | | | | | | | Add the needed base for new mrustc compiler. https://github.com/thepowersgang/mrustc mrustc is transpiling Rust to C and is mainly used for bootstraping rustc. This change treats the C output as the final product (as is assembly for GCC/clang). It is not easily possible to automatically plug this C to other C compilers to get assembly or executable. fixes #2643
* Use execCompilerCached for GCC argument parserAustin Morton2020-10-16
|
* Use ES6 Modules (#2132)Austin Morton2020-09-26
|
* Add new eslint rules (#2121)Rubén Rincón Blanco2020-08-04
| | | | | | | | | | | | | | | | The largest changes here are: - enforcing single quotes for strings - enforcing trailing commas where possible In addition to those we have enabled several eslint plugins: - plugin:requirejs/recommended, to enforce some conventions in require statements - plugin:node/recommended, to enforce correct usage of various node.js APIs - plugin:unicorn/recommended, which contains a pretty mixed bag of useful rules This PR attempts to not change code behavior when possible. In cases where fixing existing code would change semantics, a linting exclusion has been placed in the code base to silence the error. You can find these by searching for `eslint-disable-next-line`. Co-authored-by: Austin Morton <austinpmorton@gmail.com>
* Pass -fsyntax-only when getting GCC options and test that -masm= is really ↵Iain Buclaw2020-06-08
| | | | | | | | | | | | | | | supported (#2001) * Pass -fsyntax-only when getting GCC options Without this, the gcc driver will still attempt to invoke the assembler, even though it is redundant to do so. * Test that -masm= is both available and supported. Targets such as i686-apple-darwin or x86_64-apple-darwin may have -masm=intel present in --target-help, but any use of it will throw: error: ‘-masm=intel’ not supported in this configuration
* Argument parser asyncsMatt Godbolt2020-01-14
|
* Merge pull request #1753 from DaemonSnake/masterRubén Rincón Blanco2020-01-01
|\ | | | | Add support for Nim language
| * Add support for Nim languagebastien penavayre2019-12-26
| | | | | | | | | | | | | | | | | | | | | | - Add language - Adds Nim compiler - supports js, c, c++ outputs (objc not tested) - prevent --run option - Basic test for nim Todos: - monaco profile for Nim
* | Properly extend rustc argument parser resultsRabsRincon2019-12-27
| |
* | Fix rust argument parser with multi flag help commRabsRincon2019-12-27
| |
* | Add colored output to Rust compilers if supportedRabsRincon2019-12-27
|/ | | | As requested in #1755
* fix ispc argument parserPartouf2019-08-13
|
* add custom argument parser for rustPartouf2019-08-08
|
* Merge branch 'master' into java-supportChris2019-06-08
|\
| * Allow caching of compiler version and argument information to improve ↵Austin Morton2019-05-29
| | | | | | | | startup time
* | Initial Java/javap supportChristian Vonrüti2019-05-26
|/
* Log updates; lots of logging was missing since we moved to the new loggerMatt Godbolt2019-05-16
|
* Support Intel syntax in ispc. See #1253Matt Godbolt2019-04-06
|
* Merge branch 'master' into llvmMatt Godbolt2019-03-21
|\
| * addressing issue #1273, ...asynts2019-02-19
| | | | | | | | | | * adding "-fno-crash-diagnostics" to clang compilers that support it * and changed the quotes of "-fcolor-diagnostics" for consistency
| * Fix masm flag detection for ARM compilersAdam Burgess2019-01-22
| |
| * bugfixesPartouf2019-01-10
| |
| * change argument parser for some compilersPartouf2019-01-08
| |
| * fix unittests, add VC argument parser, refactoringPartouf2018-11-10
| |
| * -Partouf2018-10-26
| |
| * +nlPartouf2018-10-26
| |
| * fix strange errorPartouf2018-10-26
| |
| * =Partouf2018-10-26
| |
| * fixPartouf2018-10-26
| |
| * simplifyPartouf2018-10-26
| |
| * |Partouf2018-10-26
| |