diff --git a/app/assets/javascripts/dolos.ts b/app/assets/javascripts/dolos.ts index 239372b2e8..7221c9ac06 100644 --- a/app/assets/javascripts/dolos.ts +++ b/app/assets/javascripts/dolos.ts @@ -6,8 +6,8 @@ import { i18n } from "i18n/i18n"; const LOADER_ID = "dolos-loader"; const DOLOS_URL = "/dolos_reports"; -// List from https://github.com/dodona-edu/dolos/issues/1029 on 2024-06-13 -const SUPPORTED_LANGUAGES = new Set(["sh", "c", "cpp", "csharp", "elm", "java", "javascript", "python", "typescript", "tsx"]); +// List from https://github.com/dodona-edu/dolos/tree/main/parsers on 2024-06-13 +const SUPPORTED_LANGUAGES = new Set(["sh", "c", "cpp", "csharp", "elm", "groovy", "java", "javascript", "modelica", "php", "python", "r", "scala", "sql", "typescript", "verilog"]); export function initDolosBtn(btnID: string, url: string, lang: string): void { const btn = document.getElementById(btnID) as HTMLLinkElement;