News for hackers. Stuff that matters.
Re:Ask HN: Is it just an accident that Pascal can be compile... by Someone on Monday January 23, 2023 @04:27PM (#34495319)
The latter. http://pascal.hansotten.com/niklaus-wirth/recollections-abou...

“Sophistication in syntax analysis was very much in style in the 1960s, allegedly because of the power and flexibility required to process high-level languages. It occurred to me then that a much simpler and more perspicuous method could well be used, if the syntax of a language was chosen with the process of its analysis in mind. The second attempt at building a compiler therefore began with its formulation in the source language itself, which by that time had evolved into what was published as Pascal in 1970 [Wirth, 1970], The compiler was to be a single-pass system based on the proven top-down, recursive-descent principle for syntax analysis.”

There are no comments on this comment yet.