Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- S -> m G | m K p
- G -> n G | n
- K -> q K r | m n
- S -> m A
- A -> G | K p
- G -> n G'
- G' -> n G' | emptyString
- K -> q K r | m n
- m n q r $
- +------+------+------+------+------+
- S | mA | | | | |
- +------+------+------+------+------+
- A | Kp G Kp | | |
- +------+------+------+------+------+
- G | | nH | | | |
- +------+------+------+------+------+
- H | | nH | | | eps |
- +------+------+------+------+------+
- K | mn | | qKr | | |
- +------+------+------+------+------+
Add Comment
Please, Sign In to add comment