InfoQ

Topic/Tag specific view

All content and news on InfoQ about Metaprogramming


Latest featured content about Metaprogramming

Business Natural Languages Development in Ruby

Community
Ruby
Topics
Domain Specific Languages,
Specifications,
Language,
Business Process Management,
Customers & Requirements

Jay Fields presents his concept of Business Natural Languages (BNL). BNLs are a type of Domain Specific Language, designed to be readable by any subject matter expert, which allows to create maintainable specifications and documentation. The example language is shown using Ruby.

News about Metaprogramming

Should you really learn another language?

Community
Architecture
Topics
Language,
Dynamic Languages,
Programming

Blogger Gustavo Duarte cursed in church when he said that learning new programming languages is often a waste of time. He said that "In reality learning a new language is a gritty business in which most of the effort is spent on low-value tasks with poor return on time invested.". But not everyone agreed.

MountainWest RubyConf 2008 Videos

Community
Ruby
Topics
Domain Specific Languages,
Language,
Programming,
Community

The videos from MountainWest RubyConf 2008 are all available for downloading from the Confreaks website. We selected a few videos and provide an overview and some entry points into the talks.

Article: Building Domain Specific Languages on the CLR

Community
.NET
Topics
Domain Specific Languages

Ayende Rahien describes how to build internal DSLs on the CLR. He compares different .NET languages as suitable host languages for DSLs and presents Boo as an ideal candidate due to its meta programming facilities, flexibility, and performance.

Articles about Metaprogramming

Aaron Erickson on LINQ and i4o

Community
.NET
Topics
Performance & Scalability,
Programming

Aaron Erickson introduces his new LINQ extension Indexes for Objects (i4o). Indexes for Objects allows for fast lookup against in-memory collections while retaining the LINQ syntax and semantics. He also discusses how expression trees interact with LINQ and how they can be leveraged in other scenarios.

Adding Properties to Ruby Metaprogramatically

Community
Ruby
Topics
Domain Specific Languages,
Programming

Werner Schuster walks us through a simple example of adding Java-style properties support (declarative getters, setters and change listeners) to Ruby classes via a Mixin by using elements of meta-programming. Introduces ideas for enhancement using principles of design-by-contract and pluggable type systems.

Will the Enterprise change Ruby, or will Ruby change the Enterprise?

Community
Ruby,
SOA
Topics
Open Source,
Dynamic Languages,
Programming

Ruby is often criticized for lacking the features required for developing large applications and maintaining them over long periods of time with large teams. Are we missing something fundamental for widescale adoption of Ruby in the enterprise?

Interviews about Metaprogramming

Ryan "zenspider" Davis, Hardcore Ruby Hacker

Community
Ruby
Topics
Dynamic Languages,
Programming

Ryan Davis, known as "zenspider", is one of the highest-profile Rubyists in the world, and arguably one of the most influential ones. He is the author of a number of valuable Ruby open-source tools, including RubyInline and ZenTest. In this exclusive InfoQ interview, Ryan gives us a glimpse into how he has been pushing the envelope of what's possible with the Ruby language and runtime since 2000.

Presentations about Metaprogramming

MetaProgramming - Extending Ruby for Fun and Profit

Community
Ruby
Topics
Ruby on Rails,
Programming

Ever wonder just how Rails declarations such as "has many" and "belongs_to" work? Ever wished you could write your own code that worked the same way? It turns out that this style of programming, often called metaprogramming, is easier than you might think. In this talk we'll see how Ruby's open classes, compile-time execution, and full meta-object model make it easy to write your own extensions.