Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 19, 2009
  1. @laverdet

    Complete rewrite; version 1.1.0

    laverdet authored
    Summary: I deleted most of XHP and started over. Points of interest:
             - Compatibility with at least PHP 5.3, likely up to PHP 6.0.
             - Uses PHP's parser instead the one I wrote
             - Rewritten scanner. The scanner now returns code_rope's with the
             actual code that was scanned, along with line numbers.
             - Separate the XHP parser and extension code
             - Further improved build process
             - No new features
    Reviewed By: epriestley
    Other Commenters: iproctor
    Test Plan: marcel@dev050 ~/alpaca $ php ./lib/init/script.php 
               marcel@dev050 ~/alpaca
               More testing will be done before committing this to APE.
    Revert: OK
    DiffCamp Revision: 64717
Commits on Jul 23, 2009
  1. @laverdet

    Improve php extension build

    laverdet authored
    Summary: Makes it so you don't have to run `make -f Makefile.xhp` before
             `make`. That is, you can just build the extension using the
             standard `phpize && ./configure && make` invocation.
             `make clean` doesn't clean some of the XHP generated files and I
             can't really figure out a good way to do that with phpize's
             generated Makefile. The best way to do this might be to put all of
             PHP's crap in its own folder and have XHP's Makefile invoke PHP's
    Reviewed By: epriestley
    Test Plan: phpize --clean && make -f Makefile.xhp clean
               phpize && ./configure && make
    Revert: OK
    DiffCamp Revision: 56177
Commits on Jul 18, 2009
  1. @laverdet

    Fixes and stuff

    laverdet authored
    Summary: Fixes some bugs in the grammar.
             Move ext.cpp over to the shared function in xhp_preprocess.cpp.
             Most of this code is probably pretty bad... So let me know if you
             hate me or not.
    Reviewed By: epriestley
    Test Plan: valgrind doesn't show any terrible leaks
    Revert: OK
    DiffCamp Revision: 55388
Commits on Jun 22, 2009
  1. @laverdet

    Quick checkin

    laverdet authored
    Summary: I just want a checkin of this somewhere that's not my dev server.
    Test Plan: None
Something went wrong with that request. Please try again.