What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-09 05:21:13
lex program to identify token
%{ #include<stdio.h> %} %% bool|int|float printf("Keyword"); [-,+]?[0-9]+ printf("Constants"); [,.'"]+ printf("Punctuation Chars"); [!@#$%^&*()]+ printf("Special Chars"); [a-zA-Z]+ printf("Identi... Add solution