-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cpp-versioning): add C++ 11, C++ 17 versioned concrete languages
- Loading branch information
adi-herwana-nus
committed
Dec 20, 2024
1 parent
04495a1
commit ec43079
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
class Coursemology::Polyglot::Language::CPlusPlus < Coursemology::Polyglot::Language | ||
# This is the old 'C++' programming language before proper version specifiers were added. | ||
# It should not be removed before all associated submissions are migrated to the versioned languages. | ||
syntax_highlighter 'cpp', ace: 'c_cpp' | ||
concrete_language 'C/C++', docker_image: 'c_cpp' | ||
concrete_language 'C/C++', docker_image: 'c_cpp:legacy' | ||
|
||
class CPlusPlus11 < Coursemology::Polyglot::Language::CPlusPlus | ||
concrete_language 'C++ 11', docker_image: 'c_cpp:11' | ||
end | ||
|
||
class CPlusPlus17 < Coursemology::Polyglot::Language::CPlusPlus | ||
concrete_language 'C++ 17', docker_image: 'c_cpp:17' | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
module Coursemology; end | ||
module Coursemology::Polyglot | ||
VERSION = '0.3.10'.freeze | ||
VERSION = '0.3.11'.freeze | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters