aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-15 13:43:46 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-15 13:43:46 -0500
commit317b8f53193e5ec14c92e229c89bc84ca32b7810 (patch)
tree481ea31ebfedf6915bb59a24fd6c9cb0506abd20 /types.h
parent0577469f9c49473fe95eedfa27b0f282ac9ffdb6 (diff)
Progress towards environments
Diffstat (limited to 'types.h')
-rw-r--r--types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/types.h b/types.h
index f71f8883..fa0c7bff 100644
--- a/types.h
+++ b/types.h
@@ -37,6 +37,7 @@ struct type_s {
BoolType,
IntType,
NumType,
+ StringType,
ArrayType,
TableType,
FunctionType,
@@ -57,6 +58,9 @@ struct type_s {
int64_t bits;
} NumType;
struct {
+ const char *dsl;
+ } StringType;
+ struct {
type_t *item_type;
} ArrayType;
struct {