diff options
author | Quinton Miller <nicetas.c@gmail.com> | 2021-07-08 06:23:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-08 00:23:48 +0200 |
commit | 94ecb093a09a1c2885e260b30be87f18b5781ad3 (patch) | |
tree | 634f71d726bce9420cb60b5ffec0ef91056afdae /lib/compilers/argument-parsers.js | |
parent | 7a3000c75821814743dcbc8db0c682b9de62b956 (diff) | |
download | compiler-explorer-94ecb093a09a1c2885e260b30be87f18b5781ad3.tar.gz compiler-explorer-94ecb093a09a1c2885e260b30be87f18b5781ad3.zip |
Add Crystal support (#2732)
* 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>
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r-- | lib/compilers/argument-parsers.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js index f1be78e9d..a7fd8d822 100644 --- a/lib/compilers/argument-parsers.js +++ b/lib/compilers/argument-parsers.js @@ -310,3 +310,10 @@ export class NimParser extends BaseParser { return compiler; } } + +export class CrystalParser extends BaseParser { + static async parse(compiler) { + await CrystalParser.getOptions(compiler, 'build'); + return compiler; + } +} |