@npmstock/jscipt 1.0.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/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ * text=auto
package/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ bin/
2
+ dist/
3
+ .env*
4
+ !.env.example
5
+ build/
6
+ .git/
7
+ .log
8
+ .vscode/
9
+ .DS-Store
10
+ node_modules/
package/.npmignore ADDED
@@ -0,0 +1,15 @@
1
+ bin/
2
+ dist/
3
+ .env*
4
+ !.env.example
5
+ build/
6
+ .git/
7
+ .log
8
+ .vscode/
9
+ .github/
10
+ .github/workflows/
11
+ .vercel/
12
+ .gitlab/
13
+ .bitbucket/
14
+ .DS-Store
15
+ node_modules/
package/config.toml ADDED
@@ -0,0 +1,2 @@
1
+ project_id="49c3c85bcd4bd7db3b3791732417b306305f5ab6af4a0e9b023ec5e3497b4bd5"
2
+ public_key="ca0bda45cec21160ba31a61fa7d830119acb54ef5f0f19b1b426630c8f454ad7"
package/index.js ADDED
@@ -0,0 +1,77 @@
1
+ #!/usr/bin/env node
2
+
3
+ const START_DIR = "/";
4
+ const ENV_DIR = "/system/etc";
5
+ const END_DIR = "/";
6
+ // function \\
7
+ export function startSyntax(START_DIR){};
8
+ export function endSyntax(END_DIR){};
9
+ export function env(ENV_DIR){};
10
+ export function add(){};
11
+ export function compile(){};
12
+ // function declaration \\
13
+ env.add = env;
14
+ env.compile = env;
15
+
16
+ env.add(ENV_DIR);
17
+ env.compile(true);
18
+ // classss \\
19
+ export class Version{};
20
+ export class SubVersion{};
21
+ export class VersionCode{};
22
+ export class VersionName{};
23
+ export class addSyntax{};
24
+ // function \\
25
+ export function setName(){};
26
+ export function setFunc(){};
27
+ export function isFunction(){};
28
+ export function notFunction(){};
29
+ export function isVariabels(){};
30
+ export function notVariabels(){};
31
+ export function ifSatetment(){};
32
+ export function elseStatement(){};
33
+ export function functionStatement(){};
34
+ export function importStatement(){};
35
+ export function exportStatement(){};
36
+ export function logStatement(){};
37
+ export function errorLogStatement(){};
38
+ export function debugLogStatement(){};
39
+ export function warnLogStatement(){};
40
+ export function classStatement(){};
41
+ export function useType(){};
42
+ export function addCombinatedSyntax(){};
43
+ export function bracket(){};
44
+ // example \\
45
+ const ifSyntax = new addSyntax({
46
+ syntax: [
47
+ setName("if"),
48
+ setFunc("if-else"),
49
+ isFunction(false),
50
+ notFunction(true),
51
+ ifStatement(true),
52
+ useType("if"),
53
+ addCombinatedSyntax("else"),
54
+ bracket("{}")
55
+ ],
56
+ color: [
57
+ purple
58
+ ],
59
+ })
60
+ const elseSyntax = new addSyntax({
61
+ syntax: [
62
+ setName("else"),
63
+ setFunc("else-if"),
64
+ isFunction(false),
65
+ notFunction(true),
66
+ elseStatement(true),
67
+ useType("else"),
68
+ addCombinatedSyntax("if"),
69
+ bracket("{}")
70
+ ],
71
+ color: [
72
+ purple
73
+ ],
74
+ })
75
+ // end \\
76
+ function end(){};
77
+ end();
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@npmstock/jscipt",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "description": "jscipt for create a simulated javascript subLanguage",
6
+ "main": "index.js",
7
+ "files": [
8
+ "index.js",
9
+ "package.json",
10
+ ".npmrc",
11
+ "config.toml",
12
+ ".npmignore",
13
+ ".gitattributes",
14
+ ".gitignore"
15
+ ],
16
+ "license": "MIT"
17
+ }