reset password
Author Message
mnava18
Posts: 86
Posted 18:01 Oct 13, 2016 |

anyone know what the output is supposed to be for the follow? I have no idea if i did it right and id like to check in case something is wrong. No clue how im supposed to know if im finished or not lol

yychen
Posts: 12
Posted 18:11 Oct 13, 2016 |

Richard already forward you the sample output for the follow. Another way to verify is to use the in class example Jose provided in his note. 

dle35
Posts: 22
Posted 21:03 Oct 13, 2016 |

P :: [$]
L :: [int, void, $]
D :: [int, void, $]
Vd :: [int, void, $, id, (, num, ;, {, if, while, return]
Fn :: [int, void, $]
Ts :: [id, main]
Ps :: [)]
Cs :: [int, void, $, else, }, id, (, num, ;, {, if, while, return]
Pl :: [,, )]
Pa :: [,, )]
Ld :: [id, (, num, ;, {, if, while, return, int, void]
Sl :: [}, id, (, num, ;, {, if, while, return]
S :: [else, }, id, (, num, ;, {, if, while, return]
Es :: [else, }, id, (, num, ;, {, if, while, return]
 

Last edited by dle35 at 21:04 Oct 13, 2016.
dle35
Posts: 22
Posted 21:04 Oct 13, 2016 |

This is half of the output i got so far you can check if we got the same

mnava18
Posts: 86
Posted 21:44 Oct 13, 2016 |

thanks

yychen
Posts: 12
Posted 21:53 Oct 13, 2016 |

Please don't post any part of solution on the wiki. 

Amedrano
Posts: 80
Posted 22:01 Oct 13, 2016 |
So far I got the same thing.
dle35 wrote:

P :: [$]
L :: [int, void, $]
D :: [int, void, $]
Vd :: [int, void, $, id, (, num, ;, {, if, while, return]
Fn :: [int, void, $]
Ts :: [id, main]
Ps :: [)]
Cs :: [int, void, $, else, }, id, (, num, ;, {, if, while, return]
Pl :: [,, )]
Pa :: [,, )]
Ld :: [id, (, num, ;, {, if, while, return, int, void]
Sl :: [}, id, (, num, ;, {, if, while, return]
S :: [else, }, id, (, num, ;, {, if, while, return]
Es :: [else, }, id, (, num, ;, {, if, while, return]
 

 

Last edited by Amedrano at 22:01 Oct 13, 2016.