@threadlabs/looma 0.18.6 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +34 -3
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +55 -0
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +7 -2
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +29 -0
- package/dist/index.js +1 -1
- package/editor/chunks/extensions.js +24 -3
- package/editor/extensions/preset.d.ts +2 -0
- package/editor/extensions/table-commands.d.ts +1 -1
- package/editor/table-overlay.d.ts +8 -3
- package/package.json +2 -1
- package/styles/ui-editor-table-overlay.css +30 -0
- package/styles/ui-editor-table-toolbar.css +7 -2
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +9 -3
- package/vue/UiEditorTableOverlay.d.ts +8 -0
- package/vue/UiEditorTableOverlay.vue +45 -2
- package/vue/UiEditorTableToolbar.vue +7 -2
- package/vue/chunks/1c.js +106 -0
- package/vue/chunks/UiEditorTableOverlay.js +14 -4
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/abnf.js +61 -0
- package/vue/chunks/accesslog.js +72 -0
- package/vue/chunks/actionscript.js +139 -0
- package/vue/chunks/ada.js +183 -0
- package/vue/chunks/angelscript.js +141 -0
- package/vue/chunks/apache.js +88 -0
- package/vue/chunks/applescript.js +99 -0
- package/vue/chunks/arcade.js +405 -0
- package/vue/chunks/arduino.js +871 -0
- package/vue/chunks/armasm.js +65 -0
- package/vue/chunks/asciidoc.js +181 -0
- package/vue/chunks/aspectj.js +202 -0
- package/vue/chunks/autohotkey.js +54 -0
- package/vue/chunks/autoit.js +132 -0
- package/vue/chunks/avrasm.js +46 -0
- package/vue/chunks/awk.js +58 -0
- package/vue/chunks/axapta.js +167 -0
- package/vue/chunks/bash.js +358 -0
- package/vue/chunks/basic.js +221 -0
- package/vue/chunks/bnf.js +27 -0
- package/vue/chunks/brainfuck.js +40 -0
- package/vue/chunks/c.js +265 -0
- package/vue/chunks/cal.js +136 -0
- package/vue/chunks/capnproto.js +86 -0
- package/vue/chunks/ceylon.js +125 -0
- package/vue/chunks/clean.js +54 -0
- package/vue/chunks/clojure-repl.js +17 -0
- package/vue/chunks/clojure.js +133 -0
- package/vue/chunks/cmake.js +23 -0
- package/vue/chunks/coffeescript.js +291 -0
- package/vue/chunks/coq.js +436 -0
- package/vue/chunks/cos.js +77 -0
- package/vue/chunks/cpp.js +492 -0
- package/vue/chunks/crmsh.js +80 -0
- package/vue/chunks/crystal.js +260 -0
- package/vue/chunks/csharp.js +376 -0
- package/vue/chunks/csp.js +52 -0
- package/vue/chunks/css.js +890 -0
- package/vue/chunks/d.js +184 -0
- package/vue/chunks/dart.js +226 -0
- package/vue/chunks/delphi.js +227 -0
- package/vue/chunks/diff.js +40 -0
- package/vue/chunks/django.js +43 -0
- package/vue/chunks/dns.js +66 -0
- package/vue/chunks/dockerfile.js +35 -0
- package/vue/chunks/dos.js +147 -0
- package/vue/chunks/dsconfig.js +55 -0
- package/vue/chunks/dts.js +119 -0
- package/vue/chunks/dust.js +33 -0
- package/vue/chunks/ebnf.js +40 -0
- package/vue/chunks/elixir.js +241 -0
- package/vue/chunks/elm.js +103 -0
- package/vue/chunks/erb.js +17 -0
- package/vue/chunks/erlang-repl.js +41 -0
- package/vue/chunks/erlang.js +236 -0
- package/vue/chunks/excel.js +562 -0
- package/vue/chunks/fix.js +30 -0
- package/vue/chunks/flix.js +60 -0
- package/vue/chunks/fortran.js +543 -0
- package/vue/chunks/fsharp.js +440 -0
- package/vue/chunks/gams.js +134 -0
- package/vue/chunks/gauss.js +167 -0
- package/vue/chunks/gcode.js +131 -0
- package/vue/chunks/gherkin.js +41 -0
- package/vue/chunks/glsl.js +25 -0
- package/vue/chunks/gml.js +3119 -0
- package/vue/chunks/go.js +140 -0
- package/vue/chunks/golo.js +72 -0
- package/vue/chunks/gradle.js +181 -0
- package/vue/chunks/graphql.js +68 -0
- package/vue/chunks/groovy.js +159 -0
- package/vue/chunks/haml.js +96 -0
- package/vue/chunks/handlebars.js +191 -0
- package/vue/chunks/haskell.js +149 -0
- package/vue/chunks/haxe.js +142 -0
- package/vue/chunks/hsp.js +45 -0
- package/vue/chunks/http.js +77 -0
- package/vue/chunks/hy.js +92 -0
- package/vue/chunks/inform7.js +45 -0
- package/vue/chunks/ini.js +94 -0
- package/vue/chunks/irpf90.js +52 -0
- package/vue/chunks/isbl.js +112 -0
- package/vue/chunks/java.js +237 -0
- package/vue/chunks/javascript.js +570 -0
- package/vue/chunks/jboss-cli.js +46 -0
- package/vue/chunks/json.js +45 -0
- package/vue/chunks/julia-repl.js +18 -0
- package/vue/chunks/julia.js +353 -0
- package/vue/chunks/kotlin.js +216 -0
- package/vue/chunks/lasso.js +127 -0
- package/vue/chunks/latex.js +206 -0
- package/vue/chunks/ldif.js +25 -0
- package/vue/chunks/leaf.js +72 -0
- package/vue/chunks/less.js +953 -0
- package/vue/chunks/lisp.js +119 -0
- package/vue/chunks/livecodeserver.js +86 -0
- package/vue/chunks/livescript.js +309 -0
- package/vue/chunks/llvm.js +77 -0
- package/vue/chunks/lsl.js +55 -0
- package/vue/chunks/lua.js +49 -0
- package/vue/chunks/makefile.js +62 -0
- package/vue/chunks/markdown.js +194 -0
- package/vue/chunks/mathematica.js +7317 -0
- package/vue/chunks/matlab.js +70 -0
- package/vue/chunks/maxima.js +38 -0
- package/vue/chunks/mel.js +24 -0
- package/vue/chunks/mercury.js +62 -0
- package/vue/chunks/mipsasm.js +53 -0
- package/vue/chunks/mizar.js +10 -0
- package/vue/chunks/mojolicious.js +27 -0
- package/vue/chunks/monkey.js +158 -0
- package/vue/chunks/moonscript.js +102 -0
- package/vue/chunks/n1ql.js +346 -0
- package/vue/chunks/nestedtext.js +66 -0
- package/vue/chunks/nginx.js +127 -0
- package/vue/chunks/nim.js +174 -0
- package/vue/chunks/nix.js +334 -0
- package/vue/chunks/node-repl.js +20 -0
- package/vue/chunks/nsis.js +515 -0
- package/vue/chunks/objectivec.js +235 -0
- package/vue/chunks/ocaml.js +52 -0
- package/vue/chunks/openscad.js +66 -0
- package/vue/chunks/oxygene.js +58 -0
- package/vue/chunks/parser3.js +40 -0
- package/vue/chunks/perl.js +454 -0
- package/vue/chunks/pf.js +30 -0
- package/vue/chunks/pgsql.js +196 -0
- package/vue/chunks/php-template.js +43 -0
- package/vue/chunks/php.js +527 -0
- package/vue/chunks/plaintext.js +10 -0
- package/vue/chunks/pony.js +60 -0
- package/vue/chunks/powershell.js +208 -0
- package/vue/chunks/processing.js +407 -0
- package/vue/chunks/profile.js +38 -0
- package/vue/chunks/prolog.js +62 -0
- package/vue/chunks/properties.js +45 -0
- package/vue/chunks/protobuf.js +63 -0
- package/vue/chunks/puppet.js +87 -0
- package/vue/chunks/purebasic.js +42 -0
- package/vue/chunks/python-repl.js +19 -0
- package/vue/chunks/python.js +357 -0
- package/vue/chunks/q.js +21 -0
- package/vue/chunks/qml.js +134 -0
- package/vue/chunks/r.js +145 -0
- package/vue/chunks/reasonml.js +134 -0
- package/vue/chunks/rib.js +16 -0
- package/vue/chunks/roboconf.js +54 -0
- package/vue/chunks/routeros.js +109 -0
- package/vue/chunks/rsl.js +138 -0
- package/vue/chunks/ruby.js +322 -0
- package/vue/chunks/ruleslanguage.js +26 -0
- package/vue/chunks/rust.js +296 -0
- package/vue/chunks/sas.js +533 -0
- package/vue/chunks/scala.js +173 -0
- package/vue/chunks/scheme.js +118 -0
- package/vue/chunks/scilab.js +45 -0
- package/vue/chunks/scss.js +900 -0
- package/vue/chunks/shell.js +18 -0
- package/vue/chunks/smali.js +113 -0
- package/vue/chunks/smalltalk.js +59 -0
- package/vue/chunks/sml.js +49 -0
- package/vue/chunks/sqf.js +2599 -0
- package/vue/chunks/sql.js +624 -0
- package/vue/chunks/stan.js +471 -0
- package/vue/chunks/stata.js +33 -0
- package/vue/chunks/step21.js +53 -0
- package/vue/chunks/stylus.js +925 -0
- package/vue/chunks/subunit.js +34 -0
- package/vue/chunks/swift.js +699 -0
- package/vue/chunks/taggerscript.js +37 -0
- package/vue/chunks/tap.js +30 -0
- package/vue/chunks/tcl.js +165 -0
- package/vue/chunks/thrift.js +65 -0
- package/vue/chunks/tp.js +155 -0
- package/vue/chunks/twig.js +232 -0
- package/vue/chunks/typescript.js +672 -0
- package/vue/chunks/vala.js +39 -0
- package/vue/chunks/vbnet.js +86 -0
- package/vue/chunks/vbscript-html.js +14 -0
- package/vue/chunks/vbscript.js +200 -0
- package/vue/chunks/verilog.js +534 -0
- package/vue/chunks/vhdl.js +190 -0
- package/vue/chunks/vim.js +54 -0
- package/vue/chunks/wasm.js +111 -0
- package/vue/chunks/wren.js +229 -0
- package/vue/chunks/x86asm.js +64 -0
- package/vue/chunks/xl.js +192 -0
- package/vue/chunks/xml.js +175 -0
- package/vue/chunks/xquery.js +303 -0
- package/vue/chunks/yaml.js +159 -0
- package/vue/chunks/zephir.js +74 -0
- package/vue/components.css +119 -85
- package/vue/editor/LoomaEditor.d.ts +7 -7
- package/vue/editor/code-language-catalog.d.ts +196 -0
- package/vue/editor/index.js +290 -20
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/highlight.js@11.11.2/node_modules/highlight.js/es/languages/fortran.js
|
|
2
|
+
/** @type LanguageFn */
|
|
3
|
+
function fortran(hljs) {
|
|
4
|
+
const regex = hljs.regex;
|
|
5
|
+
const PARAMS = {
|
|
6
|
+
className: "params",
|
|
7
|
+
begin: "\\(",
|
|
8
|
+
end: "\\)"
|
|
9
|
+
};
|
|
10
|
+
const COMMENT = { variants: [
|
|
11
|
+
hljs.COMMENT("!", "$", { relevance: 0 }),
|
|
12
|
+
hljs.COMMENT("^C[ ]", "$", { relevance: 0 }),
|
|
13
|
+
hljs.COMMENT("^C$", "$", { relevance: 0 })
|
|
14
|
+
] };
|
|
15
|
+
const OPTIONAL_NUMBER_SUFFIX = /(_[a-z_\d]+)?/;
|
|
16
|
+
const OPTIONAL_NUMBER_EXP = /([de][+-]?\d+)?/;
|
|
17
|
+
const NUMBER = {
|
|
18
|
+
className: "number",
|
|
19
|
+
variants: [
|
|
20
|
+
{ begin: regex.concat(/\b\d+/, /\.(\d*)/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
|
|
21
|
+
{ begin: regex.concat(/\b\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
|
|
22
|
+
{ begin: regex.concat(/\.\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) }
|
|
23
|
+
],
|
|
24
|
+
relevance: 0
|
|
25
|
+
};
|
|
26
|
+
const FUNCTION_DEF = {
|
|
27
|
+
className: "function",
|
|
28
|
+
beginKeywords: "subroutine function program",
|
|
29
|
+
illegal: "[${=\\n]",
|
|
30
|
+
contains: [hljs.UNDERSCORE_TITLE_MODE, PARAMS]
|
|
31
|
+
};
|
|
32
|
+
return {
|
|
33
|
+
name: "Fortran",
|
|
34
|
+
case_insensitive: true,
|
|
35
|
+
aliases: ["f90", "f95"],
|
|
36
|
+
keywords: {
|
|
37
|
+
$pattern: /\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,
|
|
38
|
+
keyword: [
|
|
39
|
+
"kind",
|
|
40
|
+
"do",
|
|
41
|
+
"concurrent",
|
|
42
|
+
"local",
|
|
43
|
+
"shared",
|
|
44
|
+
"while",
|
|
45
|
+
"private",
|
|
46
|
+
"call",
|
|
47
|
+
"intrinsic",
|
|
48
|
+
"where",
|
|
49
|
+
"elsewhere",
|
|
50
|
+
"type",
|
|
51
|
+
"endtype",
|
|
52
|
+
"endmodule",
|
|
53
|
+
"endselect",
|
|
54
|
+
"endinterface",
|
|
55
|
+
"end",
|
|
56
|
+
"enddo",
|
|
57
|
+
"endif",
|
|
58
|
+
"if",
|
|
59
|
+
"forall",
|
|
60
|
+
"endforall",
|
|
61
|
+
"only",
|
|
62
|
+
"contains",
|
|
63
|
+
"default",
|
|
64
|
+
"return",
|
|
65
|
+
"stop",
|
|
66
|
+
"then",
|
|
67
|
+
"block",
|
|
68
|
+
"endblock",
|
|
69
|
+
"endassociate",
|
|
70
|
+
"public",
|
|
71
|
+
"subroutine|10",
|
|
72
|
+
"function",
|
|
73
|
+
"program",
|
|
74
|
+
".and.",
|
|
75
|
+
".or.",
|
|
76
|
+
".not.",
|
|
77
|
+
".le.",
|
|
78
|
+
".eq.",
|
|
79
|
+
".ge.",
|
|
80
|
+
".gt.",
|
|
81
|
+
".lt.",
|
|
82
|
+
"goto",
|
|
83
|
+
"save",
|
|
84
|
+
"else",
|
|
85
|
+
"use",
|
|
86
|
+
"module",
|
|
87
|
+
"select",
|
|
88
|
+
"case",
|
|
89
|
+
"access",
|
|
90
|
+
"blank",
|
|
91
|
+
"direct",
|
|
92
|
+
"exist",
|
|
93
|
+
"file",
|
|
94
|
+
"fmt",
|
|
95
|
+
"form",
|
|
96
|
+
"formatted",
|
|
97
|
+
"iostat",
|
|
98
|
+
"name",
|
|
99
|
+
"named",
|
|
100
|
+
"nextrec",
|
|
101
|
+
"number",
|
|
102
|
+
"opened",
|
|
103
|
+
"rec",
|
|
104
|
+
"recl",
|
|
105
|
+
"sequential",
|
|
106
|
+
"status",
|
|
107
|
+
"unformatted",
|
|
108
|
+
"unit",
|
|
109
|
+
"continue",
|
|
110
|
+
"format",
|
|
111
|
+
"pause",
|
|
112
|
+
"cycle",
|
|
113
|
+
"exit",
|
|
114
|
+
"c_null_char",
|
|
115
|
+
"c_alert",
|
|
116
|
+
"c_backspace",
|
|
117
|
+
"c_form_feed",
|
|
118
|
+
"flush",
|
|
119
|
+
"wait",
|
|
120
|
+
"decimal",
|
|
121
|
+
"round",
|
|
122
|
+
"iomsg",
|
|
123
|
+
"synchronous",
|
|
124
|
+
"nopass",
|
|
125
|
+
"non_overridable",
|
|
126
|
+
"pass",
|
|
127
|
+
"protected",
|
|
128
|
+
"volatile",
|
|
129
|
+
"abstract",
|
|
130
|
+
"extends",
|
|
131
|
+
"import",
|
|
132
|
+
"non_intrinsic",
|
|
133
|
+
"value",
|
|
134
|
+
"deferred",
|
|
135
|
+
"generic",
|
|
136
|
+
"final",
|
|
137
|
+
"enumerator",
|
|
138
|
+
"class",
|
|
139
|
+
"associate",
|
|
140
|
+
"bind",
|
|
141
|
+
"enum",
|
|
142
|
+
"c_int",
|
|
143
|
+
"c_short",
|
|
144
|
+
"c_long",
|
|
145
|
+
"c_long_long",
|
|
146
|
+
"c_signed_char",
|
|
147
|
+
"c_size_t",
|
|
148
|
+
"c_int8_t",
|
|
149
|
+
"c_int16_t",
|
|
150
|
+
"c_int32_t",
|
|
151
|
+
"c_int64_t",
|
|
152
|
+
"c_int_least8_t",
|
|
153
|
+
"c_int_least16_t",
|
|
154
|
+
"c_int_least32_t",
|
|
155
|
+
"c_int_least64_t",
|
|
156
|
+
"c_int_fast8_t",
|
|
157
|
+
"c_int_fast16_t",
|
|
158
|
+
"c_int_fast32_t",
|
|
159
|
+
"c_int_fast64_t",
|
|
160
|
+
"c_intmax_t",
|
|
161
|
+
"C_intptr_t",
|
|
162
|
+
"c_float",
|
|
163
|
+
"c_double",
|
|
164
|
+
"c_long_double",
|
|
165
|
+
"c_float_complex",
|
|
166
|
+
"c_double_complex",
|
|
167
|
+
"c_long_double_complex",
|
|
168
|
+
"c_bool",
|
|
169
|
+
"c_char",
|
|
170
|
+
"c_null_ptr",
|
|
171
|
+
"c_null_funptr",
|
|
172
|
+
"c_new_line",
|
|
173
|
+
"c_carriage_return",
|
|
174
|
+
"c_horizontal_tab",
|
|
175
|
+
"c_vertical_tab",
|
|
176
|
+
"iso_c_binding",
|
|
177
|
+
"c_loc",
|
|
178
|
+
"c_funloc",
|
|
179
|
+
"c_associated",
|
|
180
|
+
"c_f_pointer",
|
|
181
|
+
"c_ptr",
|
|
182
|
+
"c_funptr",
|
|
183
|
+
"iso_fortran_env",
|
|
184
|
+
"character_storage_size",
|
|
185
|
+
"error_unit",
|
|
186
|
+
"file_storage_size",
|
|
187
|
+
"input_unit",
|
|
188
|
+
"iostat_end",
|
|
189
|
+
"iostat_eor",
|
|
190
|
+
"numeric_storage_size",
|
|
191
|
+
"output_unit",
|
|
192
|
+
"c_f_procpointer",
|
|
193
|
+
"ieee_arithmetic",
|
|
194
|
+
"ieee_support_underflow_control",
|
|
195
|
+
"ieee_get_underflow_mode",
|
|
196
|
+
"ieee_set_underflow_mode",
|
|
197
|
+
"newunit",
|
|
198
|
+
"contiguous",
|
|
199
|
+
"recursive",
|
|
200
|
+
"pad",
|
|
201
|
+
"position",
|
|
202
|
+
"action",
|
|
203
|
+
"delim",
|
|
204
|
+
"readwrite",
|
|
205
|
+
"eor",
|
|
206
|
+
"advance",
|
|
207
|
+
"nml",
|
|
208
|
+
"interface",
|
|
209
|
+
"procedure",
|
|
210
|
+
"namelist",
|
|
211
|
+
"include",
|
|
212
|
+
"sequence",
|
|
213
|
+
"elemental",
|
|
214
|
+
"pure",
|
|
215
|
+
"impure",
|
|
216
|
+
"integer",
|
|
217
|
+
"real",
|
|
218
|
+
"character",
|
|
219
|
+
"complex",
|
|
220
|
+
"logical",
|
|
221
|
+
"codimension",
|
|
222
|
+
"dimension",
|
|
223
|
+
"allocatable|10",
|
|
224
|
+
"parameter",
|
|
225
|
+
"external",
|
|
226
|
+
"implicit|10",
|
|
227
|
+
"none",
|
|
228
|
+
"double",
|
|
229
|
+
"precision",
|
|
230
|
+
"assign",
|
|
231
|
+
"intent",
|
|
232
|
+
"optional",
|
|
233
|
+
"pointer",
|
|
234
|
+
"target",
|
|
235
|
+
"in",
|
|
236
|
+
"out",
|
|
237
|
+
"common",
|
|
238
|
+
"equivalence",
|
|
239
|
+
"data"
|
|
240
|
+
],
|
|
241
|
+
literal: [".False.", ".True."],
|
|
242
|
+
built_in: [
|
|
243
|
+
"alog",
|
|
244
|
+
"alog10",
|
|
245
|
+
"amax0",
|
|
246
|
+
"amax1",
|
|
247
|
+
"amin0",
|
|
248
|
+
"amin1",
|
|
249
|
+
"amod",
|
|
250
|
+
"cabs",
|
|
251
|
+
"ccos",
|
|
252
|
+
"cexp",
|
|
253
|
+
"clog",
|
|
254
|
+
"csin",
|
|
255
|
+
"csqrt",
|
|
256
|
+
"dabs",
|
|
257
|
+
"dacos",
|
|
258
|
+
"dasin",
|
|
259
|
+
"datan",
|
|
260
|
+
"datan2",
|
|
261
|
+
"dcos",
|
|
262
|
+
"dcosh",
|
|
263
|
+
"ddim",
|
|
264
|
+
"dexp",
|
|
265
|
+
"dint",
|
|
266
|
+
"dlog",
|
|
267
|
+
"dlog10",
|
|
268
|
+
"dmax1",
|
|
269
|
+
"dmin1",
|
|
270
|
+
"dmod",
|
|
271
|
+
"dnint",
|
|
272
|
+
"dsign",
|
|
273
|
+
"dsin",
|
|
274
|
+
"dsinh",
|
|
275
|
+
"dsqrt",
|
|
276
|
+
"dtan",
|
|
277
|
+
"dtanh",
|
|
278
|
+
"float",
|
|
279
|
+
"iabs",
|
|
280
|
+
"idim",
|
|
281
|
+
"idint",
|
|
282
|
+
"idnint",
|
|
283
|
+
"ifix",
|
|
284
|
+
"isign",
|
|
285
|
+
"max0",
|
|
286
|
+
"max1",
|
|
287
|
+
"min0",
|
|
288
|
+
"min1",
|
|
289
|
+
"sngl",
|
|
290
|
+
"algama",
|
|
291
|
+
"cdabs",
|
|
292
|
+
"cdcos",
|
|
293
|
+
"cdexp",
|
|
294
|
+
"cdlog",
|
|
295
|
+
"cdsin",
|
|
296
|
+
"cdsqrt",
|
|
297
|
+
"cqabs",
|
|
298
|
+
"cqcos",
|
|
299
|
+
"cqexp",
|
|
300
|
+
"cqlog",
|
|
301
|
+
"cqsin",
|
|
302
|
+
"cqsqrt",
|
|
303
|
+
"dcmplx",
|
|
304
|
+
"dconjg",
|
|
305
|
+
"derf",
|
|
306
|
+
"derfc",
|
|
307
|
+
"dfloat",
|
|
308
|
+
"dgamma",
|
|
309
|
+
"dimag",
|
|
310
|
+
"dlgama",
|
|
311
|
+
"iqint",
|
|
312
|
+
"qabs",
|
|
313
|
+
"qacos",
|
|
314
|
+
"qasin",
|
|
315
|
+
"qatan",
|
|
316
|
+
"qatan2",
|
|
317
|
+
"qcmplx",
|
|
318
|
+
"qconjg",
|
|
319
|
+
"qcos",
|
|
320
|
+
"qcosh",
|
|
321
|
+
"qdim",
|
|
322
|
+
"qerf",
|
|
323
|
+
"qerfc",
|
|
324
|
+
"qexp",
|
|
325
|
+
"qgamma",
|
|
326
|
+
"qimag",
|
|
327
|
+
"qlgama",
|
|
328
|
+
"qlog",
|
|
329
|
+
"qlog10",
|
|
330
|
+
"qmax1",
|
|
331
|
+
"qmin1",
|
|
332
|
+
"qmod",
|
|
333
|
+
"qnint",
|
|
334
|
+
"qsign",
|
|
335
|
+
"qsin",
|
|
336
|
+
"qsinh",
|
|
337
|
+
"qsqrt",
|
|
338
|
+
"qtan",
|
|
339
|
+
"qtanh",
|
|
340
|
+
"abs",
|
|
341
|
+
"acos",
|
|
342
|
+
"aimag",
|
|
343
|
+
"aint",
|
|
344
|
+
"anint",
|
|
345
|
+
"asin",
|
|
346
|
+
"atan",
|
|
347
|
+
"atan2",
|
|
348
|
+
"char",
|
|
349
|
+
"cmplx",
|
|
350
|
+
"conjg",
|
|
351
|
+
"cos",
|
|
352
|
+
"cosh",
|
|
353
|
+
"exp",
|
|
354
|
+
"ichar",
|
|
355
|
+
"index",
|
|
356
|
+
"int",
|
|
357
|
+
"log",
|
|
358
|
+
"log10",
|
|
359
|
+
"max",
|
|
360
|
+
"min",
|
|
361
|
+
"nint",
|
|
362
|
+
"sign",
|
|
363
|
+
"sin",
|
|
364
|
+
"sinh",
|
|
365
|
+
"sqrt",
|
|
366
|
+
"tan",
|
|
367
|
+
"tanh",
|
|
368
|
+
"print",
|
|
369
|
+
"write",
|
|
370
|
+
"dim",
|
|
371
|
+
"lge",
|
|
372
|
+
"lgt",
|
|
373
|
+
"lle",
|
|
374
|
+
"llt",
|
|
375
|
+
"mod",
|
|
376
|
+
"nullify",
|
|
377
|
+
"allocate",
|
|
378
|
+
"deallocate",
|
|
379
|
+
"adjustl",
|
|
380
|
+
"adjustr",
|
|
381
|
+
"all",
|
|
382
|
+
"allocated",
|
|
383
|
+
"any",
|
|
384
|
+
"associated",
|
|
385
|
+
"bit_size",
|
|
386
|
+
"btest",
|
|
387
|
+
"ceiling",
|
|
388
|
+
"count",
|
|
389
|
+
"cshift",
|
|
390
|
+
"date_and_time",
|
|
391
|
+
"digits",
|
|
392
|
+
"dot_product",
|
|
393
|
+
"eoshift",
|
|
394
|
+
"epsilon",
|
|
395
|
+
"exponent",
|
|
396
|
+
"floor",
|
|
397
|
+
"fraction",
|
|
398
|
+
"huge",
|
|
399
|
+
"iand",
|
|
400
|
+
"ibclr",
|
|
401
|
+
"ibits",
|
|
402
|
+
"ibset",
|
|
403
|
+
"ieor",
|
|
404
|
+
"ior",
|
|
405
|
+
"ishft",
|
|
406
|
+
"ishftc",
|
|
407
|
+
"lbound",
|
|
408
|
+
"len_trim",
|
|
409
|
+
"matmul",
|
|
410
|
+
"maxexponent",
|
|
411
|
+
"maxloc",
|
|
412
|
+
"maxval",
|
|
413
|
+
"merge",
|
|
414
|
+
"minexponent",
|
|
415
|
+
"minloc",
|
|
416
|
+
"minval",
|
|
417
|
+
"modulo",
|
|
418
|
+
"mvbits",
|
|
419
|
+
"nearest",
|
|
420
|
+
"pack",
|
|
421
|
+
"present",
|
|
422
|
+
"product",
|
|
423
|
+
"radix",
|
|
424
|
+
"random_number",
|
|
425
|
+
"random_seed",
|
|
426
|
+
"range",
|
|
427
|
+
"repeat",
|
|
428
|
+
"reshape",
|
|
429
|
+
"rrspacing",
|
|
430
|
+
"scale",
|
|
431
|
+
"scan",
|
|
432
|
+
"selected_int_kind",
|
|
433
|
+
"selected_real_kind",
|
|
434
|
+
"set_exponent",
|
|
435
|
+
"shape",
|
|
436
|
+
"size",
|
|
437
|
+
"spacing",
|
|
438
|
+
"spread",
|
|
439
|
+
"sum",
|
|
440
|
+
"system_clock",
|
|
441
|
+
"tiny",
|
|
442
|
+
"transpose",
|
|
443
|
+
"trim",
|
|
444
|
+
"ubound",
|
|
445
|
+
"unpack",
|
|
446
|
+
"verify",
|
|
447
|
+
"achar",
|
|
448
|
+
"iachar",
|
|
449
|
+
"transfer",
|
|
450
|
+
"dble",
|
|
451
|
+
"entry",
|
|
452
|
+
"dprod",
|
|
453
|
+
"cpu_time",
|
|
454
|
+
"command_argument_count",
|
|
455
|
+
"get_command",
|
|
456
|
+
"get_command_argument",
|
|
457
|
+
"get_environment_variable",
|
|
458
|
+
"is_iostat_end",
|
|
459
|
+
"ieee_arithmetic",
|
|
460
|
+
"ieee_support_underflow_control",
|
|
461
|
+
"ieee_get_underflow_mode",
|
|
462
|
+
"ieee_set_underflow_mode",
|
|
463
|
+
"is_iostat_eor",
|
|
464
|
+
"move_alloc",
|
|
465
|
+
"new_line",
|
|
466
|
+
"selected_char_kind",
|
|
467
|
+
"same_type_as",
|
|
468
|
+
"extends_type_of",
|
|
469
|
+
"acosh",
|
|
470
|
+
"asinh",
|
|
471
|
+
"atanh",
|
|
472
|
+
"bessel_j0",
|
|
473
|
+
"bessel_j1",
|
|
474
|
+
"bessel_jn",
|
|
475
|
+
"bessel_y0",
|
|
476
|
+
"bessel_y1",
|
|
477
|
+
"bessel_yn",
|
|
478
|
+
"erf",
|
|
479
|
+
"erfc",
|
|
480
|
+
"erfc_scaled",
|
|
481
|
+
"gamma",
|
|
482
|
+
"log_gamma",
|
|
483
|
+
"hypot",
|
|
484
|
+
"norm2",
|
|
485
|
+
"atomic_define",
|
|
486
|
+
"atomic_ref",
|
|
487
|
+
"execute_command_line",
|
|
488
|
+
"leadz",
|
|
489
|
+
"trailz",
|
|
490
|
+
"storage_size",
|
|
491
|
+
"merge_bits",
|
|
492
|
+
"bge",
|
|
493
|
+
"bgt",
|
|
494
|
+
"ble",
|
|
495
|
+
"blt",
|
|
496
|
+
"dshiftl",
|
|
497
|
+
"dshiftr",
|
|
498
|
+
"findloc",
|
|
499
|
+
"iall",
|
|
500
|
+
"iany",
|
|
501
|
+
"iparity",
|
|
502
|
+
"image_index",
|
|
503
|
+
"lcobound",
|
|
504
|
+
"ucobound",
|
|
505
|
+
"maskl",
|
|
506
|
+
"maskr",
|
|
507
|
+
"num_images",
|
|
508
|
+
"parity",
|
|
509
|
+
"popcnt",
|
|
510
|
+
"poppar",
|
|
511
|
+
"shifta",
|
|
512
|
+
"shiftl",
|
|
513
|
+
"shiftr",
|
|
514
|
+
"this_image",
|
|
515
|
+
"sync",
|
|
516
|
+
"change",
|
|
517
|
+
"team",
|
|
518
|
+
"co_broadcast",
|
|
519
|
+
"co_max",
|
|
520
|
+
"co_min",
|
|
521
|
+
"co_sum",
|
|
522
|
+
"co_reduce"
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
illegal: /\/\*/,
|
|
526
|
+
contains: [
|
|
527
|
+
{
|
|
528
|
+
className: "string",
|
|
529
|
+
relevance: 0,
|
|
530
|
+
variants: [hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE]
|
|
531
|
+
},
|
|
532
|
+
FUNCTION_DEF,
|
|
533
|
+
{
|
|
534
|
+
begin: /^C\s*=(?!=)/,
|
|
535
|
+
relevance: 0
|
|
536
|
+
},
|
|
537
|
+
COMMENT,
|
|
538
|
+
NUMBER
|
|
539
|
+
]
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
//#endregion
|
|
543
|
+
export { fortran as default };
|