Encerrado

Implement a parser that processes sequences of correctly paired ifs and elses in a C++ program. There may be ifs without elses, but not elses without

Specifications for the implementation follow:

• You must simulate a PDA to parse the sequences of correctly paired if-else.

• In addition, give the context-free grammar to generate these sequences.

• You can use C, C++ or Java to implement your parser, but make sure that your

program compiles and runs in either linux as installed on empress, or windows as

installed on campus PCs.

• Input to the parser: A file with the sequence ofifs and elses. The input file must be

called sequence.txt.

• Output: Display the message Correct sequence if the sequence is accepted by the

PDA, or display the message Sequence is syntactically incorrect if the sequence

is NOT accepted by the PDA.

• Document your program.

• Type one page describing the design and implementation of your parser in terms of

PDAs terminology and describe the context-free grammar to generate such sequences.

Habilidades: Programação C++

Ver mais: programming terminology, else programming, programming else, processes, program java implement protocol, context free grammar java, java context free grammar, program implement heap tree, paired, paired programming, follow sequence, pda linux, correctly, windows simulate input, simulate message input windows, simulate input windows, simulate java, file implement

Acerca do Empregador:
( 1 comentário ) San Diego, United States

ID do Projeto: #6780306

5 freelancers estão ofertando em média $79 para este trabalho

szymszteinsl

Hi! I am professional C/C++/C#/Java programmer. I can do this project with highest satisfaction. Best Regards, Szymszteinsl

$100 USD em 1 dia
(35 Comentários)
6.1
hbxfnzwpf

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used Mais

$94 USD em 1 dia
(33 Comentários)
5.4
cmw89

Hi, I am a C/C++ developer. I would like to do your task. I will implement it using C++. Contact me anytime................. Thanks.

$100 USD in 3 dias
(5 Comentários)
2.4
shahidost

Hi i can easily done your project.I have three years of C/C++ experience. You consider it done from my side with accuracy. I have already done such types of projects you may check from my profile. and in complete form Mais

$45 USD em 1 dia
(2 Comentários)
2.2
SpaceFeel

I will use c++ to write the software, compile it on a linux environment, and type your page of text. To write your push-down automata program, I request a copy of the original wording of the assignment and any provided Mais

$55 USD in 3 dias
(1 Comentário)
1.7