@kolanut/language-packs 0.1.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.
Files changed (74) hide show
  1. package/CONTRIBUTING.md +119 -0
  2. package/LICENSE +17 -0
  3. package/README.md +237 -0
  4. package/badges/coverage.json +6 -0
  5. package/badges/packs.json +6 -0
  6. package/badges/targets.json +6 -0
  7. package/badges/tokens.json +6 -0
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.js +1 -0
  10. package/dist/load-pack.d.ts +6 -0
  11. package/dist/load-pack.js +31 -0
  12. package/dist/types.d.ts +33 -0
  13. package/dist/types.js +1 -0
  14. package/pack.schema.json +86 -0
  15. package/package.json +61 -0
  16. package/packs/PACK_SCOPE.md +68 -0
  17. package/packs/afrikaans/keywords.json +329 -0
  18. package/packs/afrikaans/pack.json +361 -0
  19. package/packs/amharic/keywords.json +329 -0
  20. package/packs/amharic/pack.json +359 -0
  21. package/packs/arabic/keywords.json +329 -0
  22. package/packs/arabic/pack.json +369 -0
  23. package/packs/bambara/keywords.json +299 -0
  24. package/packs/bambara/pack.json +332 -0
  25. package/packs/by-country.json +183 -0
  26. package/packs/by-region.json +49 -0
  27. package/packs/coverage-summary.json +424 -0
  28. package/packs/french/keywords.json +329 -0
  29. package/packs/french/pack.json +381 -0
  30. package/packs/fulfulde/keywords.json +299 -0
  31. package/packs/fulfulde/pack.json +336 -0
  32. package/packs/hausa/keywords.json +329 -0
  33. package/packs/hausa/pack.json +363 -0
  34. package/packs/igbo/keywords.json +329 -0
  35. package/packs/igbo/pack.json +360 -0
  36. package/packs/index.json +397 -0
  37. package/packs/kinyarwanda/keywords.json +329 -0
  38. package/packs/kinyarwanda/pack.json +359 -0
  39. package/packs/languages-roadmap.json +28 -0
  40. package/packs/lingala/keywords.json +329 -0
  41. package/packs/lingala/pack.json +360 -0
  42. package/packs/logical-tokens.json +120 -0
  43. package/packs/luganda/keywords.json +329 -0
  44. package/packs/luganda/pack.json +359 -0
  45. package/packs/nigerian-pidgin/keywords.json +332 -0
  46. package/packs/nigerian-pidgin/pack.json +362 -0
  47. package/packs/official-target-keywords.json +166 -0
  48. package/packs/oromo/keywords.json +329 -0
  49. package/packs/oromo/pack.json +360 -0
  50. package/packs/portuguese-africa/keywords.json +299 -0
  51. package/packs/portuguese-africa/pack.json +334 -0
  52. package/packs/sesotho/keywords.json +299 -0
  53. package/packs/sesotho/pack.json +330 -0
  54. package/packs/setswana/keywords.json +299 -0
  55. package/packs/setswana/pack.json +331 -0
  56. package/packs/shona/keywords.json +329 -0
  57. package/packs/shona/pack.json +359 -0
  58. package/packs/somali/keywords.json +329 -0
  59. package/packs/somali/pack.json +362 -0
  60. package/packs/swahili/keywords.json +329 -0
  61. package/packs/swahili/pack.json +365 -0
  62. package/packs/target-coverage.json +1083 -0
  63. package/packs/tigrinya/keywords.json +329 -0
  64. package/packs/tigrinya/pack.json +360 -0
  65. package/packs/twi/keywords.json +329 -0
  66. package/packs/twi/pack.json +360 -0
  67. package/packs/wolof/keywords.json +329 -0
  68. package/packs/wolof/pack.json +361 -0
  69. package/packs/xhosa/keywords.json +329 -0
  70. package/packs/xhosa/pack.json +360 -0
  71. package/packs/yoruba/keywords.json +329 -0
  72. package/packs/yoruba/pack.json +363 -0
  73. package/packs/zulu/keywords.json +329 -0
  74. package/packs/zulu/pack.json +360 -0
