summaryrefslogtreecommitdiffstats
path: root/execute.h
blob: 1cf14df78e5feeaf3aceba630f078078d135ad93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef EXECUTE_H
#define EXECUTE_H
#include "bytecode.h"


struct bytecode* jq_compile(const char* str);

typedef struct jq_state jq_state;
enum {JQ_DEBUG_TRACE = 1};

void jq_init(struct bytecode* bc, jv value, jq_state **, int flags);
jv jq_next(jq_state *);
void jq_teardown(jq_state **);


#endif