2024-09-28 09:31:23 -04:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2024-09-30 09:00:37 -04:00
|
|
|
#include "include/util.h"
|
2024-10-07 11:48:53 -04:00
|
|
|
#include "include/lexer.h"
|
2024-09-30 09:00:37 -04:00
|
|
|
|
2024-09-28 09:31:23 -04:00
|
|
|
int main(int argc, char** argv) {
|
2024-10-07 11:48:53 -04:00
|
|
|
char* text = malloc(5);
|
|
|
|
text = "a1b2";
|
|
|
|
|
|
|
|
Lexer* lexer = lexer_init(text);
|
|
|
|
lexer_print(lexer);
|
|
|
|
lexer_lex(lexer);
|
|
|
|
lexer_print(lexer);
|
2024-09-28 09:31:23 -04:00
|
|
|
}
|