![]()
AMBIENTUM BIOETHICA BIOLOGIA CHEMIA DIGITALIA DRAMATICA EDUCATIO ARTIS GYMNAST. ENGINEERING EPHEMERIDES EUROPAEA GEOGRAPHIA GEOLOGIA HISTORIA HISTORIA ARTIUM INFORMATICA IURISPRUDENTIA MATHEMATICA MUSICA NEGOTIA OECONOMICA PHILOLOGIA PHILOSOPHIA PHYSICA POLITICA PSYCHOLOGIA-PAEDAGOGIA SOCIOLOGIA THEOLOGIA CATHOLICA THEOLOGIA CATHOLICA LATIN THEOLOGIA GR.-CATH. VARAD THEOLOGIA ORTHODOXA THEOLOGIA REF. TRANSYLVAN
|
|||||||
Rezumat articol ediţie STUDIA UNIVERSITATIS BABEŞ-BOLYAI În partea de jos este prezentat rezumatul articolului selectat. Pentru revenire la cuprinsul ediţiei din care face parte acest articol, se accesează linkul din titlu. Pentru vizualizarea tuturor articolelor din arhivă la care este autor/coautor unul din autorii de mai jos, se accesează linkul din numele autorului. |
|||||||
STUDIA INFORMATICA - Ediţia nr.2 din 2008 | |||||||
Articol: |
META‹FUN› – TOWARDS A FUNCTIONAL-STYLE INTERFACE FOR C++ TEMPLATE METAPROGRAMS. Autori: ADÁM SIPOS, ZOLTÁN PORKOLÁB, VIKTÓRIA ZSÓK. |
||||||
Rezumat: Template metaprogramming is an emerging new direction in C programming for executing algorithms at compilation time. Despite that template metaprogramming has a strong relationship with functional programming, existing template metaprogram libraries do not follow the requirements of the functional paradigm. In this paper we discuss the possibility to enhance the syntactical expressivity of template metaprograms using an embedded functional language. For this purpose we define EClean, a subset of Clean, a purely functional lazy programming language. A parser, and a graph-rewriting engine for EClean have been implemented. The engine itself is a compile-time template metaprogram library using standard C language features. To demonstrate the feasibility of the approach lazy evaluation of infinite data structures is implemented. Key words and phrases. C Template Metaprogramming, Clean. |
|||||||
![]() |
|||||||
![]() |