Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2007-08-01 11:22:16


Author: eric_niebler
Date: 2007-08-01 11:22:14 EDT (Wed, 01 Aug 2007)
New Revision: 38337
URL: http://svn.boost.org/trac/boost/changeset/38337

Log:
delete old data resurrected in the switch to svn
Removed:
   trunk/boost/xpressive/detail/static/productions/
   trunk/boost/xpressive/detail/static/transforms/fold_to_xxx.hpp
   trunk/boost/xpressive/detail/static/transforms/transform.hpp
   trunk/boost/xpressive/proto/compile.hpp
   trunk/boost/xpressive/proto/compiler/
   trunk/boost/xpressive/proto/transform/conditional.hpp
   trunk/boost/xpressive/proto/transform/fold_to_list.hpp

Deleted: trunk/boost/xpressive/detail/static/transforms/fold_to_xxx.hpp
==============================================================================
--- trunk/boost/xpressive/detail/static/transforms/fold_to_xxx.hpp 2007-08-01 11:22:14 EDT (Wed, 01 Aug 2007)
+++ (empty file)
@@ -1,75 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// fold_to_xxx.hpp
-//
-// Copyright 2004 Eric Niebler. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_XPRESSIVE_DETAIL_STATIC_TRANSFORMS_FOLD_TO_XXX_HPP_EAN_04_01_2007
-#define BOOST_XPRESSIVE_DETAIL_STATIC_TRANSFORMS_FOLD_TO_XXX_HPP_EAN_04_01_2007
-
-// MS compatible compilers support #pragma once
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-# pragma once
-#endif
-
-#include <boost/xpressive/proto/traits.hpp>
-#include <boost/xpressive/proto/matches.hpp>
-#include <boost/xpressive/proto/transform/fold.hpp>
-
-namespace boost { namespace xpressive { namespace detail
-{
-
- template<typename Tag, typename Grammar, template<typename> class Generator>
- struct fold_to_xxx_recurse
- : proto::or_<
- proto::transform::fold<
- proto::binary_expr<
- Tag
- , fold_to_xxx_recurse<Tag, Grammar, Generator>
- , fold_to_xxx_recurse<Tag, Grammar, Generator>
- >
- >
- , Generator<Grammar>
- >
- {};
-
- template<typename Tag, typename Grammar, template<typename> class Generator>
- struct fold_to_xxx
- : proto::transform::fold<
- proto::binary_expr<
- Tag
- , fold_to_xxx_recurse<Tag, Grammar, Generator>
- , fold_to_xxx_recurse<Tag, Grammar, Generator>
- >
- >
- {};
-
- template<typename Tag, typename Grammar, template<typename> class Generator>
- struct reverse_fold_to_xxx_recurse
- : proto::or_<
- proto::transform::reverse_fold<
- proto::binary_expr<
- Tag
- , reverse_fold_to_xxx_recurse<Tag, Grammar, Generator>
- , reverse_fold_to_xxx_recurse<Tag, Grammar, Generator>
- >
- >
- , Generator<Grammar>
- >
- {};
-
- template<typename Tag, typename Grammar, template<typename> class Generator>
- struct reverse_fold_to_xxx
- : proto::transform::reverse_fold<
- proto::binary_expr<
- Tag
- , reverse_fold_to_xxx_recurse<Tag, Grammar, Generator>
- , reverse_fold_to_xxx_recurse<Tag, Grammar, Generator>
- >
- >
- {};
-
-}}}
-
-#endif

Deleted: trunk/boost/xpressive/detail/static/transforms/transform.hpp
==============================================================================
--- trunk/boost/xpressive/detail/static/transforms/transform.hpp 2007-08-01 11:22:14 EDT (Wed, 01 Aug 2007)
+++ (empty file)
@@ -1,121 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// transform.hpp
-//
-// Copyright 2004 Eric Niebler. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_XPRESSIVE_DETAIL_STATIC_TRANSFORMS_TRANSFORM_HPP_EAN_04_01_2007
-#define BOOST_XPRESSIVE_DETAIL_STATIC_TRANSFORMS_TRANSFORM_HPP_EAN_04_01_2007
-
-// MS compatible compilers support #pragma once
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-# pragma once
-#endif
-
-#include <boost/xpressive/proto/proto.hpp>
-#include <boost/xpressive/proto/transform/fold.hpp>
-#include <boost/xpressive/detail/static/transforms/as_matcher.hpp>
-#include <boost/xpressive/detail/static/transforms/as_alternate.hpp>
-#include <boost/xpressive/detail/static/transforms/as_sequence.hpp>
-#include <boost/xpressive/detail/static/transforms/as_quantifier.hpp>
-#include <boost/xpressive/detail/static/transforms/as_marker.hpp>
-#include <boost/xpressive/proto/transform/compose.hpp>
-
-namespace boost { namespace xpressive { namespace detail
-{
- struct Grammar;
-
- struct Alternate
- : proto::bitwise_or< Grammar, Grammar >
- {};
-
- struct Terminal
- : proto::terminal< proto::_ >
- {};
-
- struct GreedyQuantifier
- : proto::or_<
- proto::unary_plus<Grammar>
- , proto::unary_star<Grammar>
- , proto::logical_not<Grammar>
- >
- {};
-
- struct NonGreedyQuantifier
- : proto::unary_minus<GreedyQuantifier>
- {};
-
- struct SimpleGreedyQuantifier
- : proto::and_<
- GreedyQuantifier
- , proto::if_<use_simple_repeat<proto::result_of::arg<mpl::_>, proto::tag_of<proto::result_of::arg<mpl::_> > > >
- , proto::transform::arg<GreedyQuantifier>
- >
- {};
-
- struct DefaultGreedyQuantifier
- : proto::and_<
- GreedyQuantifier
- , proto::if_<mpl::not_<use_simple_repeat<proto::result_of::arg<mpl::_>, proto::tag_of<proto::result_of::arg<mpl::_> > > > >
- >
- {};
-
- struct Mark
- : proto::assign<basic_mark_tag, Grammar>
- {};
-
- struct Sequence
- : proto::right_shift<Grammar, Grammar>
- {};
-
- // These sub-expressions generate simple matcher types
- // that must be placed in sequence.
- struct NonSequence
- : proto::or_<
- as_matcher<Terminal>
- , as_alternate<Alternate>
- , as_simple_quantifier<SimpleGreedyQuantifier, false>
- , proto::transform::compose<
- proto::and_<
- proto::unary_minus<SimpleGreedyQuantifier>
- , proto::transform::arg<proto::_>
- >
- , as_simple_quantifier<SimpleGreedyQuantifier, true>
- >
- >
- {};
-
- // These sub-expressions require further processing.
- struct Transforms
- : proto::or_<
- as_default_quantifier<DefaultGreedyQuantifier, false>
- , proto::transform::compose<
- proto::and_<
- proto::unary_minus<DefaultGreedyQuantifier> // match -(GreedyQuant) ...
- , proto::transform::arg<proto::_> // and strip off the - ...
- >
- , as_default_quantifier<DefaultGreedyQuantifier, true> // and process the GreedyQuat
- >
- , as_marker<Mark>
- >
- {};
-
- struct Grammar
- : proto::or_<
- proto::transform::reverse_fold<Sequence>
- , proto::transform::compose<Transforms, Grammar>
- , in_sequence<NonSequence>
- >
- {};
-
- template<typename Expr, typename Visitor>
- typename Grammar::apply<Expr, end_xpression, Visitor>::type
- transform(Expr const &expr, Visitor &visitor)
- {
- return Grammar::call(expr, end_xpression(), visitor);
- }
-
-}}}
-
-#endif

Deleted: trunk/boost/xpressive/proto/compile.hpp
==============================================================================
--- trunk/boost/xpressive/proto/compile.hpp 2007-08-01 11:22:14 EDT (Wed, 01 Aug 2007)
+++ (empty file)
@@ -1,61 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-/// \file compile.hpp
-/// The compile function object and result_of::compile meta-function.
-//
-// Copyright 2004 Eric Niebler. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_PROTO_COMPILE_HPP_EAN_04_01_2005
-#define BOOST_PROTO_COMPILE_HPP_EAN_04_01_2005
-
-#include <boost/xpressive/proto/detail/prefix.hpp>
-#include <boost/xpressive/proto/proto_fwd.hpp>
-#include <boost/xpressive/proto/ref.hpp>
-#include <boost/xpressive/proto/traits.hpp>
-#include <boost/xpressive/proto/detail/suffix.hpp>
-
-namespace boost { namespace proto
-{
- namespace result_of
- {
- template<typename Expr, typename State, typename Visitor, typename DomainTag>
- struct compile
- {
- typedef compiler<typename tag_of<Expr>::type, DomainTag> compiler;
- typedef typename compiler::BOOST_NESTED_TEMPLATE apply<Expr, State, Visitor>::type type;
- };
- }
-
- namespace op
- {
- struct compile
- {
- template<typename Sig>
- struct result;
-
- template<typename This, typename Expr, typename State, typename Visitor, typename DomainTag>
- struct result<This(Expr, State, Visitor, DomainTag)>
- : result_of::compile<
- typename detail::remove_cv_ref<Expr>::type
- , typename detail::remove_cv_ref<State>::type
- , typename detail::remove_cv_ref<Visitor>::type
- , typename detail::remove_cv_ref<DomainTag>::type
- >
- {};
-
- template<typename Expr, typename State, typename Visitor, typename DomainTag>
- typename result_of::compile<Expr, State, Visitor, DomainTag>::type
- operator()(Expr const &expr, State const &state, Visitor &visitor, DomainTag) const
- {
- typedef compiler<typename tag_of<Expr>::type, DomainTag> compiler;
- return compiler::call(expr, state, visitor);
- }
- };
- }
-
- op::compile const compile = {};
-
-}} // namespace boost::proto
-
-#endif

Deleted: trunk/boost/xpressive/proto/transform/conditional.hpp
==============================================================================
--- trunk/boost/xpressive/proto/transform/conditional.hpp 2007-08-01 11:22:14 EDT (Wed, 01 Aug 2007)
+++ (empty file)
@@ -1,36 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-/// \file conditional.hpp
-/// A special-purpose proto transform for selecting between two transforms
-/// based on a compile-time predicate.
-//
-// Copyright 2004 Eric Niebler. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_PROTO_TRANSFORM_CONDITIONAL_HPP_EAN_04_02_2007
-#define BOOST_PROTO_TRANSFORM_CONDITIONAL_HPP_EAN_04_02_2007
-
-#include <boost/xpressive/proto/detail/prefix.hpp>
-#include <boost/xpressive/proto/proto_fwd.hpp>
-#include <boost/xpressive/proto/detail/suffix.hpp>
-
-namespace boost { namespace proto { namespace transform
-{
-
- template<typename Predicate, typename Grammar0, typename Grammar1>
- struct conditional
- : proto::or_<
- proto::and_<
- proto::if_<Predicate>
- , Grammar0
- >
- , proto::and_<
- proto::not_<proto::if_<Predicate> >
- , Grammar1
- >
- >
- {};
-
-}}}
-
-#endif

Deleted: trunk/boost/xpressive/proto/transform/fold_to_list.hpp
==============================================================================
--- trunk/boost/xpressive/proto/transform/fold_to_list.hpp 2007-08-01 11:22:14 EDT (Wed, 01 Aug 2007)
+++ (empty file)
@@ -1,116 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-/// \file fold_to_list.hpp
-/// A higher-level transform that uses the fold, branch and list transforms
-/// to fold a binary tree into a fusion cons-list.
-//
-// Copyright 2004 Eric Niebler. Distributed under the Boost
-// Software License, Version 1.0. (See accompanying file
-// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#ifndef BOOST_PROTO_TRANSFORM_FOLD_TO_LIST_HPP_EAN_12_17_2006
-#define BOOST_PROTO_TRANSFORM_FOLD_TO_LIST_HPP_EAN_12_17_2006
-
-#include <boost/xpressive/proto/detail/prefix.hpp>
-#include <boost/mpl/assert.hpp>
-#include <boost/type_traits/is_same.hpp>
-#include <boost/xpressive/proto/transform/fold.hpp>
-#include <boost/xpressive/proto/transform/list.hpp>
-#include <boost/xpressive/proto/transform/branch.hpp>
-#include <boost/xpressive/proto/detail/suffix.hpp>
-
-namespace boost { namespace proto { namespace transform
-{
-
- namespace detail
- {
- template<typename Tag, typename Grammar>
- struct fold_to_list_recurse
- : proto::or_<
- fold<
- binary_expr<
- Tag
- , fold_to_list_recurse<Tag, Grammar>
- , fold_to_list_recurse<Tag, Grammar>
- >
- >
- , list<Grammar>
- >
- {};
-
- template<typename Tag, typename Grammar>
- struct fold_to_list
- : branch<
- fold<
- binary_expr<
- Tag
- , fold_to_list_recurse<Tag, Grammar>
- , fold_to_list_recurse<Tag, Grammar>
- >
- >
- , fusion::nil
- >
- {};
-
- template<typename Tag, typename Grammar>
- struct reverse_fold_to_list_recurse
- : proto::or_<
- reverse_fold<
- binary_expr<
- Tag
- , reverse_fold_to_list_recurse<Tag, Grammar>
- , reverse_fold_to_list_recurse<Tag, Grammar>
- >
- >
- , list<Grammar>
- >
- {};
-
- template<typename Tag, typename Grammar>
- struct reverse_fold_to_list
- : branch<
- reverse_fold<
- binary_expr<
- Tag
- , reverse_fold_to_list_recurse<Tag, Grammar>
- , reverse_fold_to_list_recurse<Tag, Grammar>
- >
- >
- , fusion::nil
- >
- {};
-
- }
-
- template<typename Grammar>
- struct fold_to_list
- : detail::fold_to_list<
- typename Grammar::tag_type
- , typename Grammar::arg0_type
- >
- {
- BOOST_MPL_ASSERT((
- is_same<
- typename Grammar::arg0_type
- , typename Grammar::arg1_type
- >
- ));
- };
-
- template<typename Grammar>
- struct reverse_fold_to_list
- : detail::reverse_fold_to_list<
- typename Grammar::tag_type
- , typename Grammar::arg0_type
- >
- {
- BOOST_MPL_ASSERT((
- is_same<
- typename Grammar::arg0_type
- , typename Grammar::arg1_type
- >
- ));
- };
-
-}}}
-
-#endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk