- G → G B ⏐ G N ⏐ ε
- B → ( E )
- E → E ( E ) ⏐ ε
- N → ( L ]
- L → L E ⏐ L (⏐ ε
For this grammar, the prompt asks to describe in the language that this grammar describes and builds.
I got to the point of first trying at defining the language each one builds but the recursiveness of this grammar threw me off a bit.
I'm kind of stuck, thus far I tried to start with let's say N and try to describe it as generating a left paren followed by a left paren and right bracket.
I could really use some direction on where to go with this.