diff options
author | Oleksandr <0init0@gmail.com> | 2021-06-29 10:39:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-29 09:39:06 +0200 |
commit | d1da1485632048c84ebd714a6296e96266141c43 (patch) | |
tree | c39803293f4c3da149593ce7b299f957de1f280c /lib/compilers/argument-parsers.js | |
parent | 7074739ecf2d1064cdbf3722eb7aa3d40fbc91b3 (diff) | |
download | compiler-explorer-d1da1485632048c84ebd714a6296e96266141c43.tar.gz compiler-explorer-d1da1485632048c84ebd714a6296e96266141c43.zip |
Add initial scala support (#2737)
* Add initial scala support
* Fix scala 3 compiler flags
* Use semver instead
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 750e9c2ef..f1be78e9d 100644 --- a/lib/compilers/argument-parsers.js +++ b/lib/compilers/argument-parsers.js @@ -185,6 +185,13 @@ export class KotlinParser extends BaseParser { } } +export class ScalaParser extends BaseParser { + static async parse(compiler) { + await ScalaParser.getOptions(compiler, '-help'); + return compiler; + } +} + export class VCParser extends BaseParser { static async parse(compiler) { await VCParser.getOptions(compiler, '/help'); |