[phc-general] Structured Tags pre-processor

Edsko de Vries edsko at phpcompiler.org
Wed Aug 9 11:13:11 CEST 2006


Hi Satyam,

I have to say: I'm delighted that the effort we put into making phc a
framework for processing PHP (as opposed to just a compiler) is proving
to be worthwhile! Also, I quite like what you are trying to do with your
application. What I think you should do is setup a website describing
your project (I know have one already, but I think it is a bit out of
date, since it doesn't mention phc), and offer downloads. I'll then add
a link to your project from the Spinoffs page (it will be the first
_actual_ spinoff, rather than just ideas for spinoffs :)

One of the ideas you mention on your website is that you'd like a
pretty-printer for your "St" language; it should be relatively
straightforward to write one, or am I wrong? All you'd have to do is
inherit from the existing PHP unparser, and add a few methods for you
new constructs. 

Have you any ideas on how to the the schema validation? That might be a
slightly more difficult problem to tackle. 

Also, you mention that you were using JavaCC before, and actually got
quite far with it. Can you comment on the difference between using that
and phc? 

Anyway, good work! Not bad for somebody without a computer science
degree ;-)) 

Edsko



More information about the phc-general mailing list