mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 13:40:16 +08:00
feat(language): add code fortran (@slammon) (#6009)
This commit is contained in:
parent
083db409ce
commit
ed489448f5
3 changed files with 209 additions and 1 deletions
|
@ -613,7 +613,8 @@
|
|||
"code_typescript",
|
||||
"code_cobol",
|
||||
"code_common_lisp",
|
||||
"code_odin"
|
||||
"code_odin",
|
||||
"code_fortran"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -356,4 +356,5 @@
|
|||
,"code_cobol"
|
||||
,"code_common_lisp"
|
||||
,"docker_file"
|
||||
,"code_fortran"
|
||||
]
|
||||
|
|
206
frontend/static/languages/code_fortran.json
Normal file
206
frontend/static/languages/code_fortran.json
Normal file
|
@ -0,0 +1,206 @@
|
|||
{
|
||||
"name": "code_fortran",
|
||||
"noLazyMode": true,
|
||||
"words": [
|
||||
"program",
|
||||
"end",
|
||||
"subroutine",
|
||||
"function",
|
||||
"module",
|
||||
"use",
|
||||
"implicit",
|
||||
"none",
|
||||
"integer",
|
||||
"real",
|
||||
"complex",
|
||||
"double",
|
||||
"precision",
|
||||
"logical",
|
||||
"character",
|
||||
"dimension",
|
||||
"allocate",
|
||||
"deallocate",
|
||||
"if",
|
||||
"then",
|
||||
"else",
|
||||
"endif",
|
||||
"do",
|
||||
"while",
|
||||
"enddo",
|
||||
"call",
|
||||
"return",
|
||||
"stop",
|
||||
"pause",
|
||||
"read",
|
||||
"write",
|
||||
"print",
|
||||
"format",
|
||||
"open",
|
||||
"close",
|
||||
"inquire",
|
||||
"data",
|
||||
"common",
|
||||
"equivalence",
|
||||
"save",
|
||||
"continue",
|
||||
"exit",
|
||||
"cycle",
|
||||
"select",
|
||||
"case",
|
||||
"default",
|
||||
"type",
|
||||
"contains",
|
||||
"public",
|
||||
"private",
|
||||
"block",
|
||||
"interface",
|
||||
"procedure",
|
||||
"extends",
|
||||
"intent",
|
||||
"optional",
|
||||
"pointer",
|
||||
"target",
|
||||
"nullify",
|
||||
"associate",
|
||||
"forall",
|
||||
"where",
|
||||
"elsewhere",
|
||||
"intrinsic",
|
||||
"external",
|
||||
"abstract",
|
||||
"sequence",
|
||||
"recursive",
|
||||
"pure",
|
||||
"elemental",
|
||||
"result",
|
||||
"entry",
|
||||
"bind",
|
||||
"import",
|
||||
"value",
|
||||
"volatile",
|
||||
"asynchronous",
|
||||
"lock",
|
||||
"unlock",
|
||||
"sync",
|
||||
"memory",
|
||||
"atomic",
|
||||
"critical",
|
||||
"submodule",
|
||||
"generic",
|
||||
"class",
|
||||
"rank",
|
||||
"endfile",
|
||||
"backspace",
|
||||
"rewind",
|
||||
"advance",
|
||||
"iostat",
|
||||
"err",
|
||||
"iomsg",
|
||||
"allocatable",
|
||||
"final",
|
||||
"pass",
|
||||
"nopass",
|
||||
"non_overridable",
|
||||
"deferred",
|
||||
"protected",
|
||||
"contiguous",
|
||||
"concurrent",
|
||||
"error",
|
||||
"action",
|
||||
"position",
|
||||
"file",
|
||||
"access",
|
||||
"status",
|
||||
"form",
|
||||
"blank",
|
||||
"delim",
|
||||
"pad",
|
||||
"rec",
|
||||
"iolength",
|
||||
"namelist",
|
||||
"flush",
|
||||
"asis",
|
||||
"newunit",
|
||||
"decimal",
|
||||
"round",
|
||||
"sign",
|
||||
"random_number",
|
||||
"random_seed",
|
||||
"cpu_time",
|
||||
"system_clock",
|
||||
"date_and_time",
|
||||
"len_trim",
|
||||
"operator",
|
||||
"assignment",
|
||||
"len",
|
||||
"size",
|
||||
"kind",
|
||||
"sum",
|
||||
"product",
|
||||
"matmul",
|
||||
"transpose",
|
||||
"reshape",
|
||||
"spread",
|
||||
"maxval",
|
||||
"minval",
|
||||
"any",
|
||||
"all",
|
||||
"count",
|
||||
"maxloc",
|
||||
"minloc",
|
||||
"pack",
|
||||
"unpack",
|
||||
"merge",
|
||||
"epsilon",
|
||||
"tiny",
|
||||
"huge",
|
||||
"bit_size",
|
||||
"selected_int_kind",
|
||||
"selected_real_kind",
|
||||
"storage_size",
|
||||
"log",
|
||||
"sin",
|
||||
"cos",
|
||||
"tan",
|
||||
"atan",
|
||||
"sqrt",
|
||||
"exp",
|
||||
"abs",
|
||||
"acos",
|
||||
"asin",
|
||||
"atan2",
|
||||
"ceiling",
|
||||
"floor",
|
||||
"mod",
|
||||
"modulo",
|
||||
"nint",
|
||||
"aimag",
|
||||
"conjg",
|
||||
"cmplx",
|
||||
"dble",
|
||||
"int",
|
||||
"float",
|
||||
"isnan",
|
||||
"ior",
|
||||
"iand",
|
||||
"ieor",
|
||||
"shiftl",
|
||||
"shiftr",
|
||||
"ibits",
|
||||
"btest",
|
||||
"lbound",
|
||||
"ubound",
|
||||
"shape",
|
||||
"cshift",
|
||||
"eoshift",
|
||||
"dot_product",
|
||||
"allocated",
|
||||
"present",
|
||||
"merge_bits",
|
||||
"bit_and",
|
||||
"associated",
|
||||
"adjustl",
|
||||
"adjustr",
|
||||
"trim"
|
||||
]
|
||||
}
|
Loading…
Add table
Reference in a new issue