Uniform syntax for type expressions and declarators

Ravi Sethi

Research output: Contribution to journalArticlepeer-review

2 Scopus citations


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
Issue number6
StatePublished - Jun 1981


  • Declaration syntax Syntactic sugar

ASJC Scopus subject areas

  • Software

Cite this