%{
#include <stdio.h>
%}

%%

[a-zA-Z_][a-zA-Z0-9_]*      { printf("Identifier: %s\n", yytext); }
[0-9]+                       { printf("Number: %s\n", yytext); }
"+"                          { printf("Plus operator\n"); }
"-"                          { printf("Minus operator\n"); }
"*"                          { printf("Multiplication operator\n"); }
"/"                          { printf("Division operator\n"); }
[ \t\n]+                     { /* Ignore whitespace */ }
.                            { printf("Unknown character: %s\n", yytext); }

%%

int main() {
    yylex();    // Call lexical analyzer
    return 0;
}

int yywrap() {
    return 1;
}

