This repository has been archived on 2026-05-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
University-Basics-of-Progra…/Exercise 3/Lexer.c
T
2023-05-15 14:34:44 +02:00

29 lines
640 B
C

#include "Lexer.h"
int start(char* src) {
if (src != 0 && src != '\0') { // checking if the string is empty or invalid
return _GET_NEXT_CHARACTER_;
}
return _STOP_;
}
int getNextCharacter(char* src) {
return _STOP_; // placeholder
}
int readIdentifier(char* src) {
return _STOP_; // placeholder
}
int readNumLit(char* src) {
return _STOP_; // placeholder
}
int readOperator(char* src) {
return _STOP_; // placeholder
}
int readPunctuation(char* src) {
return _STOP_; // placeholder
}