summaryrefslogtreecommitdiff
path: root/lls/lls.c
blob: e8f26ea549a61d4e7a8ac468b24c92701bba9519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
{
    
};