News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dikini.net:
Rewriting macros - the peculiar case of php
August 17, 2006 @ 07:29:04

On Dikiki.net today, there's a new post that's a continuation of a series (first post, second post) dealing with macro programming in PHP.

Without going into theoretical details, some of which are quite alien to me, I'll try to describe some of the challenges that pattern patching rewriting macros might pose for a language like php. After brief explanation what kind of a beast is this, I try to explore some of the finer points, which might cause problems. The intent of this post is to sketch a design and highlight some of the possible issues.

He breaks up the post into a few sections:

  • pattern matching rewrite only macros - a bird eye view
  • Transformation time
  • Basic/skeleton shapes and intermediate shapes
  • Code generation issues specific to php
  • Hygiene
  • A rough macro shape outline
  • Output/Status of the project
There are code examples (of how it should work) and explainations of the issues PHP would face to accomplish this goal.

1 comment voice your opinion now!
rewrite macro pattern match transformation skeleton generation hygiene rewrite macro pattern match transformation skeleton generation hygiene


blog comments powered by Disqus

Similar Posts

DevShed: Introducing the Facade Pattern in PHP 5

DevShed.com: The Singleton and Factory Patterns in PHP - Building a Form Generator Class

WebCheatSheet.com: PHP: Dynamic Image Generation

LoLoCoJr BLog: Rewriting a (large) PHP application to Rails, part 1

Dikini.net: Rewriting macros - the peculiar case of php


Community Events





Don't see your event here?
Let us know!


series community podcast library interview wordpress developer release project laravel bugfix code language list introduction configure framework application threedevsandamaybe api

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework