Received: from mail-yb1-f191.google.com ([209.85.219.191]:47933) by stodi.digitalkingdom.org with esmtps (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jONwk-0005hL-1E for lojban-list-archive@lojban.org; Tue, 14 Apr 2020 08:58:03 -0700 Received: by mail-yb1-f191.google.com with SMTP id o132sf8482249ybc.14 for ; Tue, 14 Apr 2020 08:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=I+2IksJ5HKFveONRjhy64Tu9Fhe/4OgOIXhbeeig0BM=; b=FKw4ziCSDwy085zqShr3eNhMSp/Q93jPCg6oljec48GS6kA8QyqJe3uaZjuDHhBTmx YQjJtMV61wiubKqBHyxkoLm2TkZt6arWrbxlUO6UmyOGl3XnFHTFLvtZdYffRFOWrfl6 kJlas6jsg5+hMqOmros5bDQcyP+EETdHHwlOAdW7YAJ00nlH6BFsWZDn2/62qi6VtWK8 UsSBnZnke01lUAtLPG+ozsYhIhMXnH5pSMGSpFEOPSfI+oW3OsQyac0cr97G44QGOFNI 7cWFhdRqwEMUOFDBqnNnynaAxbL9PKq3qY+NafGL3gWGDJJj6j4SKsfTN6So2LMEBZxV b4lA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=I+2IksJ5HKFveONRjhy64Tu9Fhe/4OgOIXhbeeig0BM=; b=ClCaltVhWZ9NSBh+deXgHWJbpIKwRsLn17HS9P0Fp72wz/7lVN2o0R3K/UHCFF1B0v xkBKBDWlIAhSnZRZlhe0JuXIU00mR5C0YhfX5SEVFz20tWFUub09Fsu8rVzMDVEmBFEV mbVh6uJyFLdJlrvUqOhg+ab1KLbuW+ORPutFlN+rSaN7y1BimId+bYcHO75Lrq1yvUA3 6+QM0BGsWe1Gbb1AJ3vIiW+zfZw3XRaAM5mh7X9b+g90qm+/QjrPGwI07FdvVohSQBeu xxzxn+ChRxVkjG9BaC7OWbFY9VonzJH4jzootv9PEFsKMSq9TVHKnUtOihrFghtEuIjm rwPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=I+2IksJ5HKFveONRjhy64Tu9Fhe/4OgOIXhbeeig0BM=; b=ZkwahAK2/uePj7ZBKNaPKch+7IUnWAdUOZFnZuxdlQKBQEC2YWgPJ2osLvbVz7PVGr EfAO0MC4CqUQNod8ajXs/TY/bye8uKKcd1cltn3ngl/QEfRPMUvMJHpgbmjU1sDaKXLE 65AabkzpG0LqRIxXyx8Gh6D0tc5MWNCpZBpSurNbYjWE94E9ZjbAtP2RtssJU/+DFzJv +EpblFhtMpqxJRgf4Pl1xOe9umNEQYMBewOeMdSGs6tyo/Z8RCIzGn1GcGcOdNT7MemZ 1z0lEHyIqZfysVkVNuVu/XQ3yufr6zuBhs6Atlhm/6mrDJa/jpQmoSbmW6o8/y4EBajz 9UvQ== Sender: lojban@googlegroups.com X-Gm-Message-State: AGi0PubHxbURn887zvGDsJR9j6kGRm+o16kOkul3FOTq3x76Bu9aWYTX I8WbomRfuE20jW9zvkWXQLk= X-Google-Smtp-Source: APiQypIfVKKeE3KaisCecaSSTgrzKzlugqT1/nyPAz7n9MlxTBW2Wh4a5pATK54gp+VSWPwhKai4Iw== X-Received: by 2002:a25:2c4a:: with SMTP id s71mr1175647ybs.336.1586879871802; Tue, 14 Apr 2020 08:57:51 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 2002:a25:ac26:: with SMTP id w38ls1500213ybi.11.gmail; Tue, 14 Apr 2020 08:57:51 -0700 (PDT) X-Received: by 2002:a25:6d88:: with SMTP id i130mr1013551ybc.79.1586879870949; Tue, 14 Apr 2020 08:57:50 -0700 (PDT) Date: Tue, 14 Apr 2020 08:57:50 -0700 (PDT) From: Gleki Arxokuna To: lojban Message-Id: <331e6b40-73bc-4597-bccd-2e7b1028cba7@googlegroups.com> In-Reply-To: <86o8rvbdd1.fsf@cmarib.ramside> References: <86zhbyh1om.fsf@cmarib.ramside> <54430312-17f8-bbcc-eb95-c6f3aedfc046@gmail.com> <868sjeoga3.fsf@cmarib.ramside> <86k12m7ohg.fsf@cmarib.ramside> <33fb11ad-6aa7-47be-adc5-049d9f6670a9@googlegroups.com> <86o8rvbdd1.fsf@cmarib.ramside> Subject: [lojban] Re: Where is the latest/official PEG grammar? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_514_475668755.1586879870462" X-Original-Sender: gleki.is.my.name@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: lojban@googlegroups.com X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -2.6 (--) X-Spam_score: -2.6 X-Spam_score_int: -25 X-Spam_bar: -- ------=_Part_514_475668755.1586879870462 Content-Type: multipart/alternative; boundary="----=_Part_515_1787683458.1586879870462" ------=_Part_515_1787683458.1586879870462 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em ter=C3=A7a-feira, 14 de abril de 2020 18:34:47 UTC+3,=20 scope845hlang343jbo@icebubble.org escreveu: > > Gleki Arxokuna writes:=20 > > > PEG has its own deficiencies.=20 > > What deficiencies?=20 > > > True. PEG won't put us forward significantly.=20 > > Why wouldn't it? Having a complete specification of the language seems= =20 > like it would be a HUGE step forward, to me. From PEG, it would be but= =20 > a short distance to having a working, fully-correct parser.=20 > > >> Maybe that's what we're waiting for? A proof that the PEG grammar is= =20 > >> backward-compatible with the YACC? =20 > >=20 > >=20 > > Its not backward compatible by definition.=20 > > It would have to be. Otherwise, currently (and historically)=20 > grammatical Lojban wouldn't be grammatical under the new (PEG=20 > specification of the) grammar. Am I wrong?=20 > > >> IfIf so, the second half of Bryan=20 > >> Ford's thesis paper on PEGs describes how to transform parsing=20 > >> expressions into other forms which could be compared with the YACC.=20 > >=20 > >=20 > > Transformation doesn't necessarily imply equivalence.=20 > > No, but it would render the PEG in a form which could be *compared* to=20 > the YACC. If you cut-out the morphology rules, You need to cut out much more. Compare how many lines the BNF grammar has.= =20 One can learn it by heart. Now compare to camxes grammars.=20 > and allow for changes=20 > for handling elidable terminators and metalinguistic erasers, the=20 > remainder (the bulk) of the grammar should be formally equivalent to the= =20 > current YACC grammar.300. That would prove that the YACC and PEG parse= =20 > essentially the same language. Given such a proof, is there any reason= =20 > why such a PEG would NOT be accepted as the new baseline grammar?=20 > Because PEG formalism doesn't allow checking for ambiguities. E.g. PEG is= =20 unambiguous even if you add to it rules and subrules that would never=20 match.=20 But seriously PEG/CFG are not powerful enough even by BPFK standards (see= =20 BPFK pages in the wiki) --=20 You received this message because you are subscribed to the Google Groups "= lojban" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= lojban/331e6b40-73bc-4597-bccd-2e7b1028cba7%40googlegroups.com. ------=_Part_515_1787683458.1586879870462 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Em ter=C3=A7a-feira, 14 de abril de 2020 18:34:47 = UTC+3, scope845hlang343jbo@icebubble.org escreveu:
Gleki Arxokuna <gleki.is.my.n= ame@gmail.com> writes:

> PEG has its own deficiencies.

What deficiencies?

> True. PEG won't put us forward significantly.

Why wouldn't it? =C2=A0Having a complete specification of the langu= age seems
like it would be a HUGE step forward, to me. =C2=A0From PEG, it would b= e but
a short distance to having a working, fully-correct parser.

>> Maybe that's what we're waiting for? =C2=A0A proof tha= t the PEG grammar is=20
>> backward-compatible with the YACC? =C2=A0
>
>
> Its not backward compatible by definition.

It would have to be. =C2=A0Otherwise, currently (and historically)
grammatical Lojban wouldn't be grammatical under the new (PEG
specification of the) grammar. =C2=A0Am I wrong?

>> IfIf so, the second half of Bryan=20
>> Ford's thesis paper on PEGs describes how to transform par= sing=20
>> expressions into other forms which could be compared with the = YACC.
>
>
> Transformation doesn't necessarily imply equivalence.

No, but it would render the PEG in a form which could be *compared* to
the YACC. =C2=A0If you cut-out the morphology rules,
<= br>
You need to cut out much more. Compare how many lines the BNF= grammar has. One can learn it by heart. Now compare to camxes grammars.=C2= =A0
and allow for change= s
for handling elidable terminators and metalinguistic erasers, the
remainder (the bulk) of the grammar should be formally equivalent to th= e
current YACC grammar.300. =C2=A0That would prove that the YACC and PEG = parse
essentially the same language. =C2=A0Given such a proof, is there any r= eason
why such a PEG would NOT be accepted as the new baseline grammar?

Because PEG formalism doesn't allo= w checking for ambiguities. E.g. PEG is unambiguous even if you add to it r= ules and subrules that would never match.=C2=A0

Bu= t seriously PEG/CFG are not powerful enough even by BPFK standards (see BPF= K pages in the wiki)

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsub= scribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lo= jban/331e6b40-73bc-4597-bccd-2e7b1028cba7%40googlegroups.com.
------=_Part_515_1787683458.1586879870462-- ------=_Part_514_475668755.1586879870462--