submit urlsubmit rss feedadd directory

article

Metaprogramming is the writing of programs that write or manipulate other programs (or themselves) as their data or that do part of the work that is otherwise done at compile time during runtime. In many cases, this allows programmers to get more done in the same amount of time as they would take to write all the code manually.

The language in which the metaprogram is written is called the metalanguage. The language of the programs that are manipulated is called the object-language. The capacity of a programming language to be its own meta-language is called reflexivity.

A simple example of a metaprogram is this bash script, which is an example of generative programming:

More on [ Metaprogramming ]


directory of related categories

 

 

 

 
directory of related topics

Aspect Oriented :: Methodologies

 
Metaprogramming RSS feed
programming Compilers - Google News

New PGI 9.0 Compilers Simplify x64+GPU Programming - PR Newswire (press release)
Tue, 23 Jun 2009 13:39:01 -0000
New PGI 9.0 Compilers Simplify x64+GPU ProgrammingPR Newswire (press release)The PGI Accelerator programming model is available now in the PGI Fortran and C compilers on Linux as an extended free preview for all PGI 9.0 licensees ...Sander Olson Interview: Nvidia's Sumit Gupta, Telsa GPU Computing ...Next Big FutureNVidia wants to bring HPC to the MassesVizWorld.comPortland Group PGI Accelerator utilizes CUDA GPUsMacNNPR Newswire (press release)all 31 news articles »
Alexander Stepanov - informIT
Thu, 18 Jun 2009 13:58:48 -0000
Alexander StepanovinformITHe has programmed operating systems, programming tools, compilers, and libraries. His work on foundations of programming has been supported by General ...and more »
Why Parrot is Important - Linux Magazine (registration)
Mon, 15 Jun 2009 17:15:13 -0000
Why Parrot is ImportantLinux Magazine (registration)Think writing a compiler is difficult? It is—unless you use Parrot, a complete compiler construction kit. With Parrot, crafting a new programming language ...and more »
HPC Hopscotch - Linux Magazine (registration)
Wed, 17 Jun 2009 20:22:38 -0000
HPC HopscotchLinux Magazine (registration)There is no compiler that can optimize a code for an entire cluster of multi-core processors. Indeed, optimizing a program for minimal data movement is a ...and more »
Intel Updates Developer Tools - Dr. Dobb's Journal
Tue, 23 Jun 2009 14:13:11 -0000
Intel Updates Developer ToolsDr. Dobb's JournalIntel has announced updates to a number of its compilers, libraries, and cluster tools. In general, the upgrades focus on parallel programming support and ...and more »
A guide to C++ for the cautious embedded programmer - Embedded.com
Mon, 08 Jun 2009 18:23:51 -0000
A guide to C++ for the cautious embedded programmerEmbedded.comTo get the best from any programming language, you need to fully understand what the language constructs mean and what kind of code the compiler might ...and more »

 
Subscribe to Metaprogramming RSS feed

directory of related sites

Code Generation Network - A resource for software engineers and architects interest in code generation with articles, interviews and a database of generation tools.
Meta Description: [ Software engineering resource for code generation tools articles and interviews. ]

Dynamic Languages Group - MIT AI Lab - Covers reflection, self-modifying code or mutable MOPs, Dylan, and aspect-oriented programming.

Intentional Programming - Papers on the metaprogramming system and former MS research project in which software is viewed as a database and multiple source code representations can be used.

IPAD Pro - Meta CASE tool. It allows developer to build CASE tools that allows end user to use graphical object manipulation to design and maintain end user system. Incorporate high level visual programming interface. Provides multiplatform GUI and execution environment.

Metadata Centric Development - Description and examples of a metadata driven development practice, which reduces duplication of implicit metadata assumptions (field length) throughout the code.

MetaL - An XML based Meta-Programming language. Also home of Metastorage, an application that is meant to automatically generate code from an high level data model definition.

ModelBased.net - Deticated to tools and information related to model-driven system development, aiming at supporting OMG's vision of MDA.
Meta Description: [ MDA; Model Driven Architecture; UMT; Model Transformation; Code Generation, QVT ]

404 Partial Evaluation - Some links and references for this optimization technique, and prototypes in various languages.

Synthesizer Generator - A system for creating language-sensitive editors, interfaces, and environments from formal grammatical descriptions of any language. [Commercial]

The Program Generator Generator - A partial evaluation system for Scheme: Given a program P and a specification of which of the inputs are known in advance, PGG outputs a program generator which accepts the known inputs of P and outputs a specialized version of P. PGG is fully automatic and can process all valid Scheme programs.

Metaprogramming related videos
brain psychedelic
Next Video
Metaprogramming related videos

 

HOMEADVERTISINGABOUT US

articlesartsbusinesscomputersgameshealthhospitalshomekids & teensnewsmobilephysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld


Submit a Site About Become an Editor