This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <prism.h> | |
#include <stdlib.h> | |
void erbx_parse(const uint8_t *source, size_t length) { | |
pm_parser_t parser; | |
pm_parser_init(&parser, source, length, NULL); | |
pm_node_t *root = pm_parse(&parser); | |
const char *hh = pm_token_type_name(root->type); |
OlderNewer