Uniform syntax for type expressions and declarators

Ravi Sethi

Research output: Contribution to journalArticlepeer-review

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

Keywords

  • Declaration syntax Syntactic sugar

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'Uniform syntax for type expressions and declarators'. Together they form a unique fingerprint.

Cite this