added ability to check if token id is a lexer rule and wrote parser, still need to test
This commit is contained in:
parent
7a3495f7ae
commit
d8d1a1a107
7 changed files with 211 additions and 13 deletions
|
|
@ -12,7 +12,7 @@ void TEST_Parser_InitLexerRulesFn(ARC_Lexer *lexer){
|
|||
ARC_Lexer_InitBasicTokenRules(lexer);
|
||||
}
|
||||
|
||||
ARC_TEST(Lexer_Char_Match){
|
||||
ARC_TEST(Parser_Init){
|
||||
ARC_Parser *parser;
|
||||
|
||||
uint32_t *charOrNumTokens[] = { (uint32_t[]){ 1, CHAR }, (uint32_t[]){ 1, NUM } };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue