  SYSTEM SOFTWARE LAB PROGRAMS...

 
LEX PROGRAMS:

  
1- To count the no.of vowels & consonants in a given input string.

 
2- To count the no. of Characters, Blank spaces, Words and Lines in given input text string.


3- To count the no. of positive and negative integers and fractions seperately.

  
4- To count the no. of printf and scanf in a given file and replace them with WRITE and READ respectively into another file.

 
5- To check the validity of a given expression and to count the no. of operators.


 
YACC PROGRAMS:

 
1- To check the Validity of a given  simple expression.

 
2- To recognise a^nb expression.

 
3- To recognise a^nb^n expression.

 
4- To evaluate a given expression.

 
5- To check if the given string is a valid identifier.
  