pareto-fountain-pen 0.2.0 → 0.3.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/dist/implementation/generated/pareto/generic/parse/ast.d.ts +10 -0
- package/dist/implementation/generated/pareto/generic/parse/ast.js +245 -0
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.d.ts +13 -0
- package/dist/implementation/generated/pareto/generic/parse/astn_parse_generic.js +50 -0
- package/dist/implementation/generated/pareto/generic/parse/parse.d.ts +6 -0
- package/dist/implementation/generated/pareto/generic/parse/parse.js +65 -0
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.d.ts +40 -0
- package/dist/implementation/generated/pareto/generic/parse/string_iterator.js +109 -0
- package/dist/implementation/generated/pareto/generic/parse/token.d.ts +9 -0
- package/dist/implementation/generated/pareto/generic/parse/token.js +519 -0
- package/dist/implementation/generated/pareto/generic/resolve.js +3 -3
- package/dist/implementation/generated/pareto/generic/serialize.d.ts +4 -0
- package/dist/implementation/generated/pareto/generic/serialize.js +93 -0
- package/dist/implementation/generated/pareto/generic/unmarshall.d.ts +26 -26
- package/dist/implementation/generated/pareto/generic/unmarshall.js +19 -10
- package/dist/implementation/generated/pareto/schemas/block/deserialize.d.ts +7 -0
- package/dist/implementation/generated/pareto/schemas/block/deserialize.js +40 -0
- package/dist/implementation/generated/pareto/schemas/block/serialize.d.ts +7 -0
- package/dist/implementation/generated/pareto/schemas/block/serialize.js +53 -0
- package/dist/implementation/generated/pareto/schemas/lines/deserialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/lines/deserialize.js +32 -0
- package/dist/implementation/generated/pareto/schemas/lines/serialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/lines/serialize.js +37 -0
- package/dist/implementation/generated/pareto/schemas/semi_lines/deserialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/semi_lines/deserialize.js +32 -0
- package/dist/implementation/generated/pareto/schemas/semi_lines/serialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/semi_lines/serialize.js +37 -0
- package/dist/implementation/generated/pareto/schemas/text/deserialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/text/deserialize.js +32 -0
- package/dist/implementation/generated/pareto/schemas/text/serialize.d.ts +3 -0
- package/dist/implementation/generated/pareto/schemas/text/serialize.js +37 -0
- package/dist/interface/generated/pareto/core/astn_source.d.ts +15 -0
- package/dist/interface/generated/pareto/core/parse_result.d.ts +25 -0
- package/dist/interface/generated/pareto/core/parse_result.js +3 -0
- package/dist/interface/generated/pareto/core/resolve.d.ts +1 -1
- package/dist/interface/generated/pareto/core/resolved.d.ts +3 -3
- package/dist/interface/generated/pareto/core/token.d.ts +49 -0
- package/dist/interface/generated/pareto/core/token.js +3 -0
- package/dist/interface/generated/pareto/schemas/block/deserialize.d.ts +158 -0
- package/dist/interface/generated/pareto/schemas/block/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/block/serialize.d.ts +158 -0
- package/dist/interface/generated/pareto/schemas/block/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/lines/deserialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/lines/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/lines/serialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/lines/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/semi_lines/deserialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/semi_lines/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/semi_lines/serialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/semi_lines/serialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/text/deserialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/text/deserialize.js +3 -0
- package/dist/interface/generated/pareto/schemas/text/serialize.d.ts +54 -0
- package/dist/interface/generated/pareto/schemas/text/serialize.js +3 -0
- package/dist/temp/temp_types.d.ts +2 -2
- package/package.json +7 -14
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _i_out from "./data_types/target";
|
|
2
|
+
import * as _i_vd from "./value_deserializers";
|
|
3
|
+
export type _T_Directory = ($$_: string, $$_p: {
|
|
4
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
5
|
+
}) => _i_out._T_Directory;
|
|
6
|
+
export type _T_Lines = ($$_: string, $$_p: {
|
|
7
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
8
|
+
}) => _i_out._T_Lines;
|
|
9
|
+
export type Directory = _T_Directory;
|
|
10
|
+
export type Lines = _T_Lines;
|
|
11
|
+
export declare namespace _T_Directory {
|
|
12
|
+
type CONTEXT = string;
|
|
13
|
+
namespace PARAMS {
|
|
14
|
+
namespace value_deserializers {
|
|
15
|
+
}
|
|
16
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
17
|
+
}
|
|
18
|
+
namespace RESULT {
|
|
19
|
+
}
|
|
20
|
+
type RESULT = _i_out._T_Directory;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace _T_Lines {
|
|
23
|
+
type CONTEXT = string;
|
|
24
|
+
namespace PARAMS {
|
|
25
|
+
namespace value_deserializers {
|
|
26
|
+
}
|
|
27
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
28
|
+
}
|
|
29
|
+
namespace RESULT {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = _i_out._T_Lines;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace Directory {
|
|
34
|
+
type CONTEXT = string;
|
|
35
|
+
namespace PARAMS {
|
|
36
|
+
namespace value_deserializers {
|
|
37
|
+
}
|
|
38
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
39
|
+
}
|
|
40
|
+
namespace RESULT {
|
|
41
|
+
}
|
|
42
|
+
type RESULT = _i_out._T_Directory;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace Lines {
|
|
45
|
+
type CONTEXT = string;
|
|
46
|
+
namespace PARAMS {
|
|
47
|
+
namespace value_deserializers {
|
|
48
|
+
}
|
|
49
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
50
|
+
}
|
|
51
|
+
namespace RESULT {
|
|
52
|
+
}
|
|
53
|
+
type RESULT = _i_out._T_Lines;
|
|
54
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9wYXJldG8vc2NoZW1hcy9zZW1pX2xpbmVzL2Rlc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _i_in from "./data_types/source";
|
|
2
|
+
import * as _i_vs from "./value_serializers";
|
|
3
|
+
export type _T_Directory = ($$_: _i_in._T_Directory, $$_p: {
|
|
4
|
+
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
5
|
+
}) => string;
|
|
6
|
+
export type _T_Lines = ($$_: _i_in._T_Lines, $$_p: {
|
|
7
|
+
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
8
|
+
}) => string;
|
|
9
|
+
export type Directory = _T_Directory;
|
|
10
|
+
export type Lines = _T_Lines;
|
|
11
|
+
export declare namespace _T_Directory {
|
|
12
|
+
namespace CONTEXT {
|
|
13
|
+
}
|
|
14
|
+
type CONTEXT = _i_in._T_Directory;
|
|
15
|
+
namespace PARAMS {
|
|
16
|
+
namespace value_serializers {
|
|
17
|
+
}
|
|
18
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
19
|
+
}
|
|
20
|
+
type RESULT = string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace _T_Lines {
|
|
23
|
+
namespace CONTEXT {
|
|
24
|
+
}
|
|
25
|
+
type CONTEXT = _i_in._T_Lines;
|
|
26
|
+
namespace PARAMS {
|
|
27
|
+
namespace value_serializers {
|
|
28
|
+
}
|
|
29
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
30
|
+
}
|
|
31
|
+
type RESULT = string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace Directory {
|
|
34
|
+
namespace CONTEXT {
|
|
35
|
+
}
|
|
36
|
+
type CONTEXT = _i_in._T_Directory;
|
|
37
|
+
namespace PARAMS {
|
|
38
|
+
namespace value_serializers {
|
|
39
|
+
}
|
|
40
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
41
|
+
}
|
|
42
|
+
type RESULT = string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace Lines {
|
|
45
|
+
namespace CONTEXT {
|
|
46
|
+
}
|
|
47
|
+
type CONTEXT = _i_in._T_Lines;
|
|
48
|
+
namespace PARAMS {
|
|
49
|
+
namespace value_serializers {
|
|
50
|
+
}
|
|
51
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
52
|
+
}
|
|
53
|
+
type RESULT = string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9nZW5lcmF0ZWQvcGFyZXRvL3NjaGVtYXMvc2VtaV9saW5lcy9zZXJpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _i_out from "./data_types/target";
|
|
2
|
+
import * as _i_vd from "./value_deserializers";
|
|
3
|
+
export type _T_Directory = ($$_: string, $$_p: {
|
|
4
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
5
|
+
}) => _i_out._T_Directory;
|
|
6
|
+
export type _T_Lines = ($$_: string, $$_p: {
|
|
7
|
+
readonly 'value deserializers': _i_vd._T_Value_Deserializers;
|
|
8
|
+
}) => _i_out._T_Lines;
|
|
9
|
+
export type Directory = _T_Directory;
|
|
10
|
+
export type Lines = _T_Lines;
|
|
11
|
+
export declare namespace _T_Directory {
|
|
12
|
+
type CONTEXT = string;
|
|
13
|
+
namespace PARAMS {
|
|
14
|
+
namespace value_deserializers {
|
|
15
|
+
}
|
|
16
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
17
|
+
}
|
|
18
|
+
namespace RESULT {
|
|
19
|
+
}
|
|
20
|
+
type RESULT = _i_out._T_Directory;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace _T_Lines {
|
|
23
|
+
type CONTEXT = string;
|
|
24
|
+
namespace PARAMS {
|
|
25
|
+
namespace value_deserializers {
|
|
26
|
+
}
|
|
27
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
28
|
+
}
|
|
29
|
+
namespace RESULT {
|
|
30
|
+
}
|
|
31
|
+
type RESULT = _i_out._T_Lines;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace Directory {
|
|
34
|
+
type CONTEXT = string;
|
|
35
|
+
namespace PARAMS {
|
|
36
|
+
namespace value_deserializers {
|
|
37
|
+
}
|
|
38
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
39
|
+
}
|
|
40
|
+
namespace RESULT {
|
|
41
|
+
}
|
|
42
|
+
type RESULT = _i_out._T_Directory;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace Lines {
|
|
45
|
+
type CONTEXT = string;
|
|
46
|
+
namespace PARAMS {
|
|
47
|
+
namespace value_deserializers {
|
|
48
|
+
}
|
|
49
|
+
type value_deserializers = _i_vd._T_Value_Deserializers;
|
|
50
|
+
}
|
|
51
|
+
namespace RESULT {
|
|
52
|
+
}
|
|
53
|
+
type RESULT = _i_out._T_Lines;
|
|
54
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzZXJpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvaW50ZXJmYWNlL2dlbmVyYXRlZC9wYXJldG8vc2NoZW1hcy90ZXh0L2Rlc2VyaWFsaXplLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _i_in from "./data_types/source";
|
|
2
|
+
import * as _i_vs from "./value_serializers";
|
|
3
|
+
export type _T_Directory = ($$_: _i_in._T_Directory, $$_p: {
|
|
4
|
+
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
5
|
+
}) => string;
|
|
6
|
+
export type _T_Lines = ($$_: _i_in._T_Lines, $$_p: {
|
|
7
|
+
readonly 'value serializers': _i_vs._T_Value_Serializers;
|
|
8
|
+
}) => string;
|
|
9
|
+
export type Directory = _T_Directory;
|
|
10
|
+
export type Lines = _T_Lines;
|
|
11
|
+
export declare namespace _T_Directory {
|
|
12
|
+
namespace CONTEXT {
|
|
13
|
+
}
|
|
14
|
+
type CONTEXT = _i_in._T_Directory;
|
|
15
|
+
namespace PARAMS {
|
|
16
|
+
namespace value_serializers {
|
|
17
|
+
}
|
|
18
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
19
|
+
}
|
|
20
|
+
type RESULT = string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace _T_Lines {
|
|
23
|
+
namespace CONTEXT {
|
|
24
|
+
}
|
|
25
|
+
type CONTEXT = _i_in._T_Lines;
|
|
26
|
+
namespace PARAMS {
|
|
27
|
+
namespace value_serializers {
|
|
28
|
+
}
|
|
29
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
30
|
+
}
|
|
31
|
+
type RESULT = string;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace Directory {
|
|
34
|
+
namespace CONTEXT {
|
|
35
|
+
}
|
|
36
|
+
type CONTEXT = _i_in._T_Directory;
|
|
37
|
+
namespace PARAMS {
|
|
38
|
+
namespace value_serializers {
|
|
39
|
+
}
|
|
40
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
41
|
+
}
|
|
42
|
+
type RESULT = string;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace Lines {
|
|
45
|
+
namespace CONTEXT {
|
|
46
|
+
}
|
|
47
|
+
type CONTEXT = _i_in._T_Lines;
|
|
48
|
+
namespace PARAMS {
|
|
49
|
+
namespace value_serializers {
|
|
50
|
+
}
|
|
51
|
+
type value_serializers = _i_vs._T_Value_Serializers;
|
|
52
|
+
}
|
|
53
|
+
type RESULT = string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2ludGVyZmFjZS9nZW5lcmF0ZWQvcGFyZXRvL3NjaGVtYXMvdGV4dC9zZXJpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
|
@@ -3,8 +3,8 @@ import * as d_write_file from "exupery-resources/dist/interface/generated/pareto
|
|
|
3
3
|
import * as d_remove from "exupery-resources/dist/interface/generated/pareto/schemas/remove/data_types/target";
|
|
4
4
|
import * as d_make_directory from "exupery-resources/dist/interface/generated/pareto/schemas/make_directory/data_types/target";
|
|
5
5
|
import * as d_in from "../interface/generated/pareto/schemas/block/data_types/source";
|
|
6
|
-
export type File_Error = ['make directory', d_make_directory.
|
|
7
|
-
export type Directory_Error = ['remove', d_remove.
|
|
6
|
+
export type File_Error = ['make directory', d_make_directory.Error] | ['write file', d_write_file.Error];
|
|
7
|
+
export type Directory_Error = ['remove', d_remove.Error] | ['nodes', _et.Dictionary<Node_Error>];
|
|
8
8
|
export type Node_Error = ['directory', Directory_Error] | ['file', File_Error];
|
|
9
9
|
export type File_Parameters = {
|
|
10
10
|
'group': d_in.Group;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pareto-fountain-pen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A TypeScript library for easily generating source code files with proper indentation in the pareto programming style/language",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -11,13 +11,6 @@
|
|
|
11
11
|
"LICENSE",
|
|
12
12
|
"documentation"
|
|
13
13
|
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"build": "tsc",
|
|
16
|
-
"clean": "rm -rf dist",
|
|
17
|
-
"prepare": "npm run build",
|
|
18
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
19
|
-
"validate": "node dist/bin/validate_astn.js"
|
|
20
|
-
},
|
|
21
14
|
"keywords": [
|
|
22
15
|
"pareto",
|
|
23
16
|
"source code generation",
|
|
@@ -37,11 +30,11 @@
|
|
|
37
30
|
"node": ">=14.0.0"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"exupery-core-alg": "^0.
|
|
41
|
-
"exupery-core-bin": "^0.
|
|
42
|
-
"exupery-core-data": "^0.
|
|
43
|
-
"exupery-core-dev": "^0.
|
|
44
|
-
"exupery-resources": "^0.
|
|
45
|
-
"pareto-standard-operations": "^0.
|
|
33
|
+
"exupery-core-alg": "^0.5.0",
|
|
34
|
+
"exupery-core-bin": "^0.3.0",
|
|
35
|
+
"exupery-core-data": "^0.3.0",
|
|
36
|
+
"exupery-core-dev": "^0.3.0",
|
|
37
|
+
"exupery-resources": "^0.3.0",
|
|
38
|
+
"pareto-standard-operations": "^0.3.0"
|
|
46
39
|
}
|
|
47
40
|
}
|