




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































●
●
●
●
●
●
w h i l e ( i < z ) \n \t + i p ;
p + +
w h i l e ( i < z ) \n \t + i p ;
p + + T_While ( T_Ident < T_Ident ) ++ T_Ident ip z ip While ++ Ident < Ident Ident ip z ip
T_Do [ T_For T_New T_IntConst 0 d o [ f o r ] = n e w 0 ; ] =
T_Do [ T_For T_New T_IntConst 0 d o [ f o r ] = n e w 0 ; ] =
w h i l e (( i 1 p 3 7 < < z )i \n) \t\n \t+ +++ i++ pi ;;
w h i l e (( i 1 p 3 7 < < z )i \n) \t\n \t+ +++ i++ pi ;;
w h i l e (( i 1 p 3 7 < < z )i \n) \t\n \t+ +++ i++ pi ;;
w h i l e (( i 1 p 3 7 < < z )i \n) \t\n \t+ +++ i++ pi ;;
w h i l e ( 1 3 < i ) \n \t + ++ i ; T_While
w h i l e ( 1 3 < i ) \n \t + ++ i ; T_While
This is called a token. You can think of it as an enumerated type representing what logical entity we read out of the source code. This is called a token. You can think of it as an enumerated type representing what logical entity we read out of the source code. The piece of the original program from which we made the token is called a lexeme. The piece of the original program from which we made the token is called a lexeme.