Re:Cppfront, Herb Sutter's proposal for a new C++ syntax
by thechao on Saturday September 17, 2022 @12:15PM
(#32878681)
I used to code for a language called "Spad" — originally shipped in 1972(?). The syntax:
x : t = e
Was called "headform" and was the only syntactic form for the whole language. (Expressions used a shunting yard algorithm to desugar into a sequence of headform.)
The language included modules, classes, parameterics, functions, constraints, ..., whatever.
The language included modules, classes, parameterics, functions, constraints, ..., whatever.