webpage/main.c

21 lines
293 B
C
Raw Normal View History

#include "config.h"
#include "page.h"
2023-12-31 14:54:14 +01:00
#include "lexer.h"
2023-12-30 14:30:29 +01:00
int main(int argc, char* argv[]){
getUserConfig(argc, argv);
2023-12-30 14:09:04 +01:00
getPage();
2023-12-30 18:01:32 +01:00
printPage();
2023-12-31 14:54:14 +01:00
Token* token;
do{
token = nexttoken();
printtoken(token);
//parse(token);
} while (token->type != NO_TYPE);
2023-12-29 14:13:05 +01:00
return 0;
}