2
0
mirror of https://github.com/boostorg/yap.git synced 2026-01-27 19:32:17 +00:00

71 Commits

Author SHA1 Message Date
Zach Laine
4b383f9343 Add example implementing a version of Boost.Phoenex's let() syntax. 2018-02-20 23:27:40 -06:00
Zach Laine
b80f06a4c6 Finish integrating the two new examples into the docs. 2018-02-18 15:53:12 -06:00
Zach Laine
25d4acf6d6 Add extensive comments to pipable_algorithms.cpp; use snippets from it in the
intro; add it as an example.
2018-02-18 13:33:53 -06:00
Zach Laine
98acc2b2e7 Add pipable_algorithms example. 2018-02-18 12:35:54 -06:00
Zach Laine
5d011d83a0 Tweak comment. 2018-02-16 23:45:15 -06:00
Zach Laine
22b8ab969f Make the calc3 get_arity transform a little nicer based on review feedback.
Fixes #43.
2018-02-16 23:23:48 -06:00
Zach Laine
07848d6236 Simplify the overload set used in the transformf in transform_terminals.
Fixes #38.
2018-02-16 23:07:38 -06:00
Zach Laine
123ea1df6a Fix malformed expr_kind::call overload in transform_terminals example. 2018-02-16 23:02:59 -06:00
Zach Laine
8712988c25 Add expr_tag template to handle expr_kind <-> tag mapping.
Fixes #49.
2018-02-16 22:34:09 -06:00
Zach Laine
d1834c6c01 Add references to specific examples alluded to in a general reference to "Examples". 2018-02-16 21:56:53 -06:00
Zach Laine
0f4e144edc Add terminal transform example; not working due to longstanding call_expr tag
transform matching bug.
2018-02-15 23:02:26 -06:00
Zach Laine
27380020d7 Revert "Transform terminals before they are unwrapped and given as arguments to"
This reverts commit 4e68505bab.

Fixes #40.
2018-02-15 21:24:20 -06:00
Zach Laine
8282c4b10e Add Boost license copyright headers to all C++ files.
Fixes #31.
2018-02-15 18:07:48 -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
b6d53d153d Changes based on Part 2 of Steven Watanabe's review. 2018-02-14 17:50:29 -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
ed985c0b21 Doc update to make the sections on transform() clearer. 2018-02-02 22:45:01 -06:00
Zach Laine
d0ba21f938 Add missing Boost.Serialization include to autodeff.h. 2017-06-24 17:26:34 -05:00
Zach Laine
55e9f33892 Remove this_type parameter from all member function macros. 2017-05-09 11:14:55 -05:00
Zach Laine
62bfb3d0b8 Amplify Transforming Expressions section. Fixes #14. 2017-03-17 21:27:11 -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
3230cf2955 #include yap/algorithm instead of yap/expression in appropriate examples. 2016-12-21 20:11:37 -06:00
Louis Dionne
c23c06e509 [CMake] Pull the setting up of dependencies into its own file
Also, properly define link/header dependencies between targets.
2016-12-18 17:49:23 -06:00
Zach Laine
24a0ef69de Make examples C++14 friendly. 2016-12-17 23:17:04 -06:00
Zach Laine
858117ea71 Remove unnecessary genericity in autodiff example, and remove the
assert(false) in the negation transform (since the reason it was placed there
is fixed).
2016-12-17 19:27:49 -06:00
Zach Laine
056e886351 Slight modifications to autodiff example, including one that reveals a bug. 2016-12-17 13:09:55 -06:00
Zach Laine
211454066b Brevity in autodiff example. 2016-12-16 22:47:40 -06:00
Zach Laine
d9f17587cc Refactor the autodiff example code to make it a better example. 2016-12-16 22:30:05 -06:00
Zach Laine
9e37427a0b Add Autodiff_library sources as the basis for an example. 2016-12-16 22:20:10 -06:00
Zach Laine
31669e341b Implement placeholder as a terminal with a special value type. 2016-12-16 18:07:29 -06:00
Zach Laine
39c2d7f5d1 Add a TODO. 2016-12-15 19:09:46 -06:00
Zach Laine
35e89d7e81 Docs copy editing. 2016-12-13 17:06:26 -06:00
Zach Laine
1273e5109e Finish first pass on the examples docs. 2016-12-12 16:13:07 -06:00
Zach Laine
9bd24cd2b9 Update example docs. 2016-12-12 14:32:49 -06:00
Zach Laine
0c76f2eb5d Fix size check in vector example. 2016-12-12 14:32:39 -06:00
Zach Laine
dc09144718 Update example docs. 2016-12-12 00:00:49 -06:00
Zach Laine
b76eb66101 Add hello_world_redux example. 2016-12-11 23:32:39 -06:00
Zach Laine
04060c65e4 Update tutorial docs. 2016-12-11 15:34:03 -06:00
Zach Laine
52f7ba3a0b Add minimal example. 2016-12-11 15:31:24 -06:00
Zach Laine
1e3f6fb667 Add GCC support to CMake build. 2016-12-09 22:36:21 -06:00
Zach Laine
5d539bbb81 Swap order of template params to terminal<> and expression_ref<> aliases to match the convention of the rest of the library. 2016-12-07 20:01:27 -06:00
Zach Laine
1964805e89 Break up headers into more chunks. 2016-12-07 20:01:27 -06:00
Zach Laine
51d542e2d6 Add a test based on the lazy_vector example. 2016-12-07 20:01:26 -06:00
Zach Laine
02854387f4 Add map_assign-example-based code-gen sample. 2016-12-07 20:01:26 -06:00
Zach Laine
867e659099 Add future_group example. 2016-12-07 20:01:25 -06:00
Zach Laine
0f1df75707 Add TODO. 2016-12-07 20:01:25 -06:00
Zach Laine
52b8a03b40 Add map_assign example. 2016-12-07 20:01:25 -06:00
Zach Laine
a8fa2b4e23 Fix tests broken by value(), deref(), et al refactor. 2016-12-07 20:01:25 -06:00
Zach Laine
a9ab05aef2 Add mixed example. 2016-12-07 20:01:24 -06:00
Zach Laine
ce5a0a8744 Move lib headers to boost/yap. 2016-12-07 20:01:24 -06:00