Received: from mail-yb1-f185.google.com ([209.85.219.185]:37650) by stodi.digitalkingdom.org with esmtps (TLSv1.3:TLS_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jSFJx-00034Y-1e for lojban-list-archive@lojban.org; Sat, 25 Apr 2020 00:33:55 -0700 Received: by mail-yb1-f185.google.com with SMTP id g17sf13493801ybk.4 for ; Sat, 25 Apr 2020 00:33:52 -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=tKNvvHllF/2acfNg+kzD05ce1gvMXOT2XhWEKpjLwpA=; b=WjPLbrrP9lXUEWrJxYc9nihohzIUbYOTVhO5E0U10rfwb5CV25bxd95UoRvkld/Kwh QoxyKj+e8/Z4QRboHFD99Z2YbtVjouDD4e1osoikET2xAhWLkVyExCtjYIEYw47XQGB6 oycr4PMEwYjBb0SOWQ2lgMyGhkU55O3hxgV3x3S+LFt2iSg9166awc6jvrqKaR2TUg8O d6oo9dgzv3XcH+cOgBjz+fOPh4t0gOlSCHRijLMnxLapLeuDScF5J6HU0roii90pQZfg uEqXhgGkDlW4x57TFNl7w/oC5ZUbl67CYqlkXrTsoBMQ8ihX9ch4TfiewcKj54lusE+5 Hvjg== 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=tKNvvHllF/2acfNg+kzD05ce1gvMXOT2XhWEKpjLwpA=; b=Jr5Q+zZsWqQ8ToMUsoLGf7H5YB3ULXzs9WsaINmniiBMwJu5962VHI/JTMxYyi3TMS TmUhGkhRhwLuRAqZTe7pIKhFUraPL9w4rLLjQrKCtJ4jYrwElrYXnl6Io6SqsbgArlIP s3vHuwKpAz9UUd+ZI4/MhhNYsEqLKdjjdc4Ue5rHe2wHCPJQ9TVz/otDXLU2JINvafpx SaYXIhEeXS0878WS0Ut9b/MiWCYWhzELQbmYxGeT1zTEEHQCTfwPRrwgYInOthkBvubZ MYvHPHkHrSnKOaKe+G8OO6M134QNk/eo194yNYC1jjQ7PjsOvMu/t0obQZFBpvw1CKlW HFMA== 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=tKNvvHllF/2acfNg+kzD05ce1gvMXOT2XhWEKpjLwpA=; b=eehxSIcXCZlKCiIlUADu9FPf4fPk6545fWMQ0PU1WSWm88+pvPbvJ4PJPAj+I7ls1F +V3e9J06Q96+NqiN5kA65cMZzl2kS5RpyZ4CGnt20hKQOeBrIq1sSAuppq9UsfS6jUPB vvf0rBYKN48KatE+w04vUWnKVka9a8KdMjmXGg/8rNZfezaQuZn27ia1NGekge1kj7nb QkUyeuoHXtL3vsLoOQV2n4zxa/rS8S1Inaa7Q0dHnuaxuXX5/Mg5HHUuPIkvWs8cGcKj vJjDGyDlnCGvjhCdPPYo3zM3nXR99L6s/j4Jrfnncxx0kbcenlN6mPa1oDwU2xi4sM9U HjNA== Sender: lojban@googlegroups.com X-Gm-Message-State: AGi0Pua+7SEdEwAJqDv118ve0C7I3hJPqvcocxlDcKS8XOiaCjA/uMnD Zmsps5xF1CwlbyrF+0WIG5c= X-Google-Smtp-Source: APiQypKsNRAZml9vLe4/ZNkWbRcXXDjXM8dvmYkIy9lv6NvgcRcQifXKZObHwsRWWP+jDCwWpzzT7A== X-Received: by 2002:a25:6d04:: with SMTP id i4mr21652984ybc.347.1587800026547; Sat, 25 Apr 2020 00:33:46 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 2002:a5b:ec8:: with SMTP id a8ls314282ybs.4.gmail; Sat, 25 Apr 2020 00:33:46 -0700 (PDT) X-Received: by 2002:a5b:182:: with SMTP id r2mr20215043ybl.326.1587800025651; Sat, 25 Apr 2020 00:33:45 -0700 (PDT) Date: Sat, 25 Apr 2020 00:33:44 -0700 (PDT) From: Gleki Arxokuna To: lojban Message-Id: In-Reply-To: <86tv181vbz.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> <331e6b40-73bc-4597-bccd-2e7b1028cba7@googlegroups.com> <867dyikkxw.fsf@cmarib.ramside> <693d3c80-9001-0a4d-051a-dfee64f8a984@lojban.org> <86tv181vbz.fsf@cmarib.ramside> Subject: [lojban] Re: Where is the latest/official PEG grammar? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_924_1080428249.1587800024995" 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_924_1080428249.1587800024995 Content-Type: multipart/alternative; boundary="----=_Part_925_515807329.1587800024995" ------=_Part_925_515807329.1587800024995 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Em s=C3=A1bado, 25 de abril de 2020 02:11:28 UTC+3,=20 scope845hlang343jbo@icebubble.org escreveu: > > Bob LeChevalier writes:=20 > > > On 4/14/2020 1:59 PM, scope845hlang343jbo@icebubble.org wrote:=20 > >> Gleki Arxokuna writes:=20 > > >> None of what you have writen here makes any sense to me. What do you= =20 > >> mean?=20 > >=20 > > As I said in my other answer (which I seem to have been sending only=20 > > to you and not to the list, so I will continue that way), the official= =20 > > Hm. That reply of mine wasn't address to you, it was addressed to Gleki= =20 > Arxokuna .=20 > > >> yet we still don't have a complete grammar=20 > >=20 > > The official YACC grammar in CLL is considered complete.=20 > > I realize that the YACC is "considered" authoritative, but it is not=20 > complete. For starters, it requires a separate lexer. Neither the=20 > lexer nor parser are usable unless you're in an environment where you=20 > can run code written in C. And, if you do get them to run, the results= =20 > are not correct. Neither elidable terminators nor magic words are=20 > handled correctly, and there is no formal specification (just narrative= =20 > descriptions in the CLL) for how they should work. For example, I have= =20 > yet to see a parser which handles SA correctly.=20 > > > I don't understand any PEG grammar; it is gobbledygook to me.=20 > > PEG is fairly straightforward. You just have to learn the operators=20 > used in the parsing expressions, and their precedences.=20 > > > If a PEG formalization cannot be easily used by a real human being to= =20 > > learn and use the language, more easily than the official YACC=20 > > version, the PEG formalization is pretty much useless.=20 > > > But there is little real value in a PEG grammar that is merely=20 > > identical to the YACC specification, with no added functionality,=20 > > which is why provable equivalence isn't important enough to bother=20 > > with.=20 > > No, no, there would be HUGE value in it! A PEG formalization would be=20 > useful because (1) it would, finally, be a complete specification of=20 > Lojban orthography, morphology, and grammar; Lojban grammar can NOT be expressed via PEG. PEG is not powerful enough.=20 > (2) it would, finally,=20 > provide proof that Lojban is unambiguous; (3) it would be readily=20 > portable to any computing system, using any programming language; and=20 > (4) it would provide parse trees that could be used to implement a=20 > variety of useful tools for processing Lojban text.=20 > > Proving equivalence between the PEG and the YACC is vitally important=20 > because (A) there should be some way to be sure that PEG-based tools are= =20 > designed and implemented correctly; and (B) if a PEG formulation is ever= =20 > adopted as the official grammar, we would want to make sure it's fully=20 > compatible with the historical YACC version of the grammar.=20 > > > It might be nice to have a lexer/parser that can operate on based on=20 > > an official formal grammar but not at the expense of someone being=20 > > able to actually use the formal grammar to learn the language.=20 > > > I don't even like E-BNF, which many people apparently prefer to the=20 > > YACC grammar.=20 > > The E-BNF is quite readable, although the E-BNF in the CLL has MANY=20 > errors in it. I find the YACC almost completely unintelligible. I only= =20 > refer to the YACC when verifying or making corrections to the E-BNF.=20 > > > There have been attempts to formalize the morphpology as an algorithm,= =20 > > which my wife worked on with a couple other people.=20 > > Yes, I know. I remember talking with her about it at Logfest in 2006.=20 > Now 14 years later, I still haven't figured out what Lojban's morphology= =20 > rules are supposed to be. That's actually why I'm reading the PEG: to=20 > figure out Lojban's morphology rules.=20 > > > started playing with PEG grammars. Again, Nora's algorithm was "good= =20 > > enough" in that it completely specified the rules, even if it didn't=20 > > match any formalization scheme.=20 > > What we have isn't good enough, because it's an incomplete specification= =20 > of Lojban morphology. Aside from the PEG, there is no way to distiguish= =20 > fu'ivla from lujvo, for instance. There are a lot of constructs which=20 > could be classified either way, and the CLL doesn't provide enough rules= =20 > to disambiguate those cases.=20 > > > In the early oughts, we started trying to formalize the morphology in= =20 > > a fixed algorithm, NOT in any schema such as YACC or PEG or even BNF,= =20 > > and we reached a more or less satisfactory conclusion, though the=20 > > Where might this alogrithm be documented? (If you're referring to the=20 > lujvo-making alogrithm printed in the CLL, it's not complete.)=20 > > > But no one was ever satisfied with any particular formalization, and=20 > > it has never been a big priority.=20 > > I don't understand how formalizing the morphology CAN'T be an important= =20 > priority; it's essential to proving the unambiguity of the language.=20 > > > result was never officially approved because people were pursuing the= =20 > > PEG approach by then. Nora wrote a simplistic Turbo-Pascal program to= =20 > > verify that algorithm matched human understanding (which is the=20 > > Pascal code is not readily usable in modern computing environments, and= =20 > can't readily be translated into rules which ARE useful in modern=20 > software. Nor is it particularly readable, if one is trying to learn=20 > (decipher) the Lojban morphology rules.=20 > > > Who is waiting? There's probably no real market for anything more=20 > > sophisticated than we have now. And the approval of "dotside" would=20 > > Everyone, I think? That's why there's so much interest in PEG=20 > formalizations. What we have now is a collection of toys. What we want= =20 > is a collection of tools. So far, all of our "tools" are really just=20 > assorted collections of hacks: cobbled-together bits of software which=20 > implement approximations of Lojban, each implemented for/in its own very= =20 > specific computing environment.=20 > > BTW, thank for your post RE: Jeff Prothero.=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/b1628c0f-f40b-4f65-90b2-594dbfee1652%40googlegroups.com. ------=_Part_925_515807329.1587800024995 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


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

> On 4/14/2020 1:59 PM, s= cope845hlang343jbo@icebubble.org wrote:
>> Gleki Arxokuna <gleki.is.my.name@gmai= l.com> writes:

>> None of what you have writen here makes any sense to me. =C2= =A0What do you
>> mean?
>
> As I said in my other answer (which I seem to have been sending on= ly
> to you and not to the list, so I will continue that way), the offi= cial

Hm. =C2=A0That reply of mine wasn't address to you, it was addresse= d to Gleki
Arxokuna <gleki.is.my.name@gmail.com>.

>> yet we still don't have a complete grammar
>
> The official YACC grammar in CLL is considered complete.

I realize that the YACC is "considered" authoritative, but it= is not
complete. =C2=A0For starters, it requires a separate lexer. =C2=A0Neith= er the
lexer nor parser are usable unless you're in an environment where y= ou
can run code written in C. =C2=A0And, if you do get them to run, the re= sults
are not correct. =C2=A0Neither elidable terminators nor magic words are
handled correctly, and there is no formal specification (just narrative
descriptions in the CLL) for how they should work. =C2=A0For example, I= have
yet to see a parser which handles SA correctly.

> I don't understand any PEG grammar; it is gobbledygook to me.

PEG is fairly straightforward. =C2=A0You just have to learn the operato= rs
used in the parsing expressions, and their precedences.

> If a PEG formalization cannot be easily used by a real human being= to
> learn and use the language, more easily than the official YACC
> version, the PEG formalization is pretty much useless.

> But there is little real value in a PEG grammar that is merely
> identical to the YACC specification, with no added functionality,
> which is why provable equivalence isn't important enough to bo= ther
> with.

No, no, there would be HUGE value in it! =C2=A0A PEG formalization woul= d be
useful because (1) it would, finally, be a complete specification of
Lojban orthography, morphology, and grammar;

Lojban grammar can NOT be expressed via PEG. PEG is not powerful enou= gh.=C2=A0
(2) it would, = finally,
provide proof that Lojban is unambiguous; (3) it would be readily
portable to any computing system, using any programming language; and
(4) it would provide parse trees that could be used to implement a
variety of useful tools for processing Lojban text.

Proving equivalence between the PEG and the YACC is vitally important
because (A) there should be some way to be sure that PEG-based tools ar= e
designed and implemented correctly; and (B) if a PEG formulation is eve= r
adopted as the official grammar, we would want to make sure it's fu= lly
compatible with the historical YACC version of the grammar.

> It might be nice to have a lexer/parser that can operate on based = on
> an official formal grammar but not at the expense of someone being
> able to actually use the formal grammar to learn the language.

> I don't even like E-BNF, which many people apparently prefer t= o the
> YACC grammar.

The E-BNF is quite readable, although the E-BNF in the CLL has MANY
errors in it. =C2=A0I find the YACC almost completely unintelligible. = =C2=A0I only
refer to the YACC when verifying or making corrections to the E-BNF.

> There have been attempts to formalize the morphpology as an algori= thm,
> which my wife worked on with a couple other people.

Yes, I know. =C2=A0I remember talking with her about it at Logfest in 2= 006.
Now 14 years later, I still haven't figured out what Lojban's m= orphology
rules are supposed to be. =C2=A0That's actually why I'm reading= the PEG: to
figure out Lojban's morphology rules.

> started playing with PEG grammars. =C2=A0Again, Nora's algorit= hm was "good
> enough" in that it completely specified the rules, even if it= didn't
> match any formalization scheme.

What we have isn't good enough, because it's an incomplete spec= ification
of Lojban morphology. =C2=A0Aside from the PEG, there is no way to dist= iguish
fu'ivla from lujvo, for instance. =C2=A0There are a lot of construc= ts which
could be classified either way, and the CLL doesn't provide enough = rules
to disambiguate those cases.

> In the early oughts, we started trying to formalize the morphology= in
> a fixed algorithm, NOT in any schema such as YACC or PEG or even B= NF,
> and we reached a more or less satisfactory conclusion, though the

Where might this alogrithm be documented? =C2=A0(If you're referrin= g to the
lujvo-making alogrithm printed in the CLL, it's not complete.)

> But no one was ever satisfied with any particular formalization, a= nd
> it has never been a big priority.

I don't understand how formalizing the morphology CAN'T be an i= mportant
priority; it's essential to proving the unambiguity of the language= .

> result was never officially approved because people were pursuing = the
> PEG approach by then. =C2=A0Nora wrote a simplistic Turbo-Pascal p= rogram to
> verify that algorithm matched human understanding (which is the

Pascal code is not readily usable in modern computing environments, and
can't readily be translated into rules which ARE useful in modern
software. =C2=A0Nor is it particularly readable, if one is trying to le= arn
(decipher) the Lojban morphology rules.

> Who is waiting? =C2=A0There's probably no real market for anyt= hing more
> sophisticated than we have now. =C2=A0And the approval of "do= tside" would

Everyone, I think? =C2=A0That's why there's so much interest in= PEG
formalizations. =C2=A0What we have now is a collection of toys. =C2=A0W= hat we want
is a collection of tools. =C2=A0So far, all of our "tools" ar= e really just
assorted collections of hacks: cobbled-together bits of software which
implement approximations of Lojban, each implemented for/in its own ver= y
specific computing environment.

BTW, thank for your post RE: Jeff Prothero.

--
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/b1628c0f-f40b-4f65-90b2-594dbfee1652%40googlegroups.com.
------=_Part_925_515807329.1587800024995-- ------=_Part_924_1080428249.1587800024995--