- 96
- 6 598
Md Shamioul Islam
เข้าร่วมเมื่อ 28 ก.ค. 2018
Write a lex program to identify negative fraction and function. only code
Write a lex program to identify negative fraction and function.
Write a lex program to identify Pre-processor directive and delimiter.
Write a lex program to identify Pre-processor directive and delimiter.
มุมมอง: 4
วีดีโอ
Write a lex program to identify number data types. Part 01
มุมมอง 2วันที่ผ่านมา
Code in first commnet
Write a lex program to identify Operators, Single & Multi-line Comments. Part 3
มุมมอง 1วันที่ผ่านมา
Write a lex program to identify Operators, Single & Multi-line Comments. Part 3
Write a lex program to identify Operators, Single & Multi-line Comments. Part 02
มุมมอง 2วันที่ผ่านมา
Write a lex program to identify Operators, Single & Multi-line Comments. Part 02
Write a lex program to identify Operators, Single & Multi-line Comments. Part 01
มุมมอง 4วันที่ผ่านมา
Write a lex program to identify Operators, Single & Multi-line Comments. Part 01
Write a lex program to identify Character, Word, Space & NewLine part 01
วันที่ผ่านมา
Write a lex program to identify Character, Word, Space & NewLine.
Write a lex program to identify keyword and identifier Part 03
มุมมอง 3วันที่ผ่านมา
Write a lex program to identify keyword and identifier Part 03
Write a lex program to identify keyword and identifier part 02
มุมมอง 1วันที่ผ่านมา
if any problem contact me
Write a lex program to identify keyword and identifier. Part 01
มุมมอง 1วันที่ผ่านมา
Write a lex program to identify keyword and identifier. Part 01
simple part 2
มุมมอง 2วันที่ผ่านมา
lex program,yacc and lex tutorial,yacc and lex example for calculator,lex program to identify capital string,lex program to recognize keywords,lex and yacc,yacc and lex,lex tutorial,a program to identify whether a given line is comment or not,lex programming tutorial,how to run lex and yacc programs in windows 10,lex program to recognize words,how to execute lex and yacc programs in windows,lex...
simple exmple
วันที่ผ่านมา
lex program,yacc and lex tutorial,yacc and lex example for calculator,lex program to identify capital string,lex program to recognize keywords,lex and yacc,yacc and lex,lex tutorial,a program to identify whether a given line is comment or not,lex programming tutorial,how to run lex and yacc programs in windows 10,lex program to recognize words,how to execute lex and yacc programs in windows,lex...
simple exmple
วันที่ผ่านมา
lex program,lex program to count number of words,how to write lex and yacc programs,how to write lex program,lex program in compiler design,lex tool,lex program to identify c language tokens,lex programming,lex tool in compiler design,lex program to display identifiers,lex and yacc programs,lex program to recognize keywords,flex program to identify c tokens,how to write lex program in compiler ...
Name dislay showing using protiuse and arduino
มุมมอง 5วันที่ผ่านมา
arduino,arduino uno,arduino and proteus,arduino projects,display name on lcd using arduino uno in proteus,proteus,arduino project,arduino programming,arduino tutorial,arduino proteus,arduino lcd display,arduino projects for beginners,proteus simulation arduino,arduino proteus simulation,16*2 lcd interfacing using arduino board,how to install arduino library in proteus,arduino training,how to ad...
the system file propdefs ini cannot be found on your library path
มุมมอง 1วันที่ผ่านมา
the system file propdefs ini cannot be found on your library path
the system file propdefs ini cannot be found on your library path
มุมมอง 1514 วันที่ผ่านมา
the system file propdefs ini cannot be found on your library path
Error: listen EACCES: permission denied 5050;
มุมมอง 521 วันที่ผ่านมา
Error: listen EACCES: permission denied 5050;
Write an Assembly Language Program to Right Left 8 bit Number by 1 Bit and 2 bit right
มุมมอง 229 หลายเดือนก่อน
Write an Assembly Language Program to Right Left 8 bit Number by 1 Bit and 2 bit right
Write an Assembly Language Program to Shift Left 8 bit Number by 1 Bit Write an Assembly Language
มุมมอง 199 หลายเดือนก่อน
Write an Assembly Language Program to Shift Left 8 bit Number by 1 Bit Write an Assembly Language
Write an Assembly Language Program to Subtract Two 16 bit Numbers without Borrow
มุมมอง 299 หลายเดือนก่อน
Write an Assembly Language Program to Subtract Two 16 bit Numbers without Borrow
Write an Assembly Language Program to Subtract Two 8 bit Numbers without Borrow
มุมมอง 219 หลายเดือนก่อน
Write an Assembly Language Program to Subtract Two 8 bit Numbers without Borrow
Write an Assembly Language Program to Add Tow 16 bit Numbers without Carry Class:08
มุมมอง 59 หลายเดือนก่อน
Write an Assembly Language Program to Add Tow 16 bit Numbers without Carry Class:08
Write a lex program to identify negative fraction and function. %{ #include <stdio.h> %} %% -?[0-9]+\.[0-9]+ { printf("Negative Fraction: %s ", yytext); } [a-zA-Z_][a-zA-Z0-9_]*\([^\)]*\) { printf("Function: %s ", yytext); } [ \t ]+ { /* Ignore whitespace */ } . { printf("Unrecognized token: %s ", yytext); } %% int yywrap() { return 1; // Indicate end-of-input } int main() { printf("Enter your input: "); yylex(); // Start the lexer return 0; } code for Write a lex program to identify Pre-processor directive and delimiter. %{ #include <stdio.h> %} %% #(include|define|ifdef|ifndef|endif|else|elif|pragma|undef) { printf("Pre-Processor Directive: %s ", yytext); } [;(){}[\],.] { printf("Delimiter: %s ", yytext); } [ \t ]+ { /* Ignore whitespace */ } . { printf("Unrecognized token: %s ", yytext); } %% int yywrap() { return 1; // Indicate end-of-input } int main() { printf("Enter your input: "); yylex(); // Start the lexer return 0; }
code Here %{ #include <stdio.h> %} %% [0-9]+\.[0-9]+([eE][+-]?[0-9]+)? { printf("Floating-point or Scientific Notation: %s ", yytext); } [0-9]+[eE][+-]?[0-9]+ { printf("Scientific Notation: %s ", yytext); } [0-9]+ { printf("Integer: %s ", yytext); } [ \t ]+ { /* Ignore whitespace */ } . { printf("Unrecognized token: %s ", yytext); } %% int yywrap() { return 1; // Indicate end-of-input } int main() { printf("Enter your input: "); yylex(); // Start the lexer return 0; }
%{ #include <stdio.h> %} %% "+"|"-"|"*"|"/"|"="|"=="|"<"|">"|"<="|">="|"!=" { printf("Operator: %s ", yytext); } "//"[^ ]* { printf("Single-line Comment: %s ", yytext); } "/*"([^*]*|\*+[^*/])*"\*/" { printf("Multi-line Comment: %s ", yytext); } [ \t]+ { /* Ignore spaces and tabs */ } { printf("Newline detected "); } . { printf("Unrecognized token: %s ", yytext); } %% int yywrap() { return 1; // Indicate end-of-input } int main() { printf("Enter your input: "); yylex(); // Start the lexer return 0; }
%{ #include <stdio.h> #include <string.h> void check_keyword(const char *word); %} %% "if" { printf("Keyword: %s ", yytext); } "else" { printf("Keyword: %s ", yytext); } "while" { printf("Keyword: %s ", yytext); } "return" { printf("Keyword: %s ", yytext); } [a-zA-Z_][a-zA-Z0-9_]* { printf("Identifier: %s ", yytext); } [ \t ]+ { /* Ignore whitespace */ } . { printf("Unrecognized token: %s ", yytext); } %% int yywrap() { return 1; // Indicate end-of-input } int main() { printf("Enter your code snippet: "); yylex(); // Start the lexer return 0; }
Hello ওমা গেল
Wish you all the best buddy
❤❤❤❤
❤
nice \
thanks
Promo_SM 💦
nice
wish you all the bast
Good job 👏👍
Nice
Carry on bro