aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/argument-parsers.ts
diff options
context:
space:
mode:
authorValentin Churavy <vchuravy@users.noreply.github.com>2023-02-10 08:09:18 -0500
committerGitHub <noreply@github.com>2023-02-10 07:09:18 -0600
commitceee0d15f57d6a9acca76015f80cbba82a75f41a (patch)
tree33f37e871caac9415e4fb16f2fbe007c864f2785 /lib/compilers/argument-parsers.ts
parent3bc2dbcafc12376445c61f7dd3cba3ceb7139910 (diff)
downloadcompiler-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.ts7
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;
+ }
+}