Lex Program to Identify Tokens
This is the Lex Program to identify tokens in a program using regular expressions
This is the Lex Program to identify tokens in a program using regular expressions
This is the symbol table implementation in yacc using regular expressions,it checks for redeclaration of variables and multiple declarations of variables Lex Program: YACC Program: %{ #include #include int err_no=0,fl=0,i=0,j=0,type[100]; char symbol[100][100],temp[100]; %} %token...
This is the lex program to check parenthesis matching,it checks whether left parenthesis or right parenthesis is missing
This is the lex program to check whether the given string is palindrome or not.
This is the lex program to identify the type of number using regular expressions
Yacc program to identify function declaration syntax and semantics using regular expressions Lex Program: YACC Program:
Lex Program to Identify both single line and multi line comments using regular expressions in lex
This is the YACC Program to Implement a program that accepts string of form a^nb where n>=1 ie..aaab or aaaaab or ab.it cannot have two or more than one b’s at the end Lex:...
This is the C program to find the transpose of a matrix. A matrix which is formed by turning all the rows of a given matrix into columns and vice-versa. #include void main() {...
This is the C Program to find the diagonal sum of a matrix #include void main() { int a[10][10],i,j,fwsum=0,rwsum=0,n; printf(“Enter the no. of rows and columns for Matrix :”); scanf(“%d”,&n); printf(“nnNow enter the Matrix...
Recent Comments