@@ -0,0 +1,332 @@
1
+ {
2
+ "IF": [
3
+ "if case say",
4
+ "if"
5
+ ],
6
+ "ELSE": [
7
+ "if e no be so",
8
+ "else"
9
+ ],
10
+ "FOR": [
11
+ "do am again again",
12
+ "do am",
13
+ "for"
14
+ ],
15
+ "WHILE": [
16
+ "keep doing am while",
17
+ "while"
18
+ ],
19
+ "BREAK": [
20
+ "stop am",
21
+ "break"
22
+ ],
23
+ "CONTINUE": [
24
+ "continue am",
25
+ "continue"
26
+ ],
27
+ "SWITCH": [
28
+ "check which one",
29
+ "switch"
30
+ ],
31
+ "CASE": [
32
+ "when e be",
33
+ "case"
34
+ ],
35
+ "DEFAULT": [
36
+ "if nothing match",
37
+ "default"
38
+ ],
39
+ "FUNCTION": [
40
+ "make function for",
41
+ "function"
42
+ ],
43
+ "RETURN": [
44
+ "bring back",
45
+ "return"
46
+ ],
47
+ "ASYNC": [
48
+ "wait small first",
49
+ "async"
50
+ ],
51
+ "AWAIT": [
52
+ "wait for am",
53
+ "await"
54
+ ],
55
+ "TRY": [
56
+ "try am",
57
+ "try"
58
+ ],
59
+ "CATCH": [
60
+ "if e fail catch am",
61
+ "catch"
62
+ ],
63
+ "FINALLY": [
64
+ "last last",
65
+ "finally"
66
+ ],
67
+ "THROW": [
68
+ "throw am",
69
+ "throw"
70
+ ],
71
+ "LET": [
72
+ "make we say",
73
+ "make",
74
+ "let"
75
+ ],
76
+ "CONST": [
77
+ "e no go change say",
78
+ "const"
79
+ ],
80
+ "CLASS": [
81
+ "kind of thing",
82
+ "class"
83
+ ],
84
+ "EXTENDS": [
85
+ "e come from",
86
+ "extends"
87
+ ],
88
+ "NEW": [
89
+ "new new",
90
+ "new"
91
+ ],
92
+ "THIS": [
93
+ "this one here",
94
+ "this"
95
+ ],
96
+ "IMPORT": [
97
+ "carry come",
98
+ "import"
99
+ ],
100
+ "EXPORT": [
101
+ "send out",
102
+ "export"
103
+ ],
104
+ "PRINT": [
105
+ "show for screen",
106
+ "show",
107
+ "print"
108
+ ],
109
+ "TRUE": [
110
+ "e correct",
111
+ "true"
112
+ ],
113
+ "FALSE": [
114
+ "e no correct",
115
+ "false"
116
+ ],
117
+ "NULL": [
118
+ "nothing dey",
119
+ "null"
120
+ ],
121
+ "UNDEFINED": [
122
+ "e no define",
123
+ "undefined"
124
+ ],
125
+ "ELIF": [
126
+ "else"
127
+ ],
128
+ "LOOP": [
129
+ "loop"
130
+ ],
131
+ "MATCH": [
132
+ "match"
133
+ ],
134
+ "GOTO": [
135
+ "goto"
136
+ ],
137
+ "FALLTHROUGH": [
138
+ "fallthrough"
139
+ ],
140
+ "SELECT": [
141
+ "select"
142
+ ],
143
+ "RANGE": [
144
+ "range"
145
+ ],
146
+ "YIELD": [
147
+ "yield"
148
+ ],
149
+ "LAMBDA": [
150
+ "lambda"
151
+ ],
152
+ "DEFER": [
153
+ "defer"
154
+ ],
155
+ "GO": [
156
+ "go"
157
+ ],
158
+ "VAR": [
159
+ "var"
160
+ ],
161
+ "MUT": [
162
+ "mut"
163
+ ],
164
+ "GLOBAL": [
165
+ "global"
166
+ ],
167
+ "NONLOCAL": [
168
+ "nonlocal"
169
+ ],
170
+ "STRUCT": [
171
+ "struct"
172
+ ],
173
+ "TRAIT": [
174
+ "trait"
175
+ ],
176
+ "IMPL": [
177
+ "impl"
178
+ ],
179
+ "INTERFACE": [
180
+ "interface"
181
+ ],
182
+ "ENUM": [
183
+ "enum"
184
+ ],
185
+ "TYPE": [
186
+ "type"
187
+ ],
188
+ "IMPLEMENTS": [
189
+ "implements"
190
+ ],
191
+ "SELF": [
192
+ "self"
193
+ ],
194
+ "SUPER": [
195
+ "super"
196
+ ],
197
+ "STATIC": [
198
+ "static"
199
+ ],
200
+ "FROM": [
201
+ "from"
202
+ ],
203
+ "AS": [
204
+ "as"
205
+ ],
206
+ "MODULE": [
207
+ "module"
208
+ ],
209
+ "NAMESPACE": [
210
+ "namespace"
211
+ ],
212
+ "PACKAGE": [
213
+ "package"
214
+ ],
215
+ "USE": [
216
+ "use"
217
+ ],
218
+ "PUB": [
219
+ "public"
220
+ ],
221
+ "CRATE": [
222
+ "crate"
223
+ ],
224
+ "WITH": [
225
+ "with"
226
+ ],
227
+ "PASS": [
228
+ "pass"
229
+ ],
230
+ "ASSERT": [
231
+ "assert"
232
+ ],
233
+ "ASSERTS": [
234
+ "asserts"
235
+ ],
236
+ "NIL": [
237
+ "null"
238
+ ],
239
+ "UNSAFE": [
240
+ "unsafe"
241
+ ],
242
+ "EXTERN": [
243
+ "declare"
244
+ ],
245
+ "CHAN": [
246
+ "chan"
247
+ ],
248
+ "MAP": [
249
+ "map"
250
+ ],
251
+ "AND": [
252
+ "and"
253
+ ],
254
+ "OR": [
255
+ "or"
256
+ ],
257
+ "NOT": [
258
+ "not"
259
+ ],
260
+ "IN": [
261
+ "in"
262
+ ],
263
+ "IS": [
264
+ "is"
265
+ ],
266
+ "DEL": [
267
+ "del"
268
+ ],
269
+ "DO": [
270
+ "do"
271
+ ],
272
+ "DEBUGGER": [
273
+ "debugger"
274
+ ],
275
+ "TYPEOF": [
276
+ "typeof"
277
+ ],
278
+ "VOID": [
279
+ "void"
280
+ ],
281
+ "INSTANCEOF": [
282
+ "instanceof"
283
+ ],
284
+ "PRIVATE": [
285
+ "private"
286
+ ],
287
+ "PROTECTED": [
288
+ "protected"
289
+ ],
290
+ "PUBLIC": [
291
+ "public"
292
+ ],
293
+ "READONLY": [
294
+ "readonly"
295
+ ],
296
+ "ABSTRACT": [
297
+ "abstract"
298
+ ],
299
+ "DECLARE": [
300
+ "declare"
301
+ ],
302
+ "GET": [
303
+ "get"
304
+ ],
305
+ "SET": [
306
+ "set"
307
+ ],
308
+ "INFER": [
309
+ "infer"
310
+ ],
311
+ "KEYOF": [
312
+ "keyof"
313
+ ],
314
+ "UNIQUE": [
315
+ "unique"
316
+ ],
317
+ "SATISFIES": [
318
+ "satisfies"
319
+ ],
320
+ "DYN": [
321
+ "dyn"
322
+ ],
323
+ "MOVE": [
324
+ "move"
325
+ ],
326
+ "REF": [
327
+ "ref"
328
+ ],
329
+ "WHERE": [
330
+ "where"
331
+ ]
332
+ }
@@ -0,0 +1,362 @@
1
+ {
2
+ "name": "nigerian-pidgin",
3
+ "languageCode": "pcm",
4
+ "locale": "pcm-NG",
5
+ "countries": [
6
+ "NG"
7
+ ],
8
+ "regions": [
9
+ "West Africa"
10
+ ],
11
+ "version": "0.1.0",
12
+ "displayName": "Nigerian Pidgin",
13
+ "description": "Nigerian Pidgin keyword map — bridge language for Nigerian developers",
14
+ "reviewStatus": "starter",
15
+ "contributors": [
16
+ "kolanutTechnologies"
17
+ ],
18
+ "targets": [
19
+ "javascript",
20
+ "python",
21
+ "typescript",
22
+ "go",
23
+ "rust"
24
+ ],
25
+ "keywords": {
26
+ "IF": [
27
+ "if case say",
28
+ "if"
29
+ ],
30
+ "ELSE": [
31
+ "if e no be so",
32
+ "else"
33
+ ],
34
+ "FOR": [
35
+ "do am again again",
36
+ "do am",
37
+ "for"
38
+ ],
39
+ "WHILE": [
40
+ "keep doing am while",
41
+ "while"
42
+ ],
43
+ "BREAK": [
44
+ "stop am",
45
+ "break"
46
+ ],
47
+ "CONTINUE": [
48
+ "continue am",
49
+ "continue"
50
+ ],
51
+ "SWITCH": [
52
+ "check which one",
53
+ "switch"
54
+ ],
55
+ "CASE": [
56
+ "when e be",
57
+ "case"
58
+ ],
59
+ "DEFAULT": [
60
+ "if nothing match",
61
+ "default"
62
+ ],
63
+ "FUNCTION": [
64
+ "make function for",
65
+ "function"
66
+ ],
67
+ "RETURN": [
68
+ "bring back",
69
+ "return"
70
+ ],
71
+ "ASYNC": [
72
+ "wait small first",
73
+ "async"
74
+ ],
75
+ "AWAIT": [
76
+ "wait for am",
77
+ "await"
78
+ ],
79
+ "TRY": [
80
+ "try am",
81
+ "try"
82
+ ],
83
+ "CATCH": [
84
+ "if e fail catch am",
85
+ "catch"
86
+ ],
87
+ "FINALLY": [
88
+ "last last",
89
+ "finally"
90
+ ],
91
+ "THROW": [
92
+ "throw am",
93
+ "throw"
94
+ ],
95
+ "LET": [
96
+ "make we say",
97
+ "make",
98
+ "let"
99
+ ],
100
+ "CONST": [
101
+ "e no go change say",
102
+ "const"
103
+ ],
104
+ "CLASS": [
105
+ "kind of thing",
106
+ "class"
107
+ ],
108
+ "EXTENDS": [
109
+ "e come from",
110
+ "extends"
111
+ ],
112
+ "NEW": [
113
+ "new new",
114
+ "new"
115
+ ],
116
+ "THIS": [
117
+ "this one here",
118
+ "this"
119
+ ],
120
+ "IMPORT": [
121
+ "carry come",
122
+ "import"
123
+ ],
124
+ "EXPORT": [
125
+ "send out",
126
+ "export"
127
+ ],
128
+ "PRINT": [
129
+ "show for screen",
130
+ "show",
131
+ "print"
132
+ ],
133
+ "TRUE": [
134
+ "e correct",
135
+ "true"
136
+ ],
137
+ "FALSE": [
138
+ "e no correct",
139
+ "false"
140
+ ],
141
+ "NULL": [
142
+ "nothing dey",
143
+ "null"
144
+ ],
145
+ "UNDEFINED": [
146
+ "e no define",
147
+ "undefined"
148
+ ],
149
+ "ELIF": [
150
+ "else"
151
+ ],
152
+ "LOOP": [
153
+ "loop"
154
+ ],
155
+ "MATCH": [
156
+ "match"
157
+ ],
158
+ "GOTO": [
159
+ "goto"
160
+ ],
161
+ "FALLTHROUGH": [
162
+ "fallthrough"
163
+ ],
164
+ "SELECT": [
165
+ "select"
166
+ ],
167
+ "RANGE": [
168
+ "range"
169
+ ],
170
+ "YIELD": [
171
+ "yield"
172
+ ],
173
+ "LAMBDA": [
174
+ "lambda"
175
+ ],
176
+ "DEFER": [
177
+ "defer"
178
+ ],
179
+ "GO": [
180
+ "go"
181
+ ],
182
+ "VAR": [
183
+ "var"
184
+ ],
185
+ "MUT": [
186
+ "mut"
187
+ ],
188
+ "GLOBAL": [
189
+ "global"
190
+ ],
191
+ "NONLOCAL": [
192
+ "nonlocal"
193
+ ],
194
+ "STRUCT": [
195
+ "struct"
196
+ ],
197
+ "TRAIT": [
198
+ "trait"
199
+ ],
200
+ "IMPL": [
201
+ "impl"
202
+ ],
203
+ "INTERFACE": [
204
+ "interface"
205
+ ],
206
+ "ENUM": [
207
+ "enum"
208
+ ],
209
+ "TYPE": [
210
+ "type"
211
+ ],
212
+ "IMPLEMENTS": [
213
+ "implements"
214
+ ],
215
+ "SELF": [
216
+ "self"
217
+ ],
218
+ "SUPER": [
219
+ "super"
220
+ ],
221
+ "STATIC": [
222
+ "static"
223
+ ],
224
+ "FROM": [
225
+ "from"
226
+ ],
227
+ "AS": [
228
+ "as"
229
+ ],
230
+ "MODULE": [
231
+ "module"
232
+ ],
233
+ "NAMESPACE": [
234
+ "namespace"
235
+ ],
236
+ "PACKAGE": [
237
+ "package"
238
+ ],
239
+ "USE": [
240
+ "use"
241
+ ],
242
+ "PUB": [
243
+ "public"
244
+ ],
245
+ "CRATE": [
246
+ "crate"
247
+ ],
248
+ "WITH": [
249
+ "with"
250
+ ],
251
+ "PASS": [
252
+ "pass"
253
+ ],
254
+ "ASSERT": [
255
+ "assert"
256
+ ],
257
+ "ASSERTS": [
258
+ "asserts"
259
+ ],
260
+ "NIL": [
261
+ "null"
262
+ ],
263
+ "UNSAFE": [
264
+ "unsafe"
265
+ ],
266
+ "EXTERN": [
267
+ "declare"
268
+ ],
269
+ "CHAN": [
270
+ "chan"
271
+ ],
272
+ "MAP": [
273
+ "map"
274
+ ],
275
+ "AND": [
276
+ "and"
277
+ ],
278
+ "OR": [
279
+ "or"
280
+ ],
281
+ "NOT": [
282
+ "not"
283
+ ],
284
+ "IN": [
285
+ "in"
286
+ ],
287
+ "IS": [
288
+ "is"
289
+ ],
290
+ "DEL": [
291
+ "del"
292
+ ],
293
+ "DO": [
294
+ "do"
295
+ ],
296
+ "DEBUGGER": [
297
+ "debugger"
298
+ ],
299
+ "TYPEOF": [
300
+ "typeof"
301
+ ],
302
+ "VOID": [
303
+ "void"
304
+ ],
305
+ "INSTANCEOF": [
306
+ "instanceof"
307
+ ],
308
+ "PRIVATE": [
309
+ "private"
310
+ ],
311
+ "PROTECTED": [
312
+ "protected"
313
+ ],
314
+ "PUBLIC": [
315
+ "public"
316
+ ],
317
+ "READONLY": [
318
+ "readonly"
319
+ ],
320
+ "ABSTRACT": [
321
+ "abstract"
322
+ ],
323
+ "DECLARE": [
324
+ "declare"
325
+ ],
326
+ "GET": [
327
+ "get"
328
+ ],
329
+ "SET": [
330
+ "set"
331
+ ],
332
+ "INFER": [
333
+ "infer"
334
+ ],
335
+ "KEYOF": [
336
+ "keyof"
337
+ ],
338
+ "UNIQUE": [
339
+ "unique"
340
+ ],
341
+ "SATISFIES": [
342
+ "satisfies"
343
+ ],
344
+ "DYN": [
345
+ "dyn"
346
+ ],
347
+ "MOVE": [
348
+ "move"
349
+ ],
350
+ "REF": [
351
+ "ref"
352
+ ],
353
+ "WHERE": [
354
+ "where"
355
+ ]
356
+ },
357
+ "scopeNote": "Nigerian Pidgin (Naija) only. Not Cameroon Pidgin, Ghanaian Pidgin, or other West African creoles — those need separate packs.",
358
+ "recommendedPartners": [
359
+ "Masakhane",
360
+ "Community Naija reviewers"
361
+ ]
362
+ }