Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Metaprogramming (programming)


Related Topics

In the News (Sat 12 Dec 09)

  
  Metaprogramming - Wikipedia, the free encyclopedia
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.
The most common metaprogramming tool is a compiler which allows a programmer to write a relatively short program in a high-level language and uses it to write an equivalent assembly language or machine language program.
Another still fairly common example of metaprogramming might be found in the use of lex (see also: flex) and yacc (see also: bison), which are used to generate lexical analysers and parsers.
en.wikipedia.org /wiki/Metaprogramming_(programming)   (529 words)

  
 [No title]
Metaprogramming isn't particularly complicated idea to formalize, once you decide to do it; actually, all the underlying ideas already exist, and await to be gathered into a coherent whole.
Such a framework would contain all the tools necessary to programming and metaprogramming, and the sources of said tools would not only be freely available in their whole entirety, but would be designed so as to be semi-automatically managed, by the system, under the guidance of the developers.
Metaprogramming and free availability of sources consist in opening programs to all processing and modifications, made by man or by the machine; all in all, it's a matter of opening programs to intelligibility, of participating in a process of building a shared knowledge, that is, of science!
fare.tunes.org /articles/ll99/mpfas.html   (7553 words)

  
 John Lilly - Programming & Metaprogramming in the Human Biocomputer
The national negative program on LSD was launched; LSD was the big scare, on a par with War, Pestilence, and Famine as the destroyer of young brains, minds and fetuses.
Metaprogramming appears at a critical cortical size-the cerebral computer must have a large enough number of interconnected circuits of sufficient quality for the operations of metaprogramming to exist in that biocomputer.
Above all these metaprograms to be experimented upon is one metaprogram of value to this subject his overall policy is the intent to explore, to observe, to analyze.
www.futurehi.net /docs/Metaprogramming.html   (20465 words)

  
 Important comments by Dr. John Lilly
Metaprogram: a set of instructions, descriptions, and means of control of sets of programs.
Program: a set of internally consistent instructions for the computation of signals, the formations of information, the storage of both, the preparation of messages, the logical processes to be used, the selection processes, and the storage addresses all occurring within a biocomputer, a brain.
Self-Metaprogram: a special metaprogram which involves the self-programming aspects of the computer, which creates new programs, revises old programs, and reorganizes programs and metaprograms.
deoxy.org /h_lilly.htm   (598 words)

  
 C++ Templates: Metaprograms > A First Example of a Metaprogram   (Site not responding. Last check: 2007-10-21)
Metaprogramming consists of “programming a program.” In other words, we lay out code that the programming system executes to generate new code that implements the functionality we really want.
Usually the term metaprogramming implies a reflexive attribute: The metaprogramming component is part of the program for which it generates a bit of code/program.
Although this program wasn’t strictly portable (error messages aren’t standardized), the program did show that the template instantiation mechanism is a primitive recursive language that can perform nontrivial computations at compile time.
www.informit.com /articles/article.asp?p=30667   (714 words)

  
 Template metaprogramming - Wikipedia, the free encyclopedia
