Commit graph

8 commits

Author SHA1 Message Date
River Tarnell 52791b24f8 - document the parser some
- make pow_expr a seperate rule with higher precedence than mult_expr
- rename eq_expr/eq2_expr to ord_expr/eq_expr
- match strict_real_p instead of real_p, otherwise '1 / 2' is 0.5 instead of 0
2008-08-08 10:36:17 +00:00
Andrew Garrett af1cbfb759 Abuse Filter:
* Add power operator.
* Add filter builder (very simple, just a drop-down box with commonly-used constructs)
2008-08-08 09:37:05 +00:00
River Tarnell 920482def7 support c ? a : c2 ? b : c (right associative) 2008-08-08 05:52:44 +00:00
River Tarnell 56581c109d parser should support the ?: operator 2008-08-08 05:39:51 +00:00
River Tarnell ff2465007f - remove unused isInVector
- move AFP stuff into its own namespace
- move utf8 and equivset into seperate modules
- parser should understand /* */ comments
2008-08-08 03:23:34 +00:00
River Tarnell 81343c86c7 incorrect definition of bool_expr caused parse failure on '1 & 2 == 3' 2008-08-08 00:53:22 +00:00
River Tarnell bbd787bde2 implement === and !== properly 2008-08-08 00:35:12 +00:00
River Tarnell 1912d62d09 - rewrote AFPData to use boost::variant (type safe, no manual memory management)
- rewrote parser to use boost.spirit instead of a hand-written parser
- refactored request loading into 'request' object
- added 'expr', a command-line tool to test the new parser
- some performance fixes for affunctions
2008-08-08 00:01:22 +00:00