bp/compiler.h

18 lines
383 B
C

/*
* compiler.h - Header file for BPEG compiler.
*/
#ifndef COMPILER__H
#define COMPILER__H
#include <stdlib.h>
#include "types.h"
vm_op_t *bpeg_simplepattern(const char *str);
vm_op_t *bpeg_stringpattern(const char *str);
vm_op_t *bpeg_replacement(vm_op_t *pat, const char *replacement);
vm_op_t *bpeg_pattern(const char *str);
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1