Template metaprogramming is a programming technique in which templates are used by a compiler to generate temporary source code, which is merged by the compiler with the rest of the source code and then compiled.
Template metaprograms have no mutable variables— that is, no variable can change value once it has been initialized, therefore template metaprogramming can be seen as a form of functional programming.
Metaprograms can thus be difficult to maintain by programmers inexperienced in template metaprogramming (though this may vary with the language's implementation of template metaprogramming syntax).
en.wikipedia.org /wiki/Template_metaprogramming   (1337 words)

  
 Meta Programming
A metaprogram is a program that manipulates other programs (or itself) as its data.
Metaprogramming is what you do with CeePlusPlus templates or CommonLisp macros: defining the content of (part of) a program by writing code that generates it.
Writing a translator for a general purpose programming language is outside the scope of this discussion--we all know why this is done, and agree that it should be.
c2.com /cgi/wiki?MetaProgramming   (970 words)

  
 Open Directory - Computers:Programming:Metaprogramming   (Site not responding. Last check: 2007-10-21)
Metaprogramming (synonym: generative programming): a style of programming in which, in some way, a program writes or modifies some code in some language.
Quines are programs that generate themselves as output (without trivial "cheats" such as reading their own source code).
Please, submit specific programming language source code generators in appropriate programming language category in Computers:Programming:Languages, disassemblers and decompilers to Computers:Programming:Disassemblers category, compilers and compiler generators to appropriate category in Computers:Programming:Compilers.
dmoz.org /Computers/Programming/Metaprogramming/desc.html   (140 words)

  
 Erowid Metaprogramming Vaults : "Get With the Metaprogram" by James Kent
Metaprogramming begins in that split second when a pre-scripted program consciously begins to rewrite itself.
Yes, everyone has a program for you, and failure to comply with the program can result in excommunication, deportation, arrest, disownment, death, and a downright snubbing.
A short program built with sturdy, unwavering constructs may seem tempting, but such a system is much harder to upgrade, and is destined to become obsolete with the passing of time.
www.erowid.org /spirit/metaprogramming/metaprogramming_article1.shtml   (711 words)

  
 LWN: 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.
lwn.net /Articles/169533   (149 words)

  
 Template Metaprogramming - ©2001 Josh Walker   (Site not responding. Last check: 2007-10-21)
Metaprogramming can facilitate increased performance by computing performance-critical results at compile time or using compile-time logic to choose the best algorithm for the job.
The basic tools of metaprogramming consist of constructions that should be familiar to most C++ programmers: compile-time constants, typedefs, template specialization, and recursive templates.
The mechanics of metaprogramming may require a readjustment from the regular C++ programmer, since the C++ metaprogramming sublanguage resembles a dynamically-typed functional language.
home.earthlink.net /~joshwalker1/writing/TemplateMetaprogramming.html   (2035 words)

  
 C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond - $35.99   (Site not responding. Last check: 2007-10-21)
With help from the excellent Boost Metaprogramming Library, David and Aleksey take TMP from the laboratory to the workplace with readable prose and practical examples, showing that "compile-time STL" is as able as its runtime counterpart.
A metaprogram is a program that generates or manipulates program code.
Ever since generic programming was introduced to C++, programmers have discovered myriad "template tricks" for manipulating programs as they are compiled, effectively eliminating the barrier between program and metaprogram.
www.awprofessional.com /titles/0321227255   (1534 words)

  
 Metaprogramming: Programming at Canadian Content
Additional Information: Metaprogramming is a style of programming in which, in some sense, a program writes or modifies some code in some language.
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 a
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.
www.canadiancontent.net /dir/Top/Computers/Programming/Metaprogramming   (334 words)

  
 Programming and Metaprogramming in the Human Biocomputer
In this atmosphere (1966-1967) Programming and Metaprogramming in The Human Biocomputer was written.
The basic belief that one could leave the body and explore new universes was succesfully programmed in the first eight different experiments lasting from five minutes to forty minutes; the later eight experiments were on the cognitional multidimensional space without the leaving the body metaprogram (see previous section on Projection for the cognition space phenomenon).
With this program the subject found old models in himself (old programs, old metaprograms, implanted by others, implanted by self, injected by parents, by teachers, etc.) He found that these were disparate and separate autonomous beings in himself.
nepenthes.lycaeum.org /Misc/metaprog.html   (4082 words)

  
 What is metaprogramming?
He proposed the notion that inasmuch as the brain can be considered the hardware of the mind, the linguistic models that the brain uses to interpret the world -- programs -- can be modified and refined at the discretion of the metaprogrammer.
Altered states of consciousness are often, but not always, a factor in metaprogramming; similarly, although the psychedelic experience is often linked to metaprogramming, thanks to Dr. Leary's influence, it is by no means the only nor the "most important" method for metaprogramming.
I personally tend to use the word metaprogramming in reference to the actual act of imprinting through altered states of consciousness.
www.leri.org /faq/lf_sec1.html   (919 words)

  
 Ola Bini on Java, Lisp, Ruby and AI: Ruby Metaprogramming techniques
For good or bad, metaprogramming has entered the Ruby community as the standard way of accomplishing various tasks, and to compress code.
I've found some great meta programming nuggets scattered in blogs, mailing lists etc. but seeing a whole bunch of them together is a treat.
This is a really great resource on ruby metaprogramming and I hope you'll continue to discuss this in your blog and to add examples as you go along.
ola-bini.blogspot.com /2006/09/ruby-metaprogramming-techniques.html   (2247 words)

  
 THE BOOST MPL LIBRARY   (Site not responding. Last check: 2007-10-21)
The Boost.MPL library is a general-purpose, high-level C++ template metaprogramming framework of compile-time algorithms, sequences and metafunctions.
There are several places to start when getting familiar with the library, depending on what your know about metaprogramming in general and C++ template metaprogramming in particular.
While the tutorial only uncovers a bit of what there is to C++ metaprogramming and the MPL, it's a perfect place to start if you are only somewhat familiar with the subject.
www.boost.org /libs/mpl/doc   (292 words)

  
 JetBrains::Meta Programming System
The Meta Programming System (MPS) is a new programming environment which makes it easy to define your own specialized languages, and use them together with any other language, as you see fit.
MPS is an implementation of Language Oriented Programming, whose goal is to make defining languages as natural and easy as defining classes and methods is today.
The purpose is to "raise the level of abstraction", which has been a major goal of programming since the first assembly language was born.
www.jetbrains.com /mps   (228 words)

  
 Dr. Dobb's | CORBA Metaprogramming Mechanisms, Part 1 | May 13, 2003   (Site not responding. Last check: 2007-10-21)
To address this problem, CORBA supports metaprogramming mechanisms [1] that improve the adaptability of distributed applications by allowing their behavior to be modified with little or no change to existing application software.
Portable Interceptors are a metaprogramming mechanism that implements the Interceptor pattern [2, 3], which allows applications to extend and control the behavior of a framework.
In addition to providing programming language and platform transparency, an IDL compiler eliminates common sources of network programming errors and provides opportunities for automated compiler optimizations [5].
www.ddj.com /dept/cpp/184403860   (3283 words)

  
 Multi-stage Programming Homepage
In addition to having the usual constructs of a general-purpose language, multi-stage languages internalize the notions of runtime program generation and execution.
Thus, multi-stage languages provide the programmer with the essence of partial evaluation and program specialization techniques, both of which have been shown to lead to dramatic resource-utilization gains in a wide range of applications, starting from implementations of domain-specific compilers, to high-performance operating systems.
Multi-stage languages make it possible to write generic and highly-parameterized programs that do not pay unnecessary runtime overheads.
www.cs.rice.edu /~taha/MSP   (150 words)

  
 JOHN C
At times these keys were felt as a physical and a mental burden which slowed the efficient operation of his life.
The subject next moved from the meanings in the external reality metaprogram to another level in which he internalized this picture of the door, the room, the lock, the key.
He visualized his own antithetical metaprograms as existing in rooms separated by doors which had locks on them.
www.lycaeum.org /books/books/metaprogramming_with_lsd_25/full_text.html   (20971 words)

  
 Meta Programming
Theory and pragmatics of advanced programming techniques, with a focus on meta programming.
As to not repeating logic, this means identifying a recurring pattern of labor, describing that pattern formally and, finally, using these magnificent machines we call computers to carry out the corresponding laborious tasks over and over again.
Functional Programming is definitely achievable in most popular languages, such as Python, Java and C++.
metaprogramming.blogspot.com   (2944 words)

  
 Metaprogramming in Logic - Barklund (ResearchIndex)   (Site not responding. Last check: 2007-10-21)
Abstract: In this review of metaprogramming in logic we pay equal attention to theoretical and practical issues: the contents range from mathematical and logical preliminaries to implementation and applications in, e.g., software engineering and knowledge representation.
The area is one in rapid development but we have emphasized such issues that are likely to be important for future metaprogramming languages and methodologies.
1 Introduction The term `metaprogramming' relates to `programming' as...
citeseer.ist.psu.edu /barklund94metaprogramming.html   (1285 words)

  
 The Art of Metaprogramming Using Scheme - OSNews.com
One of the most under-used programming techniques -- Metaprogramming -- programming with code generators or writing programs that themselves write code, has many uses in large-scale computer programming.
This article shows you some tools needed to do Metaprogramming in Scheme, as well as provide several metaprogramming examples.
To determine which problems are best solved with a code-generating programs, take a look at this introduction to Metaprogramming article, which teaches you why metaprogramming is necessary.
www.osnews.com /story.php?news_id=13545   (166 words)

  
 [e-lang] Aspect-oriented programming and Metaprogramming   (Site not responding. Last check: 2007-10-21)
Previous message: [e-lang] Aspect-oriented programming (was: Microsoft's laws of identity)
These are nearly Java forms of aspect oriented programming.
One has an internal way of representing java entities like parameters, and the other has a separate file to tell the system which classes are being weaved.
www.eros-os.org /pipermail/e-lang/2005-July/010892.html   (404 words)

  
 Why’s (Poignant) Guide to Ruby :: 6. Downtown
I guess you could say metaprogramming is New Age, but it’s all settled down recently into a sleeping bag with plain old nerdiness.
The program isn’t reaching back around and overwriting itself, nor is the program jumping onto your screen and wrenching the keyboard from your hands.
Metaprogramming is packing code into pill-form, such that a slender drop of water could trigger it to expand.
poignantguide.net /ruby/chapter-6.html   (8819 words)

  
 Metaprogramming Programming Computers
- 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.
- 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 a
It allows developer to build CASE tools that allows end user to use graphical object manipulation to design and maintain end user system.
www.iaswww.com /ODP/Computers/Programming/Metaprogramming   (221 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.