mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-01 09:06:22 +00:00
21 lines
791 B
Plaintext
21 lines
791 B
Plaintext
This is the AbuseFilter native expression parser. It improves the performance
|
|
of the filter by using a C++ program to parse the expression.
|
|
|
|
parser_native has been tested on these platforms:
|
|
|
|
* Solaris 10 (Intel Core 2) with GCC 3.4.3
|
|
* Solaris 10 (Intel Core 2) with Sun Studio 12 (C++ patch 124864-04)
|
|
* Debian Linux (Intel Xeon, AMD Opteron) with GCC 4.3.1
|
|
* Debian Linux (Intel Xeon) with Intel C++ 10.1.015
|
|
|
|
parser_filter requires Boost (www.boost.org) 1.35.0 or higher. Earlier versions
|
|
will generate a parser which does not work.
|
|
|
|
parser_filter also requires GNU MP (gmplib.org), with C++ support enabled
|
|
(--enable-cxx).
|
|
|
|
To compile it, copy makefile.config.example to makefile.config, edit it, and
|
|
run 'make'. (GNU make is required.)
|
|
|
|
To run the test framework, run 'make test'.
|