Uniform syntax for type expressions and declarators

Research output: Contribution to journalArticle

2 Scopus citations

Abstract

A declaration mechanism is proposed that allows common type information to be factored into a type expression, yet allows related but distinct types to be declared together. The mechanism is a unification of declarations in Pascal and C. The choice of syntax is quite important. The proposed syntax uses a postfix operator for dereferencing pointers instead of the prefix operator * for pointer dereferencing in C.

Original languageEnglish (US)
Pages (from-to)623-628
Number of pages6
JournalSoftware: Practice and Experience
Volume11
Issue number6
DOIs
StatePublished - Jun 1981
Externally publishedYes

Keywords

  • Declaration syntax Syntactic sugar

ASJC Scopus subject areas

  • Software

Cite this