The syntax of the While Programming Language is given by the CFG with:

  • Terminal symbols: 0,1,,9, , a,b,,z,A,B,,Z, &&, , !, +, , , , =, , ;.
  • Nonterminal symbols: S, B, A, D, E, L, U, M, V, N
  • Production rules:

    SskipVAS;Sif B then S else Swhile B do S{ S }BtruefalseAAA=A!BB&&BBB(B)AVNA+AAAAA(A)D019ED EϵLabzUABZML MU MϵVL MND E
  • Start symbol: S