Commit Graph

888 Commits

Author SHA1 Message Date
Eric Niebler
528dcc6876 add functionN transform, add optional State parameter to fold transform
[SVN r38073]
2007-06-23 07:41:20 +00:00
Eric Niebler
673a533fec port Vec3 example from PETE
[SVN r38070]
2007-06-23 06:32:01 +00:00
Eric Niebler
89cc510247 can make and initialize a (by-value) array terminal
[SVN r38069]
2007-06-23 06:26:31 +00:00
Eric Niebler
65a87ca356 add rgb example, ported from PETE docs
[SVN r38068]
2007-06-23 01:38:40 +00:00
Eric Niebler
35bae63d5d suppress gcc warning
[SVN r38067]
2007-06-22 23:23:49 +00:00
Eric Niebler
03f9e01473 TArray example, ported from PETE
[SVN r38065]
2007-06-22 21:45:58 +00:00
Eric Niebler
655a1a5bc1 remove old #include
[SVN r38062]
2007-06-22 17:28:17 +00:00
Eric Niebler
4b9f5dfce0 document names of tag types and expression meta-functions
[SVN r38061]
2007-06-22 06:24:55 +00:00
Eric Niebler
b3309e0116 remove out-of-date fold_to_list. use fold_tree instead
[SVN r38060]
2007-06-22 05:43:35 +00:00
Eric Niebler
41f8831c81 clean up some terminology
[SVN r38059]
2007-06-22 05:34:49 +00:00
Eric Niebler
bc58e8c006 add tests for attributes and symbols parser, thanks for David Jenkins
[SVN r38056]
2007-06-22 00:38:16 +00:00
Eric Niebler
07e780d3ac attribute assignments are only allowed when actions are attached
[SVN r38055]
2007-06-22 00:37:08 +00:00
Eric Niebler
484e1630ef attribute placeholders get real T& instead of opt<T> in actions
[SVN r38052]
2007-06-21 23:11:11 +00:00
Eric Niebler
a92051ce48 doc tweaks
[SVN r38047]
2007-06-20 18:53:00 +00:00
Eric Niebler
ef2877633c more work on docs
[SVN r38043]
2007-06-20 06:30:40 +00:00
Eric Niebler
93d8186d99 actually define convertible_to so it can be documented
[SVN r38042]
2007-06-20 06:29:49 +00:00
Eric Niebler
f406fab97b fix ref-to-ref bug in as_expr with array types
[SVN r38041]
2007-06-20 04:02:23 +00:00
Eric Niebler
dc30820ae5 update examples for recent code changes
[SVN r38040]
2007-06-20 01:45:49 +00:00
Eric Niebler
2b57c950ef remove if_matches and if_not_matches as redundant interfaces
[SVN r38036]
2007-06-19 06:13:25 +00:00
Eric Niebler
57ec32ffae conditional transform is BS. remove it. proto::if_ does it all.
[SVN r38035]
2007-06-19 06:03:27 +00:00
Eric Niebler
e1a3211bb1 fold_tree gets its own header, deprecate fold_to_list
[SVN r38028]
2007-06-19 01:07:11 +00:00
Eric Niebler
65263c75a7 flesh out the history a bit
[SVN r38021]
2007-06-18 06:51:27 +00:00
Eric Niebler
8534fdedea fix typo
[SVN r38020]
2007-06-18 03:01:12 +00:00
Eric Niebler
e9ccbb53b4 begin doc restructure
[SVN r38019]
2007-06-18 02:56:21 +00:00
Eric Niebler
3c777aea7c make binary
[SVN r38018]
2007-06-18 02:55:27 +00:00
Eric Niebler
d970e66c42 cool TST-based symbols parser from David Jenkins
[SVN r38011]
2007-06-17 02:08:36 +00:00
Eric Niebler
9cb622f2ce more docs for construct<>
[SVN r38006]
2007-06-16 18:32:36 +00:00
Eric Niebler
e5738f8dfb construct<> uses proto placeholder expressions instead of mpl placeholder expressions
[SVN r38004]
2007-06-16 09:21:17 +00:00
Eric Niebler
5af724c509 fix doc bug regarding recent name changes
[SVN r38003]
2007-06-16 06:29:09 +00:00
Eric Niebler
838ced94c4 massive rename Expr::type -> Expr::proto_base_expr, etc.
[SVN r38002]
2007-06-16 05:46:16 +00:00
Eric Niebler
b891d9b731 terminals are nullary expressions, not degenerate unary expressions
[SVN r38000]
2007-06-15 18:27:59 +00:00
Eric Niebler
08ef8a4f3f allow nested function types to mean construct nested objects
[SVN r37999]
2007-06-15 16:09:09 +00:00
Eric Niebler
a93e086c42 terminals no longer match unary_expr<_,...>
[SVN r37998]
2007-06-15 16:08:04 +00:00
Eric Niebler
2cb6f61112 document pass_through transform
[SVN r37991]
2007-06-14 16:17:03 +00:00
Eric Niebler
faff68e048 a construct<> transform that's actually good for something
[SVN r37987]
2007-06-14 06:03:31 +00:00
Eric Niebler
dd1ea42bbd tweak fold_tree to keep doxygen from crashing
[SVN r37981]
2007-06-13 07:33:47 +00:00
Eric Niebler
d8fd82ac97 fix oops
[SVN r37980]
2007-06-13 07:13:43 +00:00
Eric Niebler
d2a85fdac7 factor out [reverse_]fold_tree, add proto test for examples in docs
[SVN r37979]
2007-06-13 07:12:35 +00:00
Eric Niebler
94976482f0 fix width_of and use_simple_repeat to accomodate attributes
[SVN r37978]
2007-06-12 18:06:58 +00:00
Eric Niebler
e5b2b3aa4d accomodate Fusion changes
[SVN r37973]
2007-06-11 21:40:40 +00:00
Eric Niebler
4b2abee509 document more of the canned transforms
[SVN r37972]
2007-06-11 21:10:57 +00:00
Eric Niebler
15ca2f85fb update for new and improved trans::apply2<>
[SVN r37968]
2007-06-11 17:52:12 +00:00
Eric Niebler
c878248dfa applyN<> transforms first apply Grammar's transform, work-around for bogus MSVC C4700 warning
[SVN r37967]
2007-06-11 17:50:30 +00:00
Eric Niebler
d9a112fd07 begin writing user docs for proto's canned transforms
[SVN r37965]
2007-06-11 07:38:15 +00:00
Eric Niebler
aff0af5040 alternate arity calculation that doesn't need custom transforms
[SVN r37964]
2007-06-11 07:17:06 +00:00
Eric Niebler
570f1db356 add trans::apply2<> and trans::apply3<>
[SVN r37963]
2007-06-11 07:13:44 +00:00
Eric Niebler
43800e4762 slightly more useful default for trans::apply1<>::call()
[SVN r37961]
2007-06-11 06:47:33 +00:00
Eric Niebler
77f3d1b16c add support for pseudo-attributes so that a symbol table parser can return a value
[SVN r37954]
2007-06-09 18:36:12 +00:00
Eric Niebler
b50651d1a2 fix bad interactions between actions and regex_token_iterator
[SVN r37946]
2007-06-08 16:59:14 +00:00
Thomas Witt
edddebcbf9 Fix #1035.
[SVN r37939]
2007-06-08 00:49:22 +00:00