[phc-general] Improved unparser

Edsko de Vries edsko at phpcompiler.org
Sat Nov 10 17:41:19 GMT 2007


Hi all,

I am happy to announce that the unparser now supports full in-string
syntax, so that "foo $a bar" is actually unparsed as "foo $a bar"
instead of "foo " . $a . " bar" (it is still represented like that
internally, but the unparser is now able to unparse that representation
using in-string syntax).

In addition, HEREDOC strings are now fully supported by the unparser
(previously, they were always unparsed using doubly-quoted strings).

This is an important improvement to the unparser. Unfortunately, there
are still a number of issues relating to the unparser; the ones that we
are aware of are listed at

  http://code.google.com/p/phc/issues/list?q=Component-Unparser

If you know of any others, please post to this list.

As always, to get the latest version, use svn; instructions can be found
at

  http://code.google.com/p/phc/source

Edsko


More information about the phc-general mailing list