Received: from mail-wi0-f187.google.com ([209.85.212.187]:34643) by stodi.digitalkingdom.org with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.80.1) (envelope-from ) id 1Yde3U-0004WE-No; Thu, 02 Apr 2015 05:17:08 -0700 Received: by wivr20 with SMTP id r20sf28947453wiv.1; Thu, 02 Apr 2015 05:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe; bh=mrWuBcZAPUmP4VxDqxCwH6Cs0H/3R1QGzLA2kdehdiQ=; b=HpXb5cDtUBxu9BRoTbn6Awn/xxhm2yNy243iP8BZvll7m/LlwHjMpiQuc+/KCLqz9j ER9c7yTubSwtB5ef6HGUETDYNYYX6jpJF+76CpQYwvWzc7U7zsZpEmB7Vk8k8l5sDfQ9 gwsDJpG2FjwYdrNsAT1NzOKkwjMEKIE5Xiaz4nKLtfik+jKR1uu8iLwBnv3sIjv/t38o VX0xvE6houPudJuKos62OWjUXIW13CMXgK53zEoA2RJVMx41BBRmVK2jscCgv5oK3H7/ dDNsTBDq6Ejj+novsfo0o7X+Zf9FyBruZ2Uq/2PmzB6fuvcnJtykDO+RZzl5+hPU8/1g AiyA== X-Received: by 10.180.221.107 with SMTP id qd11mr132277wic.9.1427977017795; Thu, 02 Apr 2015 05:16:57 -0700 (PDT) X-BeenThere: bpfk-list@googlegroups.com Received: by 10.180.88.98 with SMTP id bf2ls350471wib.30.gmail; Thu, 02 Apr 2015 05:16:57 -0700 (PDT) X-Received: by 10.194.221.65 with SMTP id qc1mr12164527wjc.7.1427977017503; Thu, 02 Apr 2015 05:16:57 -0700 (PDT) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com. [2a00:1450:400c:c00::22e]) by gmr-mx.google.com with ESMTPS id g5si196011wix.1.2015.04.02.05.16.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2015 05:16:57 -0700 (PDT) Received-SPF: pass (google.com: domain of gleki.is.my.name@gmail.com designates 2a00:1450:400c:c00::22e as permitted sender) client-ip=2a00:1450:400c:c00::22e; Received: by mail-wg0-x22e.google.com with SMTP id e14so82821676wgo.0 for ; Thu, 02 Apr 2015 05:16:57 -0700 (PDT) X-Received: by 10.180.81.104 with SMTP id z8mr24221509wix.23.1427977017415; Thu, 02 Apr 2015 05:16:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.240.197 with HTTP; Thu, 2 Apr 2015 05:16:37 -0700 (PDT) In-Reply-To: References: From: Gleki Arxokuna Date: Thu, 2 Apr 2015 15:16:37 +0300 Message-ID: Subject: Re: [bpfk] Improvements to fragments in ilmentufa parser To: bpfk-list@googlegroups.com Content-Type: multipart/alternative; boundary=f46d04426b64dede4d0512bccee2 X-Original-Sender: gleki.is.my.name@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gleki.is.my.name@gmail.com designates 2a00:1450:400c:c00::22e as permitted sender) smtp.mail=gleki.is.my.name@gmail.com; dkim=pass header.i=@gmail.com; dmarc=pass (p=NONE dis=NONE) header.from=gmail.com Reply-To: bpfk-list@googlegroups.com Precedence: list Mailing-list: list bpfk-list@googlegroups.com; contact bpfk-list+owners@googlegroups.com List-ID: X-Google-Group-Id: 972099695765 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -1.7 (-) X-Spam_score: -1.7 X-Spam_score_int: -16 X-Spam_bar: - --f46d04426b64dede4d0512bccee2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Okay, I implemented them here: http://vrici.lojban.org/~gleki/mediawiki-1.19.2/extensions/ilmentufa/ircbot= /naxle.html The grammar is still here in this "ugly" javascript format but I have no problems adding your suggestions there: https://github.com/Ilmen-vodhr/ilmentufa/blob/master/camxes-exp.js.peg You may safely continue using original peg format since as I can assume you can test it as well. 2015-04-02 14:58 GMT+03:00 Jorge Llamb=C3=ADas : > > > On Wed, Apr 1, 2015 at 8:22 PM, Jorge Llamb=C3=ADas > wrote: >> >> You should reverse the order of fragment and statement to (fragment / st= atement), so that fragment is tested first, but also remove from fragment a= ll the fragments that are now proper statements. So I think you'd only be l= eft with: >> >> fragment <- ek free* / quantifier / relative-clauses / links / linkarg= s >> >> > Or maybe: > > fragment <- ek free* / !term !tag quantifier / relative-clauses / links > / linkargs > > otherwise the "pa" in "pa ko'a" and "pa roi" would be absorbed as a > fragment. > > mu'o mi'e xorxes > > -- > You received this message because you are subscribed to the Google Groups > "BPFK" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to bpfk-list+unsubscribe@googlegroups.com. > To post to this group, send email to bpfk-list@googlegroups.com. > Visit this group at http://groups.google.com/group/bpfk-list. > For more options, visit https://groups.google.com/d/optout. > --=20 You received this message because you are subscribed to the Google Groups "= BPFK" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bpfk-list+unsubscribe@googlegroups.com. To post to this group, send email to bpfk-list@googlegroups.com. Visit this group at http://groups.google.com/group/bpfk-list. For more options, visit https://groups.google.com/d/optout. --f46d04426b64dede4d0512bccee2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Okay, I implemented them here:

The grammar is still here in = this "ugly" javascript format but I have no problems adding your = suggestions there:=C2=A0https://github.com/Ilmen-vodhr/ilmentufa/bl= ob/master/camxes-exp.js.peg

You may safely con= tinue using original peg format since as I can assume you can test it as we= ll.


2015-04-02 14:58 GMT+03:00 Jorge Llamb=C3=ADas <jjllambias= @gmail.com>:


On Wed, Apr 1, 2015 at 8:22 PM, Jorge Llamb=C3=ADas <jjllambias@= gmail.com> wrote:
You should reverse the order of fragment and statement to (frag=
ment / statement), so that fragment is tested first, but also remove from f=
ragment all the fragments that are now proper statements. So I think you=
9;d only be left with:
  fragment <=
- ek free* / quantifier / relative-clauses / links / linkargs
<= /pre>

Or maybe:

=C2=A0=C2=A0fragment <- ek free= * / !term !tag quantifier / relative-clauses / links / linkargs

otherwise t= he "pa" in "pa ko'a" and "pa roi" would b= e absorbed as a fragment.

mu'o mi'e xorxes<= /div>

--
You received this message because you are subscribed to the Google Groups &= quot;BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bpfk-list+unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at http://groups.google.com/group/bpfk-list.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;BPFK" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bpfk-list= +unsubscribe@googlegroups.com.
To post to this group, send email to bpfk-list@googlegroups.com.
Visit this group at ht= tp://groups.google.com/group/bpfk-list.
For more options, visit http= s://groups.google.com/d/optout.
--f46d04426b64dede4d0512bccee2--