Skip to main content

CCC: User-Defined Object Structure in C

  • Conference paper
  • First Online:
ECOOP 2001 — Object-Oriented Programming (ECOOP 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2072))

Included in the following conference series:

  • 753 Accesses

Abstract

Traditional object-oriented programming languages do not support user-level object structure definition, so it is impossible to treat external or low-level data structures (like an integer, an array and a pointer) as actual objects. To overcome this, we apply Predicate Dispatching to arbitrary data of C to create CCC. CCC is a simple language extension of C and features user-level object structure definitions, conditional-style dispatching, multi-methods, and class scoped macros.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Chambers, C.: Object-Oriented Multi-Methods in Cecil, Proc.ECOOP’92.

    Google Scholar 

  2. Chambers, C.: Predicate Classes, Proc.ECOOP’93.

    Google Scholar 

  3. Ernst, M., Kaplan, C., and Chambers, C.: Predicate Dispatching: A Unified Theory of Dispatch, ECOOP’98.

    Google Scholar 

  4. Harada, Y., Yamazaki, K.: Condition Classes: Polymorphism and Inheritance without Data Abstraction, PRO, IPSJ, Jan. 1996 (In Japanese).

    Google Scholar 

  5. Steele, G.L.: Common Lisp: The Language, Digital Press, Bedford MA, 1990. Second edition.

    Google Scholar 

  6. Goldberg, A. and Robson, D. Smalltalk-80: The Language and Its Implementation. Addison-Wesley, Reading, MA, 1983.

    Google Scholar 

  7. Ellis, M.A., Stroustrup, B.: The Annotated C++ Reference Manual., Addison-Wesley, Reading, MA, 1990.

    Google Scholar 

  8. Queinnec, C., Cointe, P.: An Open-Ended Data Representation Model for EuLisp, Proc. 1988 ACM Conference on LISP and Functional Programming.

    Google Scholar 

  9. Adams, N., Curtis, P., Spreitzer, M.: "First-class Data-type Representation in SchemeXerox, Proc. 1993 ACM Conference on Programming Language Design.

    Google Scholar 

  10. Hollander, Y., Morley, M., Noy, A.: The e Language: A Fresh Separation of Concerns, 38th International Conference on Technology of Object-Oriented Languages: TOOLS-38 Europe 2001, Ed. Wolfgang Pree.

    Google Scholar 

  11. Harada, Y.: CCC web page, http://www.brl.ntt.co.jp/people/hara/ccc/.

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Harada, Y., Yamazaki, K., Potter, R. (2001). CCC: User-Defined Object Structure in C. In: Knudsen, J.L. (eds) ECOOP 2001 — Object-Oriented Programming. ECOOP 2001. Lecture Notes in Computer Science, vol 2072. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45337-7_7

Download citation

  • DOI: https://doi.org/10.1007/3-540-45337-7_7

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42206-8

  • Online ISBN: 978-3-540-45337-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics