shithub: spirva

ref: ca99199e72dc182d2801eb591cdf470c707c1e6c
dir: /ops.h/

View raw version
typedef struct Ops Ops;
struct Ops {
	char *opname;
	uint op;
};

typedef struct Keyword Keyword;
struct Keyword {
	char *keyword;
	uint i;
};

uint o_lookup(char *n);
char *o_find(uint op);

uint k_lookup(char *n);