Parsoid/C++/Skel

From mediawiki.org
< Parsoid‎ | C++

The scope of this project is simply to write an empty prototype that the parsoid can be built on top of. Acceptance requirements are,

  1. Contrib libraries are redistributed and built
  2. These libraries are packaged together with our code into a single libparsoid.
  3. (stage 2) Our library routines are bound from PHP and can make callbacks.

Installation[edit]

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Parsoid.git

cd cpp

cat README

TODO[edit]

  • Make system
    • Top-level makefile always rebuilds contrib projects
    • Libtool will solve the issue of linking against dynamic libraries that are locally installed.
    • Decide what to use at the top level: autoconf, cmake, or a plain makefile?
  • PHP bindings project config.m4 and config.w32 haven't been configured yet.
  • Determine the architecture of callbacks made to php.
  • Test framework
    • parsertests.txt, round tripping
    • thread locking and shared memory, heap scrambling
    • DOS conditions
  • Job management
    • priorities, background dataflow re-evaluation