Sunday, 29 September 2013

[vvpce2014] Lex first program...!!

%{
#include<stdio.h>
%}
%%
[0-9]* {printf("%s",yytext);}
. ;
\n ;
%%

int main(void) {
        yylex();
        printf("\n");
        return 0;
}


--
Regards,
Kamal Sutaria,
Assistant Professor,
(Ph.D. Pursuing)
Department Of Computer Engineering,
V.V.P. Engineering College,
Rajkot.

--
 
---
You received this message because you are subscribed to the Google Groups "vvpce2014" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vvpce2014+unsubscribe@googlegroups.com.
To post to this group, send email to vvpce2014@googlegroups.com.
Visit this group at http://groups.google.com/group/vvpce2014.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment