pareto-fountain-pen 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 (51) hide show
  1. package/dist/generated/generic/resolve.d.ts +90 -0
  2. package/dist/generated/generic/resolve.js +259 -0
  3. package/dist/generated/implementation/schemas/block/migration_boilerplate.d.ts +7 -0
  4. package/dist/generated/implementation/schemas/block/migration_boilerplate.js +75 -0
  5. package/dist/generated/implementation/schemas/lines/migration_boilerplate.d.ts +3 -0
  6. package/dist/generated/implementation/schemas/lines/migration_boilerplate.js +48 -0
  7. package/dist/generated/implementation/schemas/semi_lines/migration_boilerplate.d.ts +3 -0
  8. package/dist/generated/implementation/schemas/semi_lines/migration_boilerplate.js +51 -0
  9. package/dist/generated/implementation/schemas/text/migration_boilerplate.d.ts +3 -0
  10. package/dist/generated/implementation/schemas/text/migration_boilerplate.js +48 -0
  11. package/dist/generated/interface/core/poormans_parser.d.ts +184 -0
  12. package/dist/generated/interface/core/poormans_parser.js +3 -0
  13. package/dist/generated/interface/core/resolved.d.ts +100 -0
  14. package/dist/generated/interface/core/resolved.js +3 -0
  15. package/dist/generated/interface/core/unresolved.d.ts +35 -0
  16. package/dist/generated/interface/core/unresolved.js +3 -0
  17. package/dist/generated/interface/schemas/block/migration_boilerplate.d.ts +134 -0
  18. package/dist/generated/interface/schemas/block/migration_boilerplate.js +3 -0
  19. package/dist/generated/interface/schemas/block/poormans_parser.d.ts +136 -0
  20. package/dist/generated/interface/schemas/block/poormans_parser.js +3 -0
  21. package/dist/generated/interface/schemas/block/resolved.d.ts +136 -0
  22. package/dist/generated/interface/schemas/block/resolved.js +3 -0
  23. package/dist/generated/interface/schemas/block/unresolved.d.ts +136 -0
  24. package/dist/generated/interface/schemas/block/unresolved.js +3 -0
  25. package/dist/generated/interface/schemas/lines/migration_boilerplate.d.ts +46 -0
  26. package/dist/generated/interface/schemas/lines/migration_boilerplate.js +3 -0
  27. package/dist/generated/interface/schemas/lines/poormans_parser.d.ts +39 -0
  28. package/dist/generated/interface/schemas/lines/poormans_parser.js +3 -0
  29. package/dist/generated/interface/schemas/lines/resolved.d.ts +39 -0
  30. package/dist/generated/interface/schemas/lines/resolved.js +3 -0
  31. package/dist/generated/interface/schemas/lines/unresolved.d.ts +39 -0
  32. package/dist/generated/interface/schemas/lines/unresolved.js +3 -0
  33. package/dist/generated/interface/schemas/semi_lines/migration_boilerplate.d.ts +46 -0
  34. package/dist/generated/interface/schemas/semi_lines/migration_boilerplate.js +3 -0
  35. package/dist/generated/interface/schemas/semi_lines/poormans_parser.d.ts +56 -0
  36. package/dist/generated/interface/schemas/semi_lines/poormans_parser.js +3 -0
  37. package/dist/generated/interface/schemas/semi_lines/resolved.d.ts +56 -0
  38. package/dist/generated/interface/schemas/semi_lines/resolved.js +3 -0
  39. package/dist/generated/interface/schemas/semi_lines/unresolved.d.ts +56 -0
  40. package/dist/generated/interface/schemas/semi_lines/unresolved.js +3 -0
  41. package/dist/generated/interface/schemas/text/migration_boilerplate.d.ts +46 -0
  42. package/dist/generated/interface/schemas/text/migration_boilerplate.js +3 -0
  43. package/dist/generated/interface/schemas/text/poormans_parser.d.ts +33 -0
  44. package/dist/generated/interface/schemas/text/poormans_parser.js +3 -0
  45. package/dist/generated/interface/schemas/text/resolved.d.ts +33 -0
  46. package/dist/generated/interface/schemas/text/resolved.js +3 -0
  47. package/dist/generated/interface/schemas/text/unresolved.d.ts +33 -0
  48. package/dist/generated/interface/schemas/text/unresolved.js +3 -0
  49. package/dist/globals.d.ts +24 -0
  50. package/dist/globals.js +2 -0
  51. package/package.json +55 -0
@@ -0,0 +1,56 @@
1
+ import * as _i_core from "../../core/unresolved";
2
+ export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>>;
3
+ export type _T_Lines = _i_core._T_List<null, {
4
+ readonly 'indentation': number;
5
+ readonly 'text': string;
6
+ }>;
7
+ export type Directory = _T_Directory;
8
+ export type Lines = _T_Lines;
9
+ export declare namespace _T_Directory {
10
+ namespace D {
11
+ namespace SG {
12
+ namespace directory {
13
+ }
14
+ type directory = _T_Directory;
15
+ namespace file {
16
+ }
17
+ type file = _T_Lines;
18
+ }
19
+ type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Lines];
20
+ }
21
+ type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>;
22
+ }
23
+ export declare namespace _T_Lines {
24
+ namespace L {
25
+ type indentation = number;
26
+ type text = string;
27
+ }
28
+ type L = {
29
+ readonly 'indentation': number;
30
+ readonly 'text': string;
31
+ };
32
+ }
33
+ export declare namespace Directory {
34
+ namespace D {
35
+ namespace SG {
36
+ namespace directory {
37
+ }
38
+ type directory = _T_Directory;
39
+ namespace file {
40
+ }
41
+ type file = _T_Lines;
42
+ }
43
+ type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Lines];
44
+ }
45
+ type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>;
46
+ }
47
+ export declare namespace Lines {
48
+ namespace L {
49
+ type indentation = number;
50
+ type text = string;
51
+ }
52
+ type L = {
53
+ readonly 'indentation': number;
54
+ readonly 'text': string;
55
+ };
56
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvc2VtaV9saW5lcy91bnJlc29sdmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,46 @@
1
+ import * as _i_in from "./resolved";
2
+ import * as _i_out from "./unresolved";
3
+ export type _T_Directory = ($$_: _i_in._T_Directory, $$_p: null) => _i_out._T_Directory;
4
+ export type _T_Lines = ($$_: _i_in._T_Lines, $$_p: null) => _i_out._T_Lines;
5
+ export type Directory = _T_Directory;
6
+ export type Lines = _T_Lines;
7
+ export declare namespace _T_Directory {
8
+ namespace CONTEXT {
9
+ }
10
+ type CONTEXT = _i_in._T_Directory;
11
+ namespace PARAMS {
12
+ }
13
+ namespace RESULT {
14
+ }
15
+ type RESULT = _i_out._T_Directory;
16
+ }
17
+ export declare namespace _T_Lines {
18
+ namespace CONTEXT {
19
+ }
20
+ type CONTEXT = _i_in._T_Lines;
21
+ namespace PARAMS {
22
+ }
23
+ namespace RESULT {
24
+ }
25
+ type RESULT = _i_out._T_Lines;
26
+ }
27
+ export declare namespace Directory {
28
+ namespace CONTEXT {
29
+ }
30
+ type CONTEXT = _i_in._T_Directory;
31
+ namespace PARAMS {
32
+ }
33
+ namespace RESULT {
34
+ }
35
+ type RESULT = _i_out._T_Directory;
36
+ }
37
+ export declare namespace Lines {
38
+ namespace CONTEXT {
39
+ }
40
+ type CONTEXT = _i_in._T_Lines;
41
+ namespace PARAMS {
42
+ }
43
+ namespace RESULT {
44
+ }
45
+ type RESULT = _i_out._T_Lines;
46
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlncmF0aW9uX2JvaWxlcnBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90ZXh0L21pZ3JhdGlvbl9ib2lsZXJwbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,33 @@
1
+ import * as _i_core from "../../core/poormans_parser";
2
+ export type _T_Directory<G_Source> = _i_core._T_Dictionary<G_Source, _i_core._T_State_Group<G_Source, readonly ['directory', _T_Directory<G_Source>] | readonly ['file', _T_Lines<G_Source>]>>;
3
+ export type _T_Lines<G_Source> = string;
4
+ export type Directory<G_Source> = _T_Directory<G_Source>;
5
+ export type Lines<G_Source> = _T_Lines<G_Source>;
6
+ export declare namespace _T_Directory {
7
+ namespace D {
8
+ namespace SG {
9
+ namespace directory {
10
+ }
11
+ type directory<G_Source> = _T_Directory<G_Source>;
12
+ namespace file {
13
+ }
14
+ type file<G_Source> = _T_Lines<G_Source>;
15
+ }
16
+ type SG<G_Source> = readonly ['directory', _T_Directory<G_Source>] | readonly ['file', _T_Lines<G_Source>];
17
+ }
18
+ type D<G_Source> = _i_core._T_State_Group<G_Source, readonly ['directory', _T_Directory<G_Source>] | readonly ['file', _T_Lines<G_Source>]>;
19
+ }
20
+ export declare namespace Directory {
21
+ namespace D {
22
+ namespace SG {
23
+ namespace directory {
24
+ }
25
+ type directory<G_Source> = _T_Directory<G_Source>;
26
+ namespace file {
27
+ }
28
+ type file<G_Source> = _T_Lines<G_Source>;
29
+ }
30
+ type SG<G_Source> = readonly ['directory', _T_Directory<G_Source>] | readonly ['file', _T_Lines<G_Source>];
31
+ }
32
+ type D<G_Source> = _i_core._T_State_Group<G_Source, readonly ['directory', _T_Directory<G_Source>] | readonly ['file', _T_Lines<G_Source>]>;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9vcm1hbnNfcGFyc2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2dlbmVyYXRlZC9pbnRlcmZhY2Uvc2NoZW1hcy90ZXh0L3Bvb3JtYW5zX3BhcnNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -0,0 +1,33 @@
1
+ import * as _i_core from "../../core/resolved";
2
+ export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>>;
3
+ export type _T_Lines = string;
4
+ export type Directory = _T_Directory;
5
+ export type Lines = _T_Lines;
6
+ export declare namespace _T_Directory {
7
+ namespace D {
8
+ namespace SG {
9
+ namespace directory {
10
+ }
11
+ type directory = _T_Directory;
12
+ namespace file {
13
+ }
14
+ type file = _T_Lines;
15
+ }
16
+ type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Lines];
17
+ }
18
+ type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>;
19
+ }
20
+ export declare namespace Directory {
21
+ namespace D {
22
+ namespace SG {
23
+ namespace directory {
24
+ }
25
+ type directory = _T_Directory;
26
+ namespace file {
27
+ }
28
+ type file = _T_Lines;
29
+ }
30
+ type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Lines];
31
+ }
32
+ type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvZ2VuZXJhdGVkL2ludGVyZmFjZS9zY2hlbWFzL3RleHQvcmVzb2x2ZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -0,0 +1,33 @@
1
+ import * as _i_core from "../../core/unresolved";
2
+ export type _T_Directory = _i_core._T_Dictionary<null, _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>>;
3
+ export type _T_Lines = string;
4
+ export type Directory = _T_Directory;
5
+ export type Lines = _T_Lines;
6
+ export declare namespace _T_Directory {
7
+ namespace D {
8
+ namespace SG {
9
+ namespace directory {
10
+ }
11
+ type directory = _T_Directory;
12
+ namespace file {
13
+ }
14
+ type file = _T_Lines;
15
+ }
16
+ type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Lines];
17
+ }
18
+ type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>;
19
+ }
20
+ export declare namespace Directory {
21
+ namespace D {
22
+ namespace SG {
23
+ namespace directory {
24
+ }
25
+ type directory = _T_Directory;
26
+ namespace file {
27
+ }
28
+ type file = _T_Lines;
29
+ }
30
+ type SG = readonly ['directory', _T_Directory] | readonly ['file', _T_Lines];
31
+ }
32
+ type D = _i_core._T_State_Group<null, readonly ['directory', _T_Directory] | readonly ['file', _T_Lines]>;
33
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5yZXNvbHZlZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9nZW5lcmF0ZWQvaW50ZXJmYWNlL3NjaGVtYXMvdGV4dC91bnJlc29sdmVkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -0,0 +1,24 @@
1
+ interface Array<T> {
2
+ [n: number]: T;
3
+ }
4
+ interface Boolean {
5
+ }
6
+ interface CallableFunction {
7
+ }
8
+ interface Function {
9
+ (...args: unknown[]): unknown;
10
+ }
11
+ interface IArguments {
12
+ }
13
+ interface NewableFunction {
14
+ }
15
+ interface Number {
16
+ }
17
+ interface Object {
18
+ }
19
+ interface RegExp {
20
+ }
21
+ interface String {
22
+ }
23
+ interface Promise<T> {
24
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2xvYmFscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9nbG9iYWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "pareto-fountain-pen",
3
+ "version": "0.1.0",
4
+ "description": "A TypeScript library for easily generating source code files with proper indentation in the pareto programming style/language",
5
+ "main": "./dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "module": "./dist/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ }
13
+ },
14
+ "bin": {},
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE",
19
+ "documentation"
20
+ ],
21
+ "scripts": {
22
+ "build": "tsc",
23
+ "clean": "rm -rf dist",
24
+ "prepare": "npm run build",
25
+ "test": "echo \"Error: no test specified\" && exit 1",
26
+ "validate": "node dist/bin/validate_astn.js"
27
+ },
28
+ "keywords": [
29
+ "pareto",
30
+ "source code generation",
31
+ "indentation"
32
+ ],
33
+ "author": "Corno",
34
+ "license": "Apache-2.0",
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "https://github.com/corno/astn.git"
38
+ },
39
+ "bugs": {
40
+ "url": "https://github.com/corno/astn/issues"
41
+ },
42
+ "homepage": "https://github.com/corno/astn#readme",
43
+ "engines": {
44
+ "node": ">=14.0.0"
45
+ },
46
+ "dependencies": {
47
+ "exupery-core-alg": "^0.1.4",
48
+ "exupery-core-data": "^0.1.0",
49
+ "exupery-core-dev": "^0.1.1",
50
+ "pareto-standard-operations": "^0.1.0"
51
+ },
52
+ "devDependencies": {
53
+ "typescript": "^5.0.0"
54
+ }
55
+ }