@ball-lang/compiler 0.1.0 → 1.3.4
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/README.md +74 -0
- package/bin/ball-ts-compile.mjs +15 -0
- package/dist/compiler.d.ts +147 -1
- package/dist/compiler.d.ts.map +1 -1
- package/dist/compiler.js +4379 -200
- package/dist/compiler.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/preamble.d.ts.map +1 -1
- package/dist/preamble.js +893 -28
- package/dist/preamble.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/compiler.ts +4766 -302
- package/src/index.ts +2 -2
- package/src/preamble.ts +893 -28
- package/src/types.ts +7 -0
package/src/types.ts
CHANGED
|
@@ -26,6 +26,12 @@ export interface Module {
|
|
|
26
26
|
|
|
27
27
|
export interface ModuleImport {
|
|
28
28
|
name: string;
|
|
29
|
+
inline?: InlineSource;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface InlineSource {
|
|
33
|
+
protoBytes?: string;
|
|
34
|
+
json?: string;
|
|
29
35
|
}
|
|
30
36
|
|
|
31
37
|
export interface FunctionDef {
|
|
@@ -99,6 +105,7 @@ export interface Literal {
|
|
|
99
105
|
export interface MessageCreation {
|
|
100
106
|
typeName?: string;
|
|
101
107
|
fields: FieldValuePair[];
|
|
108
|
+
metadata?: Struct;
|
|
102
109
|
}
|
|
103
110
|
|
|
104
111
|
export interface FieldValuePair {
|