Skip to main content

Skip over site navigation to main content

developerWorks  >   Linux  >   Technical library  >  

Technical library view  RSS for Linux

developerWorks
 Related links:    Redbooks |  Forums

Filter your search and/or enter a keyword. If you don't filter your search or enter a keyword, the search results will default to all results.

 
 
 
  1 - 4 of 4 results    Hide Summaries
Title   Date  

Table that contains the results that meet the search criteria.

The art of metaprogramming, Part 2: Metaprogramming using Scheme
Metaprogramming -- programming with code generators or writing programs that themselves write code -- has numerous useful attributes, such as simplifying code maintenance and making it easier to craft boilerplate code. The first article of this series explained why metaprogramming is necessary, looked at some of the components of metaprogramming, showed how to build a code generator, and introduced language-sensitive macro programming. In this article, learn techniques and applications of metaprogramming in the Scheme programming language, and see how macros are programmed and how they can make your large-scale programming tasks significantly easier.
02 May 2006  
 
The art of metaprogramming, Part 1: Introduction to metaprogramming
One of the most under-used programming techniques is writing programs that generate programs or program parts. Learn why metaprogramming is necessary and look at some of the components of metaprogramming (textual macro languages, specialized code generators). See how to build a code generator and get a closer look at language-sensitive macro programming in Scheme.
20 Oct 2005  
 
The art of metaprogramming, Part 3: Enterprise metaprogramming
Enterprise metaprogramming is becoming more common all the time as graphical and textual utilities make programming tasks easier and more descriptive, all because of the continuing formalization process occurring under the Object Management Group's Model Driven Architecture (MDA). This article, the third in a three-part series, explores the limits of metaprogramming, describes MDA and the problems it can solve, and presents a short example of a textual system that uses MDA.
28 Feb 2006  
 
Charming Python: Decorators make magic easy
Python made metaprogramming possible, but each Python version has added slightly different -- and not quite compatible -- wrinkles to the way you accomplish metaprogramming tricks. Playing with first-class function objects has long been around, as have techniques for peaking and poking at magic attributes. With version 2.2, Python grew a custom metaclass mechanism that went a long way, but at the cost of melting users' brains. More recently, with version 2.4, Python has grown "decorators," which are the newest -- and by far the most user-friendly way, so far -- to perform most metaprogramming.
29 Dec 2006  
 
  1 - 4 of 4 results    Hide Summaries
Not finding what you're looking for? Suggest Content