Re: Proposal for qi::seek[] directive, next step?

TONGARI <[email protected]> Mon, 3 Oct 2011 22:54:49 +0800
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <CANCwVhforDT_K5FURDr2Uvvhr0bSTJ=DhV1RUqdSEgLmkEqr7Q@mail.gmail.com>
--===============3938250980523611707==
Content-Type: multipart/alternative; boundary=bcaec519638f19a28004ae662861

--bcaec519638f19a28004ae662861
Content-Type: text/plain; charset=ISO-8859-1

2011/10/3 Joel de Guzman <[email protected]>

> On 10/3/2011 2:31 PM, TONGARI wrote:
> > 2011/9/29 TONGARI <[email protected] <mailto:[email protected]>>
> >
> >     Hi,
> >
> >     In the thread:
> >
> http://boost.2283326.n4.nabble.com/Proposal-for-qi-seek-directive-td3830251.html
> >
> >     I've proposed this directive, and I'd like to know your opinions.
> >     Though Thomas Bernard had provided another interesting idea, I'm not
> proposing that ATM.
> >
> >     If you consider to accept this component, please let me know and tell
> me the next step
> >     to take (e.g. submission).
> >
> >
> > Anybody there? Joel?  Hartmut?
> > I can't move on without your help...
>
> Ooops, sorry. I missed your post. TBH, I wasn't able to follow the
> thread. A very basic question that pops in my mind is: can't this
> be done without the directive?
>

As I had said, "seek[a]" is semantically equal to "omit[*(char_ - a)] >> a",
but I believed it's more efficient (I don't have numbers though), or at
least, it's sweet ;-)

In fact, the idea originated from a thread in Spirit-user ML, in which the
author said he'd been using the pattern "omit[*(char_ - a)] >> a" for this
matter and was looking for a better way.

seek[] is my solution to the problem, which is very generic, clear, and easy
to use IMO.

As the implementator, I'd hope it to become part of Spirit.
Please let me know your opinion so I can take the next step accordingly.

Thanks for your attention.

--bcaec519638f19a28004ae662861
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">2011/10/3 Joel de Guzman <span dir=3D"ltr">&lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&g=
t;</span><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex;">
On 10/3/2011 2:31 PM, TONGARI wrote:<br>
&gt; 2011/9/29 TONGARI &lt;<a href=3D"mailto:[email protected]">tongari95=
@gmail.com</a> &lt;mailto:<a href=3D"mailto:[email protected]">tongari95@=
gmail.com</a>&gt;&gt;<br>
<div><div></div><div class=3D"h5">&gt;<br>
&gt; =A0 =A0 Hi,<br>
&gt;<br>
&gt; =A0 =A0 In the thread:<br>
&gt; =A0 =A0 <a href=3D"http://boost.2283326.n4.nabble.com/Proposal-for-qi-=
seek-directive-td3830251.html" target=3D"_blank">http://boost.2283326.n4.na=
bble.com/Proposal-for-qi-seek-directive-td3830251.html</a><br>
&gt;<br>
&gt; =A0 =A0 I&#39;ve proposed this directive, and I&#39;d like to know you=
r opinions.<br>
&gt; =A0 =A0 Though Thomas Bernard had provided another interesting idea, I=
&#39;m not proposing that ATM.<br>
&gt;<br>
&gt; =A0 =A0 If you consider to accept this component, please let me know a=
nd tell me the next step<br>
&gt; =A0 =A0 to take (e.g. submission).<br>
&gt;<br>
&gt;<br>
&gt; Anybody there? Joel? =A0Hartmut?<br>
&gt; I can&#39;t move on without your help...<br>
<br>
</div></div>Ooops, sorry. I missed your post. TBH, I wasn&#39;t able to fol=
low the<br>
thread. A very basic question that pops in my mind is: can&#39;t this<br>
be done without the directive?<br></blockquote><div><br></div><div>As I had=
 said, &quot;seek[a]&quot; is semantically equal to &quot;omit[*(char_ - a)=
] &gt;&gt; a&quot;, but I believed it&#39;s more efficient (I don&#39;t hav=
e numbers though), or at least, it&#39;s sweet ;-)</div>
<div><br></div><div>In fact, the idea originated from a thread in Spirit-us=
er ML, in which the author said he&#39;d been using the pattern &quot;omit[=
*(char_ - a)] &gt;&gt; a&quot; for this matter and was looking for a better=
 way.</div>
<div><br></div><div>seek[] is my solution to the problem, which is very gen=
eric, clear, and easy to use IMO.</div><div><br></div><div>As the implement=
ator, I&#39;d hope it to become part of=A0Spirit.</div><div>Please let me k=
now your opinion so I can take the next step accordingly.</div>
<div><br></div><div>Thanks for your attention.</div><div><br></div></div>

--bcaec519638f19a28004ae662861--


--===============3938250980523611707==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
--===============3938250980523611707==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Spirit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spirit-devel

--===============3938250980523611707==--