Jump to content

Computer Science Help


Bulbasaur

Recommended Posts

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.

 

 

 

Link to comment
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 :)

Link to comment
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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.