2012-11-02 17:16:53 -04:00
|
|
|
#include "../internal.h"
|
|
|
|
|
|
2012-11-05 23:08:18 -05:00
|
|
|
int h_packrat_compile(HAllocator* mm__, const HParser* parser, const void* params) {
|
2012-11-02 17:16:53 -04:00
|
|
|
return 0; // No compilation necessary, and everything should work
|
|
|
|
|
// out of the box.
|
|
|
|
|
}
|
|
|
|
|
|
2012-11-05 23:08:18 -05:00
|
|
|
HParseResult *h_packrat_parse(HAllocator* mm__, const HParser* parser, HParseState* parse_state) {
|
2012-11-02 17:16:53 -04:00
|
|
|
return NULL; // TODO: fill this in.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
HParserBackendVTable h__packrat_backend_vtable = {
|
|
|
|
|
.compile = h_packrat_compile,
|
|
|
|
|
.parse = h_packrat_parse
|
|
|
|
|
};
|