Commit Graph

433 Commits

Author SHA1 Message Date
Zach Laine
f7a02fcc96 Fix accidentally passing if_else test. 2018-02-14 22:54:36 -06:00
Zach Laine
7d4b56e4ab Add test to verify that if_else evaluates only one of its alternatives.
Fixes #35
2018-02-14 21:27:06 -06:00
Zach Laine
63e88fe713 Add test of comma operator order of evaluation and ability to return void.
Fixes #34
2018-02-14 21:10:38 -06:00
Zach Laine
9bbe1279db Add .clang-format. 2018-02-14 20:37:34 -06:00
Zach Laine
2adaeb8813 Remove customization point-based and their implicit tranformations,
evaluate_as(), and BOOST_YAP_CONVERSION_OPERATOR_TEMPLATE.

Fixes #29
Fixes #30
2018-02-14 20:32:00 -06:00
Zach Laine
ca22c8a10a Doc copy editing, and add explicit values to expr_kind enumerators. 2018-02-14 17:50:29 -06:00
Zach Laine
b6d53d153d Changes based on Part 2 of Steven Watanabe's review. 2018-02-14 17:50:29 -06:00
Zach Laine
d10b23e3b0 boost -> include/boost 2018-02-14 17:50:29 -06:00
Zach Laine
8ff40f50e3 Don't require exactly Boost 1.64. 2018-02-14 17:45:34 -06:00
Zach Laine
c8646369c9 Add coverage of all expr_kind values to op_string(). 2018-02-12 19:46:10 -06:00
Zach Laine
dee006df7d Update docs and some example code based on part 1 of Steven Watanabe's review. 2018-02-11 14:20:30 -06:00
Zach Laine
5d782669cc Add .gitattributes. 2018-02-11 11:12:42 -06:00
Zach Laine
ed985c0b21 Doc update to make the sections on transform() clearer. 2018-02-02 22:45:01 -06:00
Zach Laine
181f3a774e Add text to docs explaining how transform() works in more detail.
Fixes #23
2017-08-29 20:19:51 -05:00
Rohit Grover
09a028f924 fix some spelling errors in documentation 2017-08-16 15:19:56 -05:00
Rohit Grover
2ac48c9855 fixes #24: changes to CMake related files to allow inclusion of yap as a submodule 2017-08-16 15:19:56 -05:00
Zach Laine
633040c441 Add Boost license badge to README.md. 2017-07-02 10:27:47 -05:00
Zach Laine
d0ba21f938 Add missing Boost.Serialization include to autodeff.h. 2017-06-24 17:26:34 -05:00
Zach Laine
237811e77f Boost 1.62 -> Boost 1.64, because Bintray. 2017-06-24 17:16:12 -05:00
Markus Werle
df4516ba43 Fixed a typo
epxression -> expression
2017-05-10 19:07:37 -05:00
Zach Laine
55e9f33892 Remove this_type parameter from all member function macros. 2017-05-09 11:14:55 -05:00
Zach Laine
1b2ca8744b Make make_expression_function() follow the expression operand handling rules
used in operators.
2017-04-06 20:38:17 -05:00
Zach Laine
98b8c064fb Don't exclude terminal and expression_ref aliases from the docs. 2017-04-06 19:39:31 -05:00
Zach Laine
9d327542a6 Move is_expr<> up out of detail, and document it. 2017-04-06 19:09:44 -05:00
Zach Laine
86c6a6dfe1 Explain auto-application of terminal transforms. Fixes #13. 2017-03-18 12:28:39 -05:00
Zach Laine
62bfb3d0b8 Amplify Transforming Expressions section. Fixes #14. 2017-03-17 21:27:11 -05:00
Zach Laine
e362ec0043 Add perf app based on the lazy_vector example. 2017-03-15 18:37:38 -05:00
Zach Laine
4e68505bab Transform terminals before they are unwrapped and given as arguments to
TagTransforms.
2017-03-12 14:59:35 -05:00
Zach Laine
f46fbd26ac Extend transform tests with transforms that match terminals and nonterminals. 2017-03-12 14:57:44 -05:00
Zach Laine
5c56657982 Slightly extend Transforming Expressions section. 2017-01-17 00:48:01 -06:00
Zach Laine
1aa4726488 Forward the expression passed to make_expression_function() instead of moving it. 2017-01-17 00:44:09 -06:00
Paul
71a40e8cd8 Add a note about cget, and also added type_index dependencies 2017-01-16 11:28:47 -06:00
Paul
11df2808a1 Add hana requirement 2017-01-16 11:28:47 -06:00
Zach Laine
b5368ff484 Add AutoIndex-based doc index. Fixes #11. 2017-01-14 14:31:01 -06:00
Zach Laine
12ff2f15fe Add sections on transforming and evaluating expressions to the tutorial docs.
Fixes #7.
2017-01-14 13:51:23 -06:00
Zach Laine
3a4a28a48f Add explicit doc section on Boost library dependencies. 2017-01-14 12:55:16 -06:00
Zach Laine
906de1d209 Fix _eval_{,as_} Quickbook defs. 2017-01-14 12:55:15 -06:00
Zach Laine
97c4b0ec2d #define BOOST_NO_CONSTEXPR_IF 0 if no previous definition is given. 2017-01-14 12:55:15 -06:00
Zach Laine
02a25a7d40 Remove Boost.Preprocessor dependency. 2017-01-14 12:55:15 -06:00
Zach Laine
9566bb1428 Move expression<>-specific overloads from algorithm.hpp to expression.hpp. 2016-12-21 20:12:20 -06:00
Zach Laine
47f170ec33 Document header organization. 2016-12-21 20:12:20 -06:00
Zach Laine
3230cf2955 #include yap/algorithm instead of yap/expression in appropriate examples. 2016-12-21 20:11:37 -06:00
Zach Laine
00794f3916 Separate core algorithms from expression<>. 2016-12-21 20:11:37 -06:00
Zach Laine
ed1fb70939 Add a test of nested expression evaluation. 2016-12-21 20:11:37 -06:00
Zach Laine
fba4ae2dba Fix handling of member operators when this_type::kind == expr_ref. 2016-12-21 20:11:37 -06:00
Zach Laine
e69d40eb58 Document print(). 2016-12-19 18:51:11 -06:00
Zach Laine
7db4f6b187 Add placeholder case to print test. 2016-12-19 18:49:50 -06:00
Zach Laine
32c7da2863 Add a doc section on compiler support. 2016-12-19 18:49:45 -06:00
Zach Laine
cc40a1a88b Report an error if no appropriate -std= flag could be discovered. 2016-12-19 18:49:19 -06:00
Zach Laine
a302e8e371 Fix Linux/libc++ build, by compiling depdendencies with the same flags as the YAP code. 2016-12-19 18:49:14 -06:00