From dc10abdb8cdc32148b1f8c66dc35901821787a01 Mon Sep 17 00:00:00 2001 From: devrusty <57299745+devrusty@users.noreply.github.com> Date: Mon, 16 May 2022 13:45:09 -0700 Subject: [PATCH] Added the F# programming language (#2978) devrusty * Update _list.json * created code_fsharp.json * added code_fsharp * removed extra comma --- frontend/static/languages/_groups.json | 2 +- frontend/static/languages/_list.json | 1 + frontend/static/languages/code_fsharp.json | 88 ++++++++++++++++++++++ 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 frontend/static/languages/code_fsharp.json diff --git a/frontend/static/languages/_groups.json b/frontend/static/languages/_groups.json index 88e82c725..7d40d31c6 100644 --- a/frontend/static/languages/_groups.json +++ b/frontend/static/languages/_groups.json @@ -311,7 +311,7 @@ "code_c++", "code_dart", "code_brainfck", - + "code_fsharp", "code_javascript", "code_javascript_1k", "code_html", diff --git a/frontend/static/languages/_list.json b/frontend/static/languages/_list.json index 5b8b70063..b16f9e29c 100644 --- a/frontend/static/languages/_list.json +++ b/frontend/static/languages/_list.json @@ -159,6 +159,7 @@ ,"git" ,"pig_latin" ,"code_python" + ,"code_fsharp" ,"code_c" ,"code_csharp" ,"code_css" diff --git a/frontend/static/languages/code_fsharp.json b/frontend/static/languages/code_fsharp.json new file mode 100644 index 000000000..46322bb0c --- /dev/null +++ b/frontend/static/languages/code_fsharp.json @@ -0,0 +1,88 @@ +{ + "name": "code_fsharp", + "leftToRight": true, + "words": [ + "abstract", + "and", + "as", + "assert", + "base", + "begin", + "break", + "checked", + "class", + "component", + "constraint", + "continue", + "default", + "delegate", + "do", + "done", + "downcast", + "downto", + "elif", + "else", + "end", + "event", + "exception", + "external", + "extern", + "false", + "finally", + "fixed", + "for", + "fun", + "function", + "global", + "if", + "in", + "include", + "inherit", + "inline", + "interface", + "lazy", + "let", + "match", + "member", + "mixin", + "module", + "mutable", + "namespace", + "new", + "not", + "null", + "of", + "open", + "or", + "override", + "parallel", + "private", + "process", + "protected", + "public", + "pure", + "rec", + "return", + "sealed", + "select", + "static", + "struct", + "tailcall", + "then", + "to", + "trait", + "true", + "try", + "type", + "upcast", + "use", + "val", + "virtual", + "void", + "when", + "while", + "with", + "yield", + "const" + ] +}