[wp-hackers] Theme structure
alanbaljeu at yahoo.com
Sat Jun 14 16:05:25 GMT 2008
On Wed, Jun 11, 2008 at 12:19 PM, Alan Baljeu <alanbaljeu at yahoo.com> wrote:
>> How much can a not-totally-stupid editor attempt to understand the structure of a document? What are the gotchas to watch out for?
> The main gotcha is that to "understand" a system of G complexity, you
> have to write your system with at least G+1 complexity. Gödel, etc.
That's only if you intend a total system. The editor I'm contemplating needs only to understand the structure of PHP files, and not their meaning. This means it should be a good deal less complex than the PHP interpreter. To make things easier for myself, I don't even intend the editor to fully parse PHP/XHTML. Just enough to cover the basic templates.
> Also, one of our GSoC projects last year:
That project looks like a good reference point for what to cover.
Looking for the perfect gift? Give the gift of Flickr!
More information about the wp-hackers