• Announcements

    • Cap'n Refsmmat

      SFN Upgraded   07/22/17

      SFN has been upgraded to IPB version 4. View the announcement for more details, or to report any problems you're experiencing.
Sign in to follow this  
Followers 0
Bulbasaur

Computer Science Help

2 posts in this topic

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0