A modest proposal: C++ resyntaxed

  • Authors:
  • Ben Werther;Damian Conway

  • Affiliations:
  • Department of Computer Science, Monash University, Clayton, Victoria 3168, Australia;Department of Computer Science, Monash University, Clayton, Victoria 3168, Australia

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1996

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe an alternative syntactic binding for C++. This new binding includes a completely redesigned declaration/definition syntax for types, functions and objects, a simplified template syntax, and changes to several problematic operators and control structures. The resulting syntax is LALR(1) parsable and provides better consistency in the specification of similar constructs, better syntactic differentiation of dissimilar constructs, and greater overall readability of code.