diff options
| author | Mel <einebeere@gmail.com> | 2022-05-17 23:07:33 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-05-17 23:07:33 +0200 |
| commit | ec5ee8647bcbf6ab073711c6892710776925c54d (patch) | |
| tree | 1228a72291123e0f520616b9d21f1e013e49351d /pkg/lang/vm/value/data.go | |
| parent | b09a14147d397904722ee7c25e4defc56135b96f (diff) | |
| download | jinx-ec5ee8647bcbf6ab073711c6892710776925c54d.tar.zst jinx-ec5ee8647bcbf6ab073711c6892710776925c54d.zip | |
Lang VM Prototype
Diffstat (limited to 'pkg/lang/vm/value/data.go')
| -rw-r--r-- | pkg/lang/vm/value/data.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/lang/vm/value/data.go b/pkg/lang/vm/value/data.go new file mode 100644 index 0000000..1d63d32 --- /dev/null +++ b/pkg/lang/vm/value/data.go @@ -0,0 +1,17 @@ +package value + +type IntData int64 + +type FloatData float64 + +type StringData string + +type BoolData bool + +type ArrayData []Value + +type NullData struct{} + +type FunctionData struct{} // TODO + +type ObjectData struct{} // TODO |
