fbp-language 1.1.9 → 1.2.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/assets/fbp-logo.svg +3 -3
- package/extension.js +167 -0
- package/fbp-language-1.2.0.vsix +0 -0
- package/language-configuration.json +1 -1
- package/package.json +11 -62
- package/syntaxes/fbp.tmLanguage.json +28 -79
- package/themes/fbp-icon-theme.json +1 -1
- package/README.md +0 -253
- package/assets/fbp-logo.png +0 -0
- package/dist/cli.js +0 -160
- package/dist/compiler.js +0 -513
- package/dist/errors.js +0 -24
- package/themes/fbp-dark-color-theme.json +0 -89
- package/vscode-extension/assets/fbp-logo.svg +0 -8
- package/vscode-extension/language-configuration.json +0 -21
- package/vscode-extension/package.json +0 -46
- package/vscode-extension/syntaxes/fbp.tmLanguage.json +0 -49
- package/vscode-extension/themes/fbp-icon-theme.json +0 -11
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "fbp-language",
|
|
3
|
-
"displayName": "FBP Language Support",
|
|
4
|
-
"description": "Coloration syntaxique, reconnaissance des fichiers .fbp et thème d'icônes FBP.",
|
|
5
|
-
"version": "1.1.9",
|
|
6
|
-
"publisher": "gabyy1",
|
|
7
|
-
"engines": {
|
|
8
|
-
"vscode": "^1.80.0"
|
|
9
|
-
},
|
|
10
|
-
"categories": [
|
|
11
|
-
"Programming Languages",
|
|
12
|
-
"Themes"
|
|
13
|
-
],
|
|
14
|
-
"extensionKind": [
|
|
15
|
-
"workspace"
|
|
16
|
-
],
|
|
17
|
-
"contributes": {
|
|
18
|
-
"languages": [
|
|
19
|
-
{
|
|
20
|
-
"id": "fbp",
|
|
21
|
-
"aliases": [
|
|
22
|
-
"FBP",
|
|
23
|
-
"fbp"
|
|
24
|
-
],
|
|
25
|
-
"extensions": [
|
|
26
|
-
".fbp"
|
|
27
|
-
],
|
|
28
|
-
"configuration": "./language-configuration.json"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
"grammars": [
|
|
32
|
-
{
|
|
33
|
-
"language": "fbp",
|
|
34
|
-
"scopeName": "source.fbp",
|
|
35
|
-
"path": "./syntaxes/fbp.tmLanguage.json"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"iconThemes": [
|
|
39
|
-
{
|
|
40
|
-
"id": "fbp-file-icons",
|
|
41
|
-
"label": "FBP File Icons",
|
|
42
|
-
"path": "./themes/fbp-icon-theme.json"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"scopeName": "source.fbp",
|
|
3
|
-
"name": "FBP",
|
|
4
|
-
"patterns": [
|
|
5
|
-
{ "include": "#comments" },
|
|
6
|
-
{ "include": "#strings" },
|
|
7
|
-
{ "include": "#numbers" },
|
|
8
|
-
{ "include": "#keywords" },
|
|
9
|
-
{ "include": "#booleans" },
|
|
10
|
-
{ "include": "#function-declarations" },
|
|
11
|
-
{ "include": "#function-calls" },
|
|
12
|
-
{ "include": "#assignments" },
|
|
13
|
-
{ "include": "#operators" },
|
|
14
|
-
{ "include": "#punctuation" }
|
|
15
|
-
],
|
|
16
|
-
"repository": {
|
|
17
|
-
"comments": {
|
|
18
|
-
"patterns": [
|
|
19
|
-
{ "name": "comment.line.double-slash.fbp", "match": "//.*$" },
|
|
20
|
-
{ "name": "comment.line.number-sign.fbp", "match": "#.*$" }
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"strings": {
|
|
24
|
-
"name": "string.quoted.double.fbp",
|
|
25
|
-
"begin": "\"",
|
|
26
|
-
"beginCaptures": { "0": { "name": "punctuation.definition.string.begin.fbp" } },
|
|
27
|
-
"end": "\"",
|
|
28
|
-
"endCaptures": { "0": { "name": "punctuation.definition.string.end.fbp" } },
|
|
29
|
-
"patterns": [{ "name": "constant.character.escape.fbp", "match": "\\\\." }]
|
|
30
|
-
},
|
|
31
|
-
"numbers": { "name": "constant.numeric.fbp", "match": "\\b\\d+(?:\\.\\d+)?\\b" },
|
|
32
|
-
"keywords": { "name": "keyword.control.fbp", "match": "\\b(?:import|de)\\b" },
|
|
33
|
-
"booleans": { "name": "constant.language.boolean.fbp", "match": "\\b(?:true|false)\\b" },
|
|
34
|
-
"function-declarations": {
|
|
35
|
-
"match": "\\b([\\p{L}_][\\p{L}\\p{N}_]*)\\s*(?=\\(\\s*\\)\\s*\\{)",
|
|
36
|
-
"captures": { "1": { "name": "entity.name.function.fbp" } }
|
|
37
|
-
},
|
|
38
|
-
"function-calls": {
|
|
39
|
-
"match": "\\b([\\p{L}_][\\p{L}\\p{N}_]*)\\s*(?=\\()",
|
|
40
|
-
"captures": { "1": { "name": "support.function.fbp" } }
|
|
41
|
-
},
|
|
42
|
-
"assignments": {
|
|
43
|
-
"match": "\\b([\\p{L}_][\\p{L}\\p{N}_]*)\\s*(?==)",
|
|
44
|
-
"captures": { "1": { "name": "variable.other.assignment.fbp" } }
|
|
45
|
-
},
|
|
46
|
-
"operators": { "name": "keyword.operator.fbp", "match": "(?:=|\\+|\\-|\\*|/|==|!=|<=|>=)" },
|
|
47
|
-
"punctuation": { "name": "punctuation.section.fbp", "match": "[{}()\\[\\],.]" }
|
|
48
|
-
}
|
|
49
|
-
}
|