Jump to content


Photo
- - - - -

Computer Science Help


  • Please log in to reply
1 reply to this topic

#1 Bulbasaur

Bulbasaur

    Lepton

  • New Members
  • 1 posts

Posted 20 April 2017 - 04:05 PM

Hi, could someone please help me with any of these problems?

ALL help would be appreciated.

 

PROBLEM 1

1.png

 

 

PROBLEM 2

 

2.png

 

 

PROBLEM 3

 

3.png

 

 

PROBLEM 4

 

4.png

 

 

PROBLEM 5

 

5.png

 

 

PROBLEM 6

 

6.png

 

 

PROBLEM 7

 

7.png

 

 

PROBLEM 8

 

8.png

 

 

Again, any help would be tremendously appreciated. Please help in any way you can. Thanks.

 

 

 


  • 0

#2 Curiatron

Curiatron

    Quark

  • Members
  • 11 posts
  • LocationPacific Northwest

Posted 20 April 2017 - 08:57 PM

Hello! I would love to help you! But, I'm unsure what help exactly it is you need? I do see you are working with context free grammars and the Backus Naur Form, but what areas are you uncertain with? Don't worry if you can't formulate an exact question...we can even start with question 1 and you asking, 'what is a parse tree?'.

 

*incidentally, your questions are quite timely as I'm dusting off my knowledge of parse-trees and languages, as I try to create my own LR(1) based compiler-compiler :)


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users