News Feed
Sections




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

O'Reilly:
PHP Code Generation with Elisp
November 24, 2005 @ 05:43:34

On the O'Reilly OnLamp.com site today, there's a new article today dealing with teh creation and execution of PHP code through Elisp (Emacs Lisp).

As I do my programming in GNU Emacs, it seems sensible to write it in Emacs Lisp so that I can run it directly in my Emacs buffer without having to call an external program.

Emacs Lisp is an excellent language for this type of application, as it combines the power of Lisp with integration into Emacs, one of the most powerful text editors around.

This Lisp code is pretty simple. Grab the SQL text, parse out the PHP variables from a SQL statement using a regular expression, and then use that information to write the full PHP function to insert into the original Emacs buffer.

He starts off with an introduction to what Elisp is, how it works, and how to get it all set up to work with PHP...

0 comments voice your opinion now!
generation elisp generation elisp


blog comments powered by Disqus

Similar Posts

Ben Ramsey\'s Blog: Generating OPML From del.icio.us (And Getting All Your Links)

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

O\'Reilly: PHP Code Generation with Elisp

Anthony Ferrara's Blog: Random Number Generation In PHP

Qafoo.com: Practical PHPUnit: Testing XML generation


Community Events

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


laravel framework library release introduction unittest voicesoftheelephpant community php7 opinion extension podcast api install interview series language laravel5 example version

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