diff options
Diffstat (limited to 'lls/lls.c')
-rw-r--r-- | lls/lls.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/lls/lls.c b/lls/lls.c new file mode 100644 index 0000000..e8f26ea --- /dev/null +++ b/lls/lls.c @@ -0,0 +1,30 @@ +#include "lls.h" + +/* value type */ +enum +{ + VT_UNKNOWN = 0, + VT_NULL, // null | | + VT_NUMBER, // number | float | + VT_STRING, // string | char* | + VT_BOOLEAN, // boolean | char | + VT_SET, // set | struct | + VT_FUNCTION, // function | void* | ڴͬĺ +}; + +typedef struct +{ + int type; + union + { + float _number; + char* _string; + char _bool; + void* _struct; + } value; +} lls_Value; + +enum +{ + +}; |