lexical analyser code
$10-30 USD
K zaplacení v momentě doručení
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> ::="&&"|"||"|"<"|">"|"=="|"+" |""| "*" | "/" | "%"
Identifikační číslo projektu: #30155127
O projektu
Uděleno uživateli:
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
10 Freelnceři na tento projekt zveřejňují nabídky v průměru $26
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. Další
Dear, sir. I am a software engineer. I've just read your requirement, and I am ready for you now. Thank you
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 Další
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
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, Další