Terminé

lexical analyser code

this project requirment is to write a lexical analyser code for the following context free grammar:

<program> ::= <main class> <class declaration>*

<main

class> ::=

=class <identifier> "{" public static void main "("

")" "{" <statement>* "}" "}"

<class

declaration> ::=

class <identifier> [extends <identifier>]

"{" <declaration>* "}"

<declaration> ::= <variable declaration> | <method declaration>

<method declaration> ::=public <type> <identifier> "(" [ <formals> ] ")"

"{" <statement>* "}"

<variable declaration> ::= <type> <identifier> ";"

<formals> ::= <type> <identifier> ( "," <type> <identifier> )*

<type> ::= <simple type> | <array type>

<simple type> ::= int | boolean | void | <type identifier>

<array type> ::= <simple type> "[" "]"

<type identifier> ::= <identifier>

<statement> ::= assert "(" expr ")" |

<local variable declaration> |

"{" <statement>* "}" |

if "(" <expr> ")" <statement> |

if "(" <expr> ")"

<statement> else <statement> |

while "(" <expr> ")" <statement> |

[login to view URL] "(" <expr> ")" ";" |

<lvalue> "=" <expr> ";" |

return <expr> ";" |

<method invocation> ";"

<local variable declaration> ::= <variable declaration>

<method invocation> ::= <expr> "." <identifier> "(" [ <expr>

("," <expr>)* ] ")"

<lvalue> ::= <expr>

<expr> ::= <expr> <binary operator> <expr> |

<expr> "[" <expr> "]" |

<expr> "." length |

new <simple type> "[" <expr> "]" |

new <type identifier> "(" ")" |

"!" <expr> |

"(" <expr> ")"|

<identifier> | <integer literal> |

this | true | false |

<method invocation>

<binary

operator> ::="&&"|"||"|"<"|">"|"=="|"+" |""| "*" | "/" | "%"

Compétences : Programmation C++, Java

En voir plus : java code project road violation information vehicle free, java context free grammar, context free grammar checker, context free grammar python, context free grammar in compiler design, context free grammar pdf, context free grammar examples, applications of context free grammar, context free grammar tutorial, non context free grammar, convert context free grammar to regular expression, context free grammar code in c++, is java a context free grammar, application of context free grammar, context free grammar program in c, c code to implement context free grammar(cfg), context free grammar vs regular expression, context free grammar generator, context-free grammar program code in c

Concernant l'employeur :
( 0 commentaires ) Cairo, Egypt

Nº du projet : #30155127

Décerné à:

Marlely23

HELLO DEAR CLIENT I have gone through your project details and the work is DOABLE since its within my area of EXPERTISE.I will tackle are required guideline to deliver desired goal Please consider my bid. THANKS

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(5 Commentaires)
3.2

12 freelances font une offre moyenne de 28 $ pour ce travail

ExpertSoul

Hello, I've complete MS Software Engineering. I've 5-Year experience in Java development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaFX. Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(151 Commentaires)
6.6
danilamakarov01

Dear, sir. I am a software engineer. I've just read your requirement, and I am ready for you now. Thank you

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(73 Commentaires)
5.9
Muhammadsamran

Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA,C, C++, C#, Python, .NET , MYSQL, SQL, IONIC , MATLAB, ANDROID,PHP and ARDUINO. I am very confident with my skills and I'd like to hel Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(29 Commentaires)
5.4
Armmasud

My carrier starts as an Electrical Engineer I developed intuitive feeling about programming. I write clean w3 validated code and make a device supported website. ✔I am an expert on the "Java, Python, Algorithm, Flow ch Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(8 Commentaires)
4.9
ITtechsol

Hi I have checked your project description. I have excellent programming and development skills. Contact me with all the details and requirements for your project for further discussion. I will provide you dedicated s Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(4 Commentaires)
3.7
minecode13

Dear sir. I have an experience of attending ICPC. I have already worked for 3 years dealing with algorithm & data structure. I am very familiar with c++/c/java/python language. I've checked your attached project and I Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(13 Commentaires)
3.4
shaojin

Hi! I am happy to put my bid on here. I have read your requirement carefully and I am interested in this project. I have a tons of experience in C /C++/C# and Python. If you`ll hope to work with me, I am confident to p Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
2.8
AKACoder

Hello, I'm a language implementer and a know Java well. I can build the syntax analyser for you CFG without problems. Please, refer to my profile for a list of my expertises. Thanks. Regards, antonio

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(3 Commentaires)
1.8
serbusquets7

Hi dear client! I'm so happy to bid on your project. I have ever been made many parser such your parser. I have read your project description carefully and I'm confident to finish this project successfully. Please lea Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(5 Commentaires)
1.5
Work12345x

Hi, I can do this for you. My LinkedIn is [login to view URL] An example of my previous work is https://condosandtown.com. More examples of my past freelancing work can be found here: - Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0
asciencioalex

I am an highly experienced freelancer. I am offering services in Web Applications, Machine Learning, Deep Leaning, Arduino programming , Raspberry pi Android app development, Data Science, Natural Language Processing, Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0