Program in “LEX” to count the verb in a given line of text.
#1

Objective
Program in “LEX” to count the verb in a given line of text.


Code:
%{
%}
%%
isI
areI
amI                  printf("%s is verb",yytext );
[a-zA-Z]+      {printf("%s is not a verb",yytext);}
.I\n                  {ECHO;}
%%
main()
{
yylex();
}
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: rpm count by moc 7811, seminar topics given for electronics with full report, program to find palindrome in lex, lex code for identifiers, learn count cards, sqlite3 resultset count, lex program for identifying keywords identifiers and numbers,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  VHDL program for Booth’s Multiplier smart paper boy 2 5,668 20-04-2013, 11:59 AM
Last Post: T
  Program in “LEX” to count number of vowels and consonants seminar class 2 9,641 22-03-2013, 10:20 AM
Last Post: computer topic
  Program in “LEX” to count number of Identifiers and Keywords seminar class 1 4,858 28-01-2013, 03:21 PM
Last Post: Guest
  Text Demo Java source code smart paper boy 0 2,074 30-08-2011, 12:44 PM
Last Post: smart paper boy
  Text Area Demo Java source code smart paper boy 0 2,083 30-08-2011, 12:44 PM
Last Post: smart paper boy
  To predict Exons in the given nucleotide sequence using the HMM gene tool. smart paper boy 0 1,242 10-08-2011, 02:50 PM
Last Post: smart paper boy
  To predict Open Reading Frames (ORFs) in the given nucleotide sequence using the ORF smart paper boy 0 1,422 10-08-2011, 02:49 PM
Last Post: smart paper boy
  To predict the genes in the given nucleotide sequence using the GenScan tool. smart paper boy 0 1,196 10-08-2011, 02:46 PM
Last Post: smart paper boy
  To perform multiple sequence alignment between the given sequences using Clustalw2 to smart paper boy 0 1,398 10-08-2011, 02:44 PM
Last Post: smart paper boy
  To perform global alignment between the given sequences using EMBOSS tool. smart paper boy 0 1,357 10-08-2011, 02:43 PM
Last Post: smart paper boy

Forum Jump: