mediawiki-extensions-AbuseF.../parser_native
2008-08-10 20:38:52 +00:00
..
include/datum - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
tests - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead 2008-08-10 20:38:52 +00:00
affunctions.h fix match() prototypes for gcc 4.3.1 2008-08-10 15:19:24 +00:00
afstring.h - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
aftypes.h - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
ast.h cleanups 2008-08-10 15:36:48 +00:00
check.cpp - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
equiv.cpp - implement 'rlike' and 'regex' operators 2008-08-08 12:35:13 +00:00
equiv.h - implement 'rlike' and 'regex' operators 2008-08-08 12:35:13 +00:00
equivset.txt - remove svn:executable prop from source files 2008-08-08 00:25:23 +00:00
eval.cpp - implement 'rlike' and 'regex' operators 2008-08-08 12:35:13 +00:00
evaluate.cpp - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
expr.cpp - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead 2008-08-10 20:38:52 +00:00
filter_evaluator.h - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
fray.cc - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
fray.h - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
main.cpp - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
makefile - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead 2008-08-10 20:38:52 +00:00
makefile.config.example - implement 'rlike' and 'regex' operators 2008-08-08 12:35:13 +00:00
maketest.cpp - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead 2008-08-10 20:38:52 +00:00
parser.h - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead 2008-08-10 20:38:52 +00:00
parserdefs.h cleanups 2008-08-10 15:36:48 +00:00
README add README. note that Boost < 1.35 won't work. 2008-08-10 16:02:35 +00:00
request.cpp - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
request.h - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
runtests.sh - using leaf_node_t includes the skip parser in the parsed token, causing expressions like (1 == ONE) to fail. use reduced_node_t instead 2008-08-10 20:38:52 +00:00
syntax_check.cpp - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00
xml.cpp - convert parser to AST. while this is slower than the previous implementation, it's clearer, and more correct (lazy evaluation is supported) 2008-08-10 03:52:17 +00:00

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 with GCC 3.4.3
* Solaris 10 with Sun Studio 12 (C++ patch 124864-04)
* Debian Linux with GCC 4.3.1

parser_filter requires Boost (www.boost.org) 1.35.0 or higher.  Earlier versions
will generate a parser which does not work.

To compile it, copy makefile.config.example to makefile.config, edit it, and
run 'make'.  (GNU make is required.)