Received: from mail-yb1-f183.google.com ([209.85.219.183]:55864) by stodi.digitalkingdom.org with esmtps (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jNHEp-0002Fy-Qu for lojban-list-archive@lojban.org; Sat, 11 Apr 2020 07:36:05 -0700 Received: by mail-yb1-f183.google.com with SMTP id 84sf6176526ybz.22 for ; Sat, 11 Apr 2020 07:36:03 -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=Nws/vHARxhO28BMPGYUqg7ci7xk6HttuM8lzmnkh4lI=; b=Kvsey/Vm5cOE7QJWGqQO5a4pxu7dztI6iAfwogg+MBd56clzCB2lilYjrRErWmI9ie MTXpmZyAosmbAF17sbGOMzpXnJ8cDEFnrnD2NUGfa/EG98noQcQGxC19/PGrYBKp90mW X48RFlIULQGGrcXL8AYeIEJAIsuKbOWHHM/JEvzD7eXLiBWfhHXgUxyqNCuQg1qC6VSv QQ+Zddq3Vqe+S5zOdJedflhiMH1jQEts6Ghjx/p41efk4AfLs+PJ4ePjP3BoDm2/EzS3 3lIzjmdOolrRGUh2uzAoyi/hecnpFXj3ivkj3dw18NurGJsOSx0d5wwOVqvRkREsXPUa M2xg== 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=Nws/vHARxhO28BMPGYUqg7ci7xk6HttuM8lzmnkh4lI=; b=laR4qCVqhLmv1cnQiVk6QW9XoU6SWdu/xOQi/FDy6sVxmBz6IW/+RZv/7ucQX4n4m2 MjT7GSag4URnPGQ0Cr1y02kaI05thSzqkx0wFleTMHjFPCCfUrThpB57MIt23r1OnXk/ a/mS2M4NNKwEPnhkFfJ9zK8yZ0xZSONnJ056Jh7bhc45EEvstOosfF/TXwpQTn1RDCoO osUfcV8LMI4KFQBy8XD8vJw1t0BwF5Rw+vf8p+F89WLMMnTtBQqQLS4Q5vUaBphFq6X8 HkCgAumtXNp2bD8C9Uff2vcIi91Ea4Pkz41akIZAon2rYvWMHF5f1OPCBTK3g9VpPTQE WXyQ== 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=Nws/vHARxhO28BMPGYUqg7ci7xk6HttuM8lzmnkh4lI=; b=BEiD3ikgHrsfyO+3HkE4Ut+EfO3hmtKpg2RnRddY045WFBDj3Jo2x0s5diBDVrmMhD i5XilPgfOT7pN6PgqEZrkgJ/wpHI4gqYJKj1zLY8lKWnWLhFt9Bx0264ArTAx+ApzP8f aDDtQRlmBuab9HytmoSEjXUKgDaeVdoFnxhSymUnYjoIn4GfI4osgbuneiZunAKTOZp7 IOAWGF50J13AD7xZKvGXaVewTuMWkEmv01at8XEtsn21DwNSj9J+gJYHfMxTNyNCUoWd LZXw0+Uxw641SrMkWa7RFlt7SXXRwF6Umq1eqgTqKgZE93L20gbub3co55KEiMROYZe1 +mVw== Sender: lojban@googlegroups.com X-Gm-Message-State: AGi0PuaPxBDddKPDiZfbf0V+8vIvmICziC1zTU+tizIe9zC1963kptSQ bt18pg3OaI+BrsSdfyvTEfc= X-Google-Smtp-Source: APiQypLPOexuJnHtuDrumv0rrt6ysWyS6Yy18UNE0S6kJAZPMisq1RtT7+9S7FPduMiK34WicCKYPg== X-Received: by 2002:a25:c6c3:: with SMTP id k186mr15398133ybf.339.1586615757302; Sat, 11 Apr 2020 07:35:57 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 2002:a25:15c9:: with SMTP id 192ls6609067ybv.6.gmail; Sat, 11 Apr 2020 07:35:56 -0700 (PDT) X-Received: by 2002:a25:d7d3:: with SMTP id o202mr14319647ybg.443.1586615756458; Sat, 11 Apr 2020 07:35:56 -0700 (PDT) Date: Sat, 11 Apr 2020 07:35:55 -0700 (PDT) From: Gleki Arxokuna To: lojban Message-Id: <33fb11ad-6aa7-47be-adc5-049d9f6670a9@googlegroups.com> In-Reply-To: <86k12m7ohg.fsf@cmarib.ramside> References: <86zhbyh1om.fsf@cmarib.ramside> <54430312-17f8-bbcc-eb95-c6f3aedfc046@gmail.com> <868sjeoga3.fsf@cmarib.ramside> <86k12m7ohg.fsf@cmarib.ramside> Subject: [lojban] Re: Where is the latest/official PEG grammar? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_96_728474244.1586615755899" 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_96_728474244.1586615755899 Content-Type: multipart/alternative; boundary="----=_Part_97_872548412.1586615755899" ------=_Part_97_872548412.1586615755899 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em s=C3=A1bado, 11 de abril de 2020 06:22:41 UTC+3,=20 scope845hlang343jbo@icebubble.org escreveu: > > Bob LeChevalier writes:=20 > > > I don't know why those names are used in any particular PEG=20 > > grammar.=20 > > ...=20 > > > For the tag "anaphoracataphora, I suspect that is not a "bug" because= =20 > > anaphora and cataphora are identical in term of grammar so it is=20 > > merely a naming convention whether to include some separator between=20 > > the two words or not. I don't know what construct "openclosed" refers= =20 > > to, but likely it also is a conflation of two types of constructs with= =20 > > the same grammar.=20 > > No, these are not the names of non-terminals in the PEG, they appear in= =20 > the text of comments in the PEG. They should read "anaphora/cataphora",= =20 > "open/closed", etc. It's as if someone did a global=20 > s|([a-zA-Z])/([a-zA-Z])|\1\2| search and replace on the grammar. The=20 > fact that nobody seems to have noticed these errors strongly suggests=20 > that these PEG versions of the grammar have not been given sufficient=20 > attention. (doi camxes)=20 > > > The latest *official* grammar remains the YACC grammar included in The= =20 > > Complete Lojban Language since its publication in 1997. There have=20 > > been attempts to redevelop the grammar in a PEG form, but NONE of the= =20 > > PEG grammars has been certified by byfy (or its new successor group)=20 > > as an official replacement for that old one,=20 > > What are we waiting for?=20 PEG has its own deficiencies. =20 > Lojban has been around since 1985 bi'o 1987,=20 > yet we still don't have a complete grammar or a correct parser. The=20 > YACC has received official blessing, but it's not complete. Handling of= =20 > elidable terminators is hand-hacked into the code. The lexer is also=20 > hand-coded, and implements only a good approximation to Lojban=20 > morphology. So far, we have neither a complete specification of the=20 > language, nor a fully correct parser.=20 > > True. PEG won't put us forward significantly. =20 > > My understanding is that they are more-or-less equivalent to the old=20 > > YACC grammar, but I don't know that this equivalence was ever formally= =20 > > proven.=20 > > Maybe that's what we're waiting for? A proof that the PEG grammar is=20 > backward-compatible with the YACC? =20 Its not backward compatible by definition. =20 > =20 =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. Transformation doesn't necessarily imply equivalence. =20 > > > For reference, that thesis paper is: http://bford.info/pub/lang/peg.pdf= =20 > --=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/33fb11ad-6aa7-47be-adc5-049d9f6670a9%40googlegroups.com. ------=_Part_97_872548412.1586615755899 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Em s=C3=A1bado, 11 de abril de 2020 06:22:41 UTC+3= , scope845hlang343jbo@icebubble.org escreveu:
Bob LeChevalier <lojbab@lojban.org> writes:

> I don't know why those names are used in any particular PEG
> grammar.

...

> For the tag "anaphoracataphora, I suspect that is not a "= ;bug" because
> anaphora and cataphora are identical in term of grammar so it is
> merely a naming convention whether to include some separator betwe= en
> the two words or not. =C2=A0I don't know what construct "= openclosed" refers
> to, but likely it also is a conflation of two types of constructs = with
> the same grammar.

No, these are not the names of non-terminals in the PEG, they appear in
the text of comments in the PEG. =C2=A0They should read "anaphora/= cataphora",
"open/closed", etc. =C2=A0It's as if someone did a global
s|([a-zA-Z])/([a-zA-Z])|\1\2| search and replace on the grammar. =C2=A0= The
fact that nobody seems to have noticed these errors strongly suggests
that these PEG versions of the grammar have not been given sufficient
attention. =C2=A0(doi camxes)

> The latest *official* grammar remains the YACC grammar included in= The
> Complete Lojban Language since its publication in 1997. There have
> been attempts to redevelop the grammar in a PEG form, but NONE of = the
> PEG grammars has been certified by byfy (or its new successor grou= p)
> as an official replacement for that old one,

What are we waiting for?

PEG has its o= wn deficiencies.
=C2=A0
=C2=A0Lojban has been around since 1985 bi'o 1987,
yet we still don't have a complete grammar or a correct parser. =C2= =A0The
YACC has received official blessing, but it's not complete. =C2=A0H= andling of
elidable terminators is hand-hacked into the code. =C2=A0The lexer is a= lso
hand-coded, and implements only a good approximation to Lojban
morphology. =C2=A0So far, we have neither a complete specification of t= he
language, nor a fully correct parser.


True. PEG won't put us forward sig= nificantly.
=C2=A0
> My understanding is that they are more-or-less equivalent to the= old
> YACC grammar, but I don't know that this equivalence was ever = formally
> proven.

Maybe that's what we're waiting for? =C2=A0A proof that the PEG= grammar is
backward-compatible with the YACC?=C2=A0

Its not backward compatible by definition.
=C2=A0
=C2=A0
=C2=A0
<= blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bord= er-left: 1px #ccc solid;padding-left: 1ex;">IfIf so, the second half of Bry= an
Ford's thesis paper on PEGs describes how to transform parsing
expressions into other forms which could be compared with the YACC.

Transformation doesn't necessarily imply e= quivalence.
=C2=A0


For reference, that thesis paper is: http://bfo= rd.info/pub/lang/peg.pdf

--
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/33fb11ad-6aa7-47be-adc5-049d9f6670a9%40googlegroups.com.
------=_Part_97_872548412.1586615755899-- ------=_Part_96_728474244.1586615755899--