Sign in to follow this  
Bulbasaur

Computer Science Help

Recommended Posts

Bulbasaur    0

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.

 

 

 

Share this post


Link to post
Share on other sites
Curiatron    6

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 :)

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