~pixelherodev/zyg

ref: a5c2d48fcc5c0a0d5a4e8be9ec02dda5e35d7028 zyg/lexer.h -rw-r--r-- 218 bytes
a5c2d48fNoam Preil merge 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
struct zygtokens{
	// stb.h array
	uint8_t *tags;
	// stb.h array; indices into the tree's strings array.
	uint32_t *strings;
};

struct zyglexed{
	struct zygtokens tokens;
	struct c3tree tree;
}

zyg_lex(char *path);