diff options
Diffstat (limited to 'src/interpreter/denotable.ts')
-rw-r--r-- | src/interpreter/denotable.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/interpreter/denotable.ts b/src/interpreter/denotable.ts index 119cccf..ea1ddfb 100644 --- a/src/interpreter/denotable.ts +++ b/src/interpreter/denotable.ts @@ -22,9 +22,14 @@ export type DenotableType = | 'real' | 'bool' | 'string' + | 'record' | 'bytearray' - | 'function' - | 'reference'; + | 'function'; + +export type DenotableRecord = { + length: number; + record: Array<Denotable>; +}; export type DenotableValue = | null @@ -32,6 +37,7 @@ export type DenotableValue = | string | Uint8Array | DenotableFunction + | DenotableRecord | Identifier; export type Denotable = { |