A syntax directed compiler for ALGOL 60

Edgar T. Irons

Communications of the ACM · 1961 · 163 citations · 1 references

DOIFull text

Open access

Concepts

Abstract

i i Th(~ disposition of lhe parentheses is computed by numberbig the m ull;iplication signs consecutively. If n is divisible /)y 2 k but, not; by 2 kw, then (;he nt,h multiplication sign is 1-),'ecedcd by k right pat'entheses, and followed by k left parentheses. If the lasi, multiplication sign is numbered m, then the entire expression is surrounded by k parentheses, whore 2 k ~" Ill. The extension go negative integral expohen Ls is obvious. The rewritLen expressions are compiled in the normal manner, the equivalent subexpressions being a.tttotnat ically recognized.

References

1