In old versions of Fortran which did'not have character data type, character strings were expressed in following format:
::= H
where is a base-ten integer (³ 1), H is a (named after Herman Hollerith), and is sequence of characters. Semantics of this string literal is correct if numeric value of baseten numeral matches length of string. Write attribute grammar using only synthesized attributes for nonterminals in definition of .