Demonstration of Factory - A Java Extension for Generative Programming
نویسنده
چکیده
Factory is an extension of Java which provides a template-based reflection mechanism for generative programming. Java classes can be parameterized by types, and the structure of the classes can be described dependent on these type parameters. Factory can address a wide range of applications and save programmers a lot of work. It is designed to integrate seamlessly with Java, to be intuitive for the user, extensible and safe. The talk will introduce the notion of generative programming and how it is realized in the Factory system. The main focus will be on a demonstration of examples done in the Factory language.
منابع مشابه
Refill – a generative java dialect
It has become popular to extend the Java programming language to experiment with different new and old language ideas. If the extension requires changes to the syntax, extensions are typically done by adapting an existing compiler, or by building a preprocessor. The pre-processor approach has the disadvantage that it is difficult to integrate static error checking, the adaptation approach has t...
متن کاملSmallholder Farmers’ Participation in Agricultural Training and Demonstration in Ethiopia: Implications for Inclusive Targeting by Agricultural Extension Services
Small farms and smallholder farming systems play crucial roles in agricultural development in many developing countries. From the various rural development programs designed to support such farming systems, agricultural extension services are of at most importance. However, the benefit that farmers obtain from these services and the resulting impact depends, to a great extent, by their direct a...
متن کاملJenerator – Generative Programming for Java
Generative Programming aims at creating software components, which, after suitable configuration, generate systems or other components. This allows to build families of products (or product lines) out of which several concrete systems can be created. Compared to frameworks, this has the advantage that the configuration takes place before runtime, enhancing runtime performance. This paper introd...
متن کاملGenerating AspectJ Programs with Meta-AspectJ
Meta-AspectJ (MAJ) is a language tool for generating AspectJ programs using code templates. MAJ itself is an extension of Java, so users can interleave arbitrary Java code with AspectJ code templates. MAJ is a structured meta-programming tool: a well-typed generator implies a syntactically correct generated program. MAJ promotes a methodology that combines aspect-oriented and generative program...
متن کاملJavaGI : Generalized Interfaces for Java
JavaGI is an experimental language that extends Java 1.5 by generalizing the interface concept to incorporate the essential features of Haskell’s type classes. In particular, generalized interfaces cater for retroactive and constrained interface implementations, binary methods, static methods in interfaces, default implementations for interface methods, interfaces over families of types, and ex...
متن کامل