diff options
author | Valentin Churavy <vchuravy@users.noreply.github.com> | 2023-02-10 08:09:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 07:09:18 -0600 |
commit | ceee0d15f57d6a9acca76015f80cbba82a75f41a (patch) | |
tree | 33f37e871caac9415e4fb16f2fbe007c864f2785 /lib/compilers/argument-parsers.ts | |
parent | 3bc2dbcafc12376445c61f7dd3cba3ceb7139910 (diff) | |
download | compiler-explorer-ceee0d15f57d6a9acca76015f80cbba82a75f41a.tar.gz compiler-explorer-ceee0d15f57d6a9acca76015f80cbba82a75f41a.zip |
Add JuliaParser (#4674)gh-6214
If I understand this right this should populate the list of options for the "compiler options" drop-down
Diffstat (limited to 'lib/compilers/argument-parsers.ts')
-rw-r--r-- | lib/compilers/argument-parsers.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/compilers/argument-parsers.ts b/lib/compilers/argument-parsers.ts index b1161101f..ccc0c04c9 100644 --- a/lib/compilers/argument-parsers.ts +++ b/lib/compilers/argument-parsers.ts @@ -452,3 +452,10 @@ export class ToitParser extends BaseParser { return compiler; } } + +export class JuliaParser extends BaseParser { + static override async parse(compiler) { + await JuliaParser.getOptions(compiler, '--help'); + return compiler; + } +} |