code-languages 1.31.2 → 1.32.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/README.md +49 -39
- package/dist/api.cjs +522 -97
- package/dist/api.d.cts +1 -1
- package/dist/api.d.ts +1 -1
- package/dist/api.js +522 -97
- package/dist/detect-slugs.cjs +50 -39
- package/dist/detect-slugs.d.cts +1 -1
- package/dist/detect-slugs.d.ts +1 -1
- package/dist/detect-slugs.js +50 -39
- package/dist/detect.cjs +342 -34
- package/dist/detect.js +342 -34
- package/dist/index.cjs +589 -142
- package/dist/index.d.cts +458 -172
- package/dist/index.d.ts +458 -172
- package/dist/index.js +545 -98
- package/dist/{language-registry-BaICPFq_.d.cts → language-registry-BWMgasX6.d.cts} +109 -79
- package/dist/{language-registry-BaICPFq_.d.ts → language-registry-BWMgasX6.d.ts} +109 -79
- package/dist/languages/algol.cjs +32 -0
- package/dist/languages/algol.d.cts +29 -0
- package/dist/languages/algol.d.ts +29 -0
- package/dist/languages/algol.js +30 -0
- package/dist/languages/ante.cjs +33 -0
- package/dist/languages/ante.d.cts +30 -0
- package/dist/languages/ante.d.ts +30 -0
- package/dist/languages/ante.js +31 -0
- package/dist/languages/austral.cjs +32 -0
- package/dist/languages/austral.d.cts +29 -0
- package/dist/languages/austral.d.ts +29 -0
- package/dist/languages/austral.js +30 -0
- package/dist/languages/bcpl.cjs +32 -0
- package/dist/languages/bcpl.d.cts +29 -0
- package/dist/languages/bcpl.d.ts +29 -0
- package/dist/languages/bcpl.js +30 -0
- package/dist/languages/bosque.cjs +32 -0
- package/dist/languages/bosque.d.cts +29 -0
- package/dist/languages/bosque.d.ts +29 -0
- package/dist/languages/bosque.js +30 -0
- package/dist/languages/bqn.cjs +32 -0
- package/dist/languages/bqn.d.cts +29 -0
- package/dist/languages/bqn.d.ts +29 -0
- package/dist/languages/bqn.js +30 -0
- package/dist/languages/curry.cjs +33 -0
- package/dist/languages/curry.d.cts +30 -0
- package/dist/languages/curry.d.ts +30 -0
- package/dist/languages/curry.js +31 -0
- package/dist/languages/factor.cjs +33 -0
- package/dist/languages/factor.d.cts +30 -0
- package/dist/languages/factor.d.ts +30 -0
- package/dist/languages/factor.js +31 -0
- package/dist/languages/io.cjs +32 -0
- package/dist/languages/io.d.cts +29 -0
- package/dist/languages/io.d.ts +29 -0
- package/dist/languages/io.js +30 -0
- package/dist/languages/koka.cjs +33 -0
- package/dist/languages/koka.d.cts +30 -0
- package/dist/languages/koka.d.ts +30 -0
- package/dist/languages/koka.js +31 -0
- package/package.json +756 -646
package/dist/detect.cjs
CHANGED
|
@@ -198,6 +198,65 @@ var agda = {
|
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
+
// src/languages/algol.ts
|
|
202
|
+
var algol = {
|
|
203
|
+
slug: "algol",
|
|
204
|
+
publishedDate: "1958-01-01",
|
|
205
|
+
extensions: [".alg", ".algol"],
|
|
206
|
+
author: "ACM-GAMM committee",
|
|
207
|
+
website: "https://en.wikipedia.org/wiki/ALGOL",
|
|
208
|
+
paradigms: ["imperative", "procedural", "structured"],
|
|
209
|
+
tooling: {
|
|
210
|
+
runtimes: ["ALGOL 60 compilers", "ALGOL 68 Genie"],
|
|
211
|
+
ecosystems: ["Academic Computing", "Language Design", "Numerical Computing"]
|
|
212
|
+
},
|
|
213
|
+
version: "ALGOL 68",
|
|
214
|
+
logo: "https://dummyimage.com/32x32/6B7280/ffffff.png&text=ALG",
|
|
215
|
+
color: "#6B7280",
|
|
216
|
+
i18n: {
|
|
217
|
+
en: {
|
|
218
|
+
name: "ALGOL",
|
|
219
|
+
description: "A family of early algorithmic languages that shaped block structure and formal language design.",
|
|
220
|
+
longDescription: "ALGOL introduced influential ideas for writing algorithms, including nested blocks, lexical scope, structured control flow, and a notation close to mathematical pseudocode.\n\nAlthough few modern systems use ALGOL directly, its design strongly influenced Pascal, C, Simula, Ada, and many later languages used in scientific and systems programming."
|
|
221
|
+
},
|
|
222
|
+
es: {
|
|
223
|
+
name: "ALGOL",
|
|
224
|
+
description: "Una familia temprana de lenguajes algoritmicos que influyo en bloques y diseno formal.",
|
|
225
|
+
longDescription: "ALGOL introdujo ideas influyentes para escribir algoritmos, como bloques anidados, alcance lexico, control estructurado y una notacion cercana al pseudocodigo matematico.\n\nAunque hoy se usa poco directamente, su diseno influyo en Pascal, C, Simula, Ada y muchos lenguajes posteriores."
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
// src/languages/ante.ts
|
|
231
|
+
var ante = {
|
|
232
|
+
slug: "ante",
|
|
233
|
+
publishedDate: "2019-01-01",
|
|
234
|
+
extensions: [".ante"],
|
|
235
|
+
author: "Evan Haas",
|
|
236
|
+
website: "https://antelang.org",
|
|
237
|
+
paradigms: ["functional", "imperative", "systems"],
|
|
238
|
+
tooling: {
|
|
239
|
+
runtimes: ["Ante compiler"],
|
|
240
|
+
packageManagers: ["Ante package tooling"],
|
|
241
|
+
ecosystems: ["Systems Programming", "Research", "Compiler Development"]
|
|
242
|
+
},
|
|
243
|
+
version: "experimental",
|
|
244
|
+
logo: "https://dummyimage.com/32x32/4F46E5/ffffff.png&text=A",
|
|
245
|
+
color: "#4F46E5",
|
|
246
|
+
i18n: {
|
|
247
|
+
en: {
|
|
248
|
+
name: "Ante",
|
|
249
|
+
description: "A systems language exploring algebraic effects, type inference, and safe low-level programming.",
|
|
250
|
+
longDescription: "Ante is an experimental programming language focused on combining systems-level control with high-level type system features such as algebraic effects, traits, and strong inference.\n\nIt is mainly used for language design research, compiler experimentation, and exploring how effect systems can model IO, mutation, and error handling without losing performance goals."
|
|
251
|
+
},
|
|
252
|
+
es: {
|
|
253
|
+
name: "Ante",
|
|
254
|
+
description: "Un lenguaje de sistemas que explora efectos algebraicos, inferencia y seguridad.",
|
|
255
|
+
longDescription: "Ante es un lenguaje experimental que combina control de bajo nivel con rasgos de sistema de tipos como efectos algebraicos, traits e inferencia fuerte.\n\nSe usa sobre todo para investigacion de lenguajes, experimentos de compiladores y exploracion de sistemas de efectos para IO, mutacion y errores."
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
|
|
201
260
|
// src/languages/antlr.ts
|
|
202
261
|
var antlr = {
|
|
203
262
|
slug: "antlr",
|
|
@@ -646,6 +705,35 @@ var astro = {
|
|
|
646
705
|
}
|
|
647
706
|
};
|
|
648
707
|
|
|
708
|
+
// src/languages/austral.ts
|
|
709
|
+
var austral = {
|
|
710
|
+
slug: "austral",
|
|
711
|
+
publishedDate: "2021-01-01",
|
|
712
|
+
extensions: [".aum", ".aui"],
|
|
713
|
+
author: "Fernando Borretti",
|
|
714
|
+
website: "https://austral-lang.org",
|
|
715
|
+
paradigms: ["imperative", "systems", "procedural"],
|
|
716
|
+
tooling: {
|
|
717
|
+
runtimes: ["Austral compiler"],
|
|
718
|
+
ecosystems: ["Systems Programming", "Memory Safety", "Research"]
|
|
719
|
+
},
|
|
720
|
+
version: "0.1.0",
|
|
721
|
+
logo: "https://dummyimage.com/32x32/0F766E/ffffff.png&text=Au",
|
|
722
|
+
color: "#0F766E",
|
|
723
|
+
i18n: {
|
|
724
|
+
en: {
|
|
725
|
+
name: "Austral",
|
|
726
|
+
description: "A systems language built around linear types, capability safety, and explicit memory control.",
|
|
727
|
+
longDescription: "Austral is an experimental systems programming language that uses linear types to make ownership and resource handling explicit while keeping low-level control available to the programmer.\n\nIts design emphasizes capability safety, simple compilation targets, readable syntax, and research into practical ways to prevent resource misuse in native programs."
|
|
728
|
+
},
|
|
729
|
+
es: {
|
|
730
|
+
name: "Austral",
|
|
731
|
+
description: "Un lenguaje de sistemas basado en tipos lineales, capacidades y memoria explicita.",
|
|
732
|
+
longDescription: "Austral es un lenguaje experimental de sistemas que usa tipos lineales para hacer explicito el manejo de propiedad y recursos sin perder control de bajo nivel.\n\nSu diseno enfatiza seguridad por capacidades, objetivos de compilacion simples y formas practicas de evitar mal uso de recursos."
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
|
|
649
737
|
// src/languages/autohotkey.ts
|
|
650
738
|
var autohotkey = {
|
|
651
739
|
slug: "autohotkey",
|
|
@@ -944,6 +1032,35 @@ var bazel = {
|
|
|
944
1032
|
}
|
|
945
1033
|
};
|
|
946
1034
|
|
|
1035
|
+
// src/languages/bcpl.ts
|
|
1036
|
+
var bcpl = {
|
|
1037
|
+
slug: "bcpl",
|
|
1038
|
+
publishedDate: "1967-01-01",
|
|
1039
|
+
extensions: [".bcpl"],
|
|
1040
|
+
author: "Martin Richards",
|
|
1041
|
+
website: "https://www.cl.cam.ac.uk/~mr10/BCPL.html",
|
|
1042
|
+
paradigms: ["imperative", "procedural", "systems"],
|
|
1043
|
+
tooling: {
|
|
1044
|
+
runtimes: ["Cintsys BCPL", "Classic BCPL compilers"],
|
|
1045
|
+
ecosystems: ["Systems Programming", "Operating Systems", "Language History"]
|
|
1046
|
+
},
|
|
1047
|
+
version: "Cintsys BCPL",
|
|
1048
|
+
logo: "https://dummyimage.com/32x32/374151/ffffff.png&text=BC",
|
|
1049
|
+
color: "#374151",
|
|
1050
|
+
i18n: {
|
|
1051
|
+
en: {
|
|
1052
|
+
name: "BCPL",
|
|
1053
|
+
description: "A compact systems language that influenced B and C through typeless procedural programming.",
|
|
1054
|
+
longDescription: "BCPL was designed as a small, portable systems language with a simple compiler and a typeless model suited to early operating systems and compiler work.\n\nIts syntax, block structure, braces, comments, and procedural style influenced B and C, making it an important ancestor of modern systems programming languages."
|
|
1055
|
+
},
|
|
1056
|
+
es: {
|
|
1057
|
+
name: "BCPL",
|
|
1058
|
+
description: "Un lenguaje compacto de sistemas que influyo en B y C con programacion procedural.",
|
|
1059
|
+
longDescription: "BCPL fue disenado como un lenguaje de sistemas pequeno y portable, con compilador simple y modelo sin tipos para sistemas operativos tempranos.\n\nSu sintaxis, bloques, llaves, comentarios y estilo procedural influyeron en B y C."
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
};
|
|
1063
|
+
|
|
947
1064
|
// src/languages/bicep.ts
|
|
948
1065
|
var bicep = {
|
|
949
1066
|
slug: "bicep",
|
|
@@ -1044,6 +1161,64 @@ var blade = {
|
|
|
1044
1161
|
}
|
|
1045
1162
|
};
|
|
1046
1163
|
|
|
1164
|
+
// src/languages/bosque.ts
|
|
1165
|
+
var bosque = {
|
|
1166
|
+
slug: "bosque",
|
|
1167
|
+
publishedDate: "2019-04-15",
|
|
1168
|
+
extensions: [".bsq"],
|
|
1169
|
+
author: "Microsoft Research",
|
|
1170
|
+
website: "https://github.com/microsoft/BosqueLanguage",
|
|
1171
|
+
paradigms: ["functional", "imperative", "object-oriented"],
|
|
1172
|
+
tooling: {
|
|
1173
|
+
runtimes: ["Bosque reference runtime"],
|
|
1174
|
+
ecosystems: ["Research", "Verification", "Application Logic"]
|
|
1175
|
+
},
|
|
1176
|
+
version: "experimental",
|
|
1177
|
+
logo: "https://dummyimage.com/32x32/0078D4/ffffff.png&text=B",
|
|
1178
|
+
color: "#0078D4",
|
|
1179
|
+
i18n: {
|
|
1180
|
+
en: {
|
|
1181
|
+
name: "Bosque",
|
|
1182
|
+
description: "A Microsoft Research language exploring regularized programming and predictable semantics.",
|
|
1183
|
+
longDescription: "Bosque is a research programming language from Microsoft Research that explores regularized programming, aiming to reduce incidental complexity in control flow, mutation, and object identity.\n\nIt combines ideas from functional and object-oriented programming with immutable values, algebraic data, structured collections, and semantics meant to support tooling and automated reasoning."
|
|
1184
|
+
},
|
|
1185
|
+
es: {
|
|
1186
|
+
name: "Bosque",
|
|
1187
|
+
description: "Un lenguaje de Microsoft Research sobre programacion regularizada y semantica predecible.",
|
|
1188
|
+
longDescription: "Bosque es un lenguaje de investigacion de Microsoft Research que explora programacion regularizada para reducir complejidad accidental en control, mutacion e identidad.\n\nCombina ideas funcionales y orientadas a objetos con valores inmutables, datos algebraicos y semantica pensada para herramientas."
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
};
|
|
1192
|
+
|
|
1193
|
+
// src/languages/bqn.ts
|
|
1194
|
+
var bqn = {
|
|
1195
|
+
slug: "bqn",
|
|
1196
|
+
publishedDate: "2020-01-01",
|
|
1197
|
+
extensions: [".bqn"],
|
|
1198
|
+
author: "Marshall Lochbaum",
|
|
1199
|
+
website: "https://mlochbaum.github.io/BQN/",
|
|
1200
|
+
paradigms: ["array", "functional", "tacit"],
|
|
1201
|
+
tooling: {
|
|
1202
|
+
runtimes: ["CBQN", "BQN.js"],
|
|
1203
|
+
ecosystems: ["Array Programming", "Data Transformation", "Recreational Computing"]
|
|
1204
|
+
},
|
|
1205
|
+
version: "BQN specification",
|
|
1206
|
+
logo: "https://dummyimage.com/32x32/7C3AED/ffffff.png&text=BQN",
|
|
1207
|
+
color: "#7C3AED",
|
|
1208
|
+
i18n: {
|
|
1209
|
+
en: {
|
|
1210
|
+
name: "BQN",
|
|
1211
|
+
description: "An array programming language in the APL family with modern notation and tacit features.",
|
|
1212
|
+
longDescription: "BQN is an array-oriented language influenced by APL, J, and K. It uses concise symbols to express operations over arrays, functions, modifiers, and trains.\n\nIt is used for compact data manipulation, algorithm exploration, teaching array thinking, and experiments with high-level notation backed by interpreters such as CBQN and BQN.js."
|
|
1213
|
+
},
|
|
1214
|
+
es: {
|
|
1215
|
+
name: "BQN",
|
|
1216
|
+
description: "Un lenguaje de programacion de arreglos de la familia APL con notacion moderna.",
|
|
1217
|
+
longDescription: "BQN es un lenguaje orientado a arreglos influido por APL, J y K. Usa simbolos concisos para expresar operaciones sobre arreglos, funciones y modificadores.\n\nSe usa para manipulacion compacta de datos, exploracion de algoritmos y ensenanza de pensamiento basado en arreglos."
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1047
1222
|
// src/languages/c.ts
|
|
1048
1223
|
var c = {
|
|
1049
1224
|
slug: "c",
|
|
@@ -1887,6 +2062,36 @@ var cue = {
|
|
|
1887
2062
|
}
|
|
1888
2063
|
};
|
|
1889
2064
|
|
|
2065
|
+
// src/languages/curry.ts
|
|
2066
|
+
var curry = {
|
|
2067
|
+
slug: "curry",
|
|
2068
|
+
publishedDate: "1997-01-01",
|
|
2069
|
+
extensions: [".curry", ".lcurry"],
|
|
2070
|
+
author: "Curry language community",
|
|
2071
|
+
website: "https://www.curry-language.org",
|
|
2072
|
+
paradigms: ["functional", "logic", "declarative"],
|
|
2073
|
+
tooling: {
|
|
2074
|
+
runtimes: ["KiCS2", "PAKCS"],
|
|
2075
|
+
packageManagers: ["Curry Package Manager"],
|
|
2076
|
+
ecosystems: ["Functional Logic Programming", "Constraint Solving", "Research"]
|
|
2077
|
+
},
|
|
2078
|
+
version: "Curry 0.9.0",
|
|
2079
|
+
logo: "https://dummyimage.com/32x32/BE123C/ffffff.png&text=Cu",
|
|
2080
|
+
color: "#BE123C",
|
|
2081
|
+
i18n: {
|
|
2082
|
+
en: {
|
|
2083
|
+
name: "Curry",
|
|
2084
|
+
description: "A functional logic language that combines Haskell-style functions with logic variables.",
|
|
2085
|
+
longDescription: "Curry combines functional programming with logic programming, enabling lazy evaluation, higher-order functions, logic variables, non-determinism, and constraint-based computation in one language.\n\nIt is used in academic research, teaching declarative programming, symbolic computation, program analysis, and systems that benefit from mixing functional abstraction with logic search."
|
|
2086
|
+
},
|
|
2087
|
+
es: {
|
|
2088
|
+
name: "Curry",
|
|
2089
|
+
description: "Un lenguaje funcional-logico que combina funciones estilo Haskell con variables logicas.",
|
|
2090
|
+
longDescription: "Curry combina programacion funcional y logica con evaluacion perezosa, funciones de orden superior, variables logicas, no determinismo y restricciones.\n\nSe usa en investigacion, docencia de programacion declarativa, computacion simbolica y analisis de programas."
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
};
|
|
2094
|
+
|
|
1890
2095
|
// src/languages/cypher.ts
|
|
1891
2096
|
var cypher = {
|
|
1892
2097
|
slug: "cypher",
|
|
@@ -2595,6 +2800,36 @@ var erlang = {
|
|
|
2595
2800
|
}
|
|
2596
2801
|
};
|
|
2597
2802
|
|
|
2803
|
+
// src/languages/factor.ts
|
|
2804
|
+
var factor = {
|
|
2805
|
+
slug: "factor",
|
|
2806
|
+
publishedDate: "2003-01-01",
|
|
2807
|
+
extensions: [".factor"],
|
|
2808
|
+
author: "Slava Pestov",
|
|
2809
|
+
website: "https://factorcode.org",
|
|
2810
|
+
paradigms: ["concatenative", "functional", "stack-based"],
|
|
2811
|
+
tooling: {
|
|
2812
|
+
runtimes: ["Factor VM"],
|
|
2813
|
+
packageManagers: ["Factor vocabularies"],
|
|
2814
|
+
ecosystems: ["Interactive Development", "Language Research", "Desktop Tools"]
|
|
2815
|
+
},
|
|
2816
|
+
version: "0.101",
|
|
2817
|
+
logo: "https://dummyimage.com/32x32/F97316/ffffff.png&text=F",
|
|
2818
|
+
color: "#F97316",
|
|
2819
|
+
i18n: {
|
|
2820
|
+
en: {
|
|
2821
|
+
name: "Factor",
|
|
2822
|
+
description: "A concatenative, stack-based language with an interactive image and rich standard library.",
|
|
2823
|
+
longDescription: "Factor is a concatenative programming language where programs are composed by chaining words that transform a data stack. It includes an optimizing compiler, interactive environment, and image-based workflow.\n\nIts ecosystem includes libraries called vocabularies for UI, parsing, networking, math, databases, and tooling, making it useful for language experimentation and interactive development."
|
|
2824
|
+
},
|
|
2825
|
+
es: {
|
|
2826
|
+
name: "Factor",
|
|
2827
|
+
description: "Un lenguaje concatenativo basado en pila con imagen interactiva y biblioteca amplia.",
|
|
2828
|
+
longDescription: "Factor es un lenguaje concatenativo donde los programas encadenan palabras que transforman una pila de datos. Incluye compilador optimizador y entorno interactivo.\n\nSu ecosistema usa vocabularios para UI, parsing, redes, matematicas, bases de datos y herramientas."
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
};
|
|
2832
|
+
|
|
2598
2833
|
// src/languages/fennel.ts
|
|
2599
2834
|
var fennel = {
|
|
2600
2835
|
slug: "fennel",
|
|
@@ -4043,6 +4278,35 @@ var ini = {
|
|
|
4043
4278
|
}
|
|
4044
4279
|
};
|
|
4045
4280
|
|
|
4281
|
+
// src/languages/io.ts
|
|
4282
|
+
var io = {
|
|
4283
|
+
slug: "io",
|
|
4284
|
+
publishedDate: "2002-03-07",
|
|
4285
|
+
extensions: [".io"],
|
|
4286
|
+
author: "Steve Dekorte",
|
|
4287
|
+
website: "https://iolanguage.org",
|
|
4288
|
+
paradigms: ["prototype-based", "object-oriented", "dynamic"],
|
|
4289
|
+
tooling: {
|
|
4290
|
+
runtimes: ["Io VM"],
|
|
4291
|
+
ecosystems: ["Scripting", "Prototype Programming", "Language Exploration"]
|
|
4292
|
+
},
|
|
4293
|
+
version: "2017.09.06",
|
|
4294
|
+
logo: "https://dummyimage.com/32x32/2563EB/ffffff.png&text=Io",
|
|
4295
|
+
color: "#2563EB",
|
|
4296
|
+
i18n: {
|
|
4297
|
+
en: {
|
|
4298
|
+
name: "Io",
|
|
4299
|
+
description: "A small prototype-based language focused on message passing and minimal syntax.",
|
|
4300
|
+
longDescription: "Io is a dynamic prototype-based language inspired by Smalltalk, Self, Lisp, and Lua. Its object model is based on cloning prototypes and sending messages rather than class declarations.\n\nThe language has a compact syntax, coroutines, actors, reflection, and an embeddable runtime, making it a useful reference point for prototype programming and language design."
|
|
4301
|
+
},
|
|
4302
|
+
es: {
|
|
4303
|
+
name: "Io",
|
|
4304
|
+
description: "Un lenguaje pequeno basado en prototipos, paso de mensajes y sintaxis minima.",
|
|
4305
|
+
longDescription: "Io es un lenguaje dinamico basado en prototipos e inspirado por Smalltalk, Self, Lisp y Lua. Su modelo usa clonacion y envio de mensajes, no clases.\n\nIncluye sintaxis compacta, corrutinas, actores, reflexion y runtime embebible."
|
|
4306
|
+
}
|
|
4307
|
+
}
|
|
4308
|
+
};
|
|
4309
|
+
|
|
4046
4310
|
// src/languages/isabelle.ts
|
|
4047
4311
|
var isabelle = {
|
|
4048
4312
|
slug: "isabelle",
|
|
@@ -4655,6 +4919,36 @@ var kdl = {
|
|
|
4655
4919
|
}
|
|
4656
4920
|
};
|
|
4657
4921
|
|
|
4922
|
+
// src/languages/koka.ts
|
|
4923
|
+
var koka = {
|
|
4924
|
+
slug: "koka",
|
|
4925
|
+
publishedDate: "2012-01-01",
|
|
4926
|
+
extensions: [".kk"],
|
|
4927
|
+
author: "Daan Leijen",
|
|
4928
|
+
website: "https://koka-lang.github.io",
|
|
4929
|
+
paradigms: ["functional", "effect-oriented", "strongly typed"],
|
|
4930
|
+
tooling: {
|
|
4931
|
+
runtimes: ["Koka compiler"],
|
|
4932
|
+
packageManagers: ["Koka package tooling"],
|
|
4933
|
+
ecosystems: ["Effect Systems", "Functional Programming", "Research"]
|
|
4934
|
+
},
|
|
4935
|
+
version: "3.2.2",
|
|
4936
|
+
logo: "https://dummyimage.com/32x32/0891B2/ffffff.png&text=K",
|
|
4937
|
+
color: "#0891B2",
|
|
4938
|
+
i18n: {
|
|
4939
|
+
en: {
|
|
4940
|
+
name: "Koka",
|
|
4941
|
+
description: "A functional language with effect types for tracking side effects and resource use.",
|
|
4942
|
+
longDescription: "Koka is a strongly typed functional language centered on algebraic effect types. Functions describe the effects they may perform, which helps model exceptions, state, IO, and control flow.\n\nIt is used for research and practical experiments in effect systems, with a compiler that targets native and JavaScript environments while keeping memory management predictable."
|
|
4943
|
+
},
|
|
4944
|
+
es: {
|
|
4945
|
+
name: "Koka",
|
|
4946
|
+
description: "Un lenguaje funcional con tipos de efectos para rastrear efectos laterales y recursos.",
|
|
4947
|
+
longDescription: "Koka es un lenguaje funcional de tipado fuerte centrado en tipos de efectos algebraicos. Las funciones describen los efectos que pueden realizar.\n\nSe usa para investigacion y experimentos practicos en sistemas de efectos, con compilacion a entornos nativos y JavaScript."
|
|
4948
|
+
}
|
|
4949
|
+
}
|
|
4950
|
+
};
|
|
4951
|
+
|
|
4658
4952
|
// src/languages/kotlin.ts
|
|
4659
4953
|
var kotlin = {
|
|
4660
4954
|
slug: "kotlin",
|
|
@@ -9927,6 +10221,8 @@ var languages = [
|
|
|
9927
10221
|
actionscript,
|
|
9928
10222
|
ada,
|
|
9929
10223
|
agda,
|
|
10224
|
+
algol,
|
|
10225
|
+
ante,
|
|
9930
10226
|
antlr,
|
|
9931
10227
|
apex,
|
|
9932
10228
|
apl,
|
|
@@ -9934,34 +10230,39 @@ var languages = [
|
|
|
9934
10230
|
arduino,
|
|
9935
10231
|
asciidoc,
|
|
9936
10232
|
asp,
|
|
9937
|
-
astro,
|
|
9938
10233
|
assembly,
|
|
9939
|
-
|
|
10234
|
+
astro,
|
|
10235
|
+
austral,
|
|
9940
10236
|
autohotkey,
|
|
10237
|
+
awk,
|
|
9941
10238
|
ballerina,
|
|
9942
10239
|
bash,
|
|
9943
10240
|
batch,
|
|
9944
10241
|
bazel,
|
|
10242
|
+
bcpl,
|
|
9945
10243
|
bicep,
|
|
9946
10244
|
blade,
|
|
10245
|
+
bosque,
|
|
10246
|
+
bqn,
|
|
9947
10247
|
c,
|
|
9948
10248
|
cairo,
|
|
9949
10249
|
carbon,
|
|
9950
10250
|
chapel,
|
|
9951
10251
|
circom,
|
|
9952
|
-
cmake,
|
|
9953
10252
|
clojure,
|
|
10253
|
+
cmake,
|
|
10254
|
+
cobol,
|
|
9954
10255
|
coffeescript,
|
|
9955
10256
|
coldfusion,
|
|
9956
|
-
cobol,
|
|
9957
10257
|
coq,
|
|
9958
10258
|
cpp,
|
|
9959
|
-
cypher,
|
|
9960
|
-
csharp,
|
|
9961
10259
|
crystal,
|
|
10260
|
+
csharp,
|
|
9962
10261
|
css,
|
|
9963
|
-
cue,
|
|
9964
10262
|
cuda,
|
|
10263
|
+
cue,
|
|
10264
|
+
curry,
|
|
10265
|
+
cypher,
|
|
9965
10266
|
cython,
|
|
9966
10267
|
d,
|
|
9967
10268
|
dafny,
|
|
@@ -9969,57 +10270,60 @@ var languages = [
|
|
|
9969
10270
|
dhall,
|
|
9970
10271
|
dita,
|
|
9971
10272
|
dockerfile,
|
|
9972
|
-
ejs,
|
|
9973
|
-
eiffel,
|
|
9974
10273
|
earthly,
|
|
10274
|
+
eiffel,
|
|
10275
|
+
ejs,
|
|
9975
10276
|
elixir,
|
|
9976
10277
|
elm,
|
|
9977
10278
|
erb,
|
|
9978
10279
|
erlang,
|
|
9979
|
-
|
|
10280
|
+
factor,
|
|
9980
10281
|
fennel,
|
|
10282
|
+
fish,
|
|
9981
10283
|
flux,
|
|
9982
|
-
freemarker,
|
|
9983
|
-
fortran,
|
|
9984
10284
|
forth,
|
|
10285
|
+
fortran,
|
|
10286
|
+
freemarker,
|
|
9985
10287
|
fsharp,
|
|
9986
10288
|
fstar,
|
|
9987
10289
|
gdscript,
|
|
9988
10290
|
git,
|
|
9989
10291
|
gleam,
|
|
10292
|
+
glsl,
|
|
9990
10293
|
go,
|
|
9991
|
-
grain,
|
|
9992
10294
|
gradle,
|
|
9993
|
-
|
|
10295
|
+
grain,
|
|
9994
10296
|
graphql,
|
|
9995
10297
|
groovy,
|
|
9996
|
-
handlebars,
|
|
9997
10298
|
hack,
|
|
9998
10299
|
haml,
|
|
10300
|
+
handlebars,
|
|
9999
10301
|
hare,
|
|
10000
|
-
hocon,
|
|
10001
10302
|
haskell,
|
|
10002
10303
|
haxe,
|
|
10003
10304
|
hcl,
|
|
10004
10305
|
hlsl,
|
|
10306
|
+
hocon,
|
|
10005
10307
|
html,
|
|
10006
10308
|
hy,
|
|
10007
10309
|
idris,
|
|
10008
10310
|
ini,
|
|
10311
|
+
io,
|
|
10009
10312
|
isabelle,
|
|
10313
|
+
janet,
|
|
10010
10314
|
java,
|
|
10011
10315
|
javascript,
|
|
10012
|
-
janet,
|
|
10013
10316
|
jinja,
|
|
10014
10317
|
json,
|
|
10015
10318
|
json5,
|
|
10016
10319
|
jsonc,
|
|
10017
10320
|
jsonnet,
|
|
10018
|
-
jupyterNotebook,
|
|
10019
10321
|
julia,
|
|
10322
|
+
jupyterNotebook,
|
|
10020
10323
|
just,
|
|
10021
10324
|
kcl,
|
|
10022
10325
|
kdl,
|
|
10326
|
+
koka,
|
|
10023
10327
|
kotlin,
|
|
10024
10328
|
lean,
|
|
10025
10329
|
less,
|
|
@@ -10028,36 +10332,35 @@ var languages = [
|
|
|
10028
10332
|
llvmIr,
|
|
10029
10333
|
lua,
|
|
10030
10334
|
luau,
|
|
10031
|
-
mako,
|
|
10032
10335
|
makefile,
|
|
10336
|
+
mako,
|
|
10337
|
+
markdown,
|
|
10033
10338
|
mathematica,
|
|
10034
10339
|
matlab,
|
|
10035
|
-
markdown,
|
|
10036
10340
|
mdx,
|
|
10037
10341
|
mermaid,
|
|
10038
10342
|
meson,
|
|
10039
10343
|
metal,
|
|
10040
|
-
mustache,
|
|
10041
|
-
move,
|
|
10042
10344
|
mojo,
|
|
10043
10345
|
moonbit,
|
|
10044
|
-
|
|
10346
|
+
move,
|
|
10347
|
+
mustache,
|
|
10045
10348
|
nginx,
|
|
10046
10349
|
nickel,
|
|
10047
|
-
nunjucks,
|
|
10048
|
-
nushell,
|
|
10049
10350
|
nim,
|
|
10050
10351
|
nix,
|
|
10051
|
-
|
|
10352
|
+
nunjucks,
|
|
10353
|
+
nushell,
|
|
10052
10354
|
objectiveC,
|
|
10355
|
+
ocaml,
|
|
10053
10356
|
odin,
|
|
10054
|
-
opencl,
|
|
10055
10357
|
openapi,
|
|
10358
|
+
opencl,
|
|
10056
10359
|
pascal,
|
|
10057
|
-
pkl,
|
|
10058
10360
|
perl,
|
|
10059
10361
|
php,
|
|
10060
10362
|
pineScript,
|
|
10363
|
+
pkl,
|
|
10061
10364
|
plantuml,
|
|
10062
10365
|
plsql,
|
|
10063
10366
|
pony,
|
|
@@ -10072,8 +10375,8 @@ var languages = [
|
|
|
10072
10375
|
qml,
|
|
10073
10376
|
qsharp,
|
|
10074
10377
|
r,
|
|
10075
|
-
raku,
|
|
10076
10378
|
racket,
|
|
10379
|
+
raku,
|
|
10077
10380
|
razor,
|
|
10078
10381
|
reasonml,
|
|
10079
10382
|
rego,
|
|
@@ -10083,8 +10386,8 @@ var languages = [
|
|
|
10083
10386
|
rust,
|
|
10084
10387
|
sas,
|
|
10085
10388
|
scala,
|
|
10086
|
-
scss,
|
|
10087
10389
|
scheme,
|
|
10390
|
+
scss,
|
|
10088
10391
|
smalltalk,
|
|
10089
10392
|
smarty,
|
|
10090
10393
|
solidity,
|
|
@@ -10094,8 +10397,9 @@ var languages = [
|
|
|
10094
10397
|
starlark,
|
|
10095
10398
|
stata,
|
|
10096
10399
|
stylus,
|
|
10097
|
-
svg,
|
|
10098
10400
|
svelte,
|
|
10401
|
+
svg,
|
|
10402
|
+
svn,
|
|
10099
10403
|
swift,
|
|
10100
10404
|
tcl,
|
|
10101
10405
|
tex,
|
|
@@ -10144,9 +10448,13 @@ var detectMatchingEntries = (entries, filename) => {
|
|
|
10144
10448
|
if (!basename) {
|
|
10145
10449
|
return [];
|
|
10146
10450
|
}
|
|
10147
|
-
return entries.
|
|
10148
|
-
|
|
10149
|
-
|
|
10451
|
+
return entries.map((entry, index) => ({
|
|
10452
|
+
entry,
|
|
10453
|
+
index,
|
|
10454
|
+
matchLength: Math.max(
|
|
10455
|
+
...entry.extensions.filter((extension) => matchesExtension(basename, extension)).map((extension) => extension.length)
|
|
10456
|
+
)
|
|
10457
|
+
})).filter(({ matchLength }) => Number.isFinite(matchLength)).sort((first, second) => second.matchLength - first.matchLength || first.index - second.index).map(({ entry }) => entry);
|
|
10150
10458
|
};
|
|
10151
10459
|
|
|
10152
10460
|
// src/detect.ts
|