[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lojban] Re: Where is the latest/official PEG grammar?
- To: lojban@googlegroups.com
- Subject: [lojban] Re: Where is the latest/official PEG grammar?
- From: scope845hlang343jbo@icebubble.org
- Date: Sat, 11 Apr 2020 02:19:55 +0000
- Arc-authentication-results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of scope845hlang343jbo@icebubble.org designates 2607:f2f8:a1d8::b19:0:f0b as permitted sender) smtp.mailfrom=scope845hlang343jbo@icebubble.org
- Arc-authentication-results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of scope845hlang343jbo@icebubble.org designates 2607:f2f8:a1d8::b19:0:f0b as permitted sender) smtp.mailfrom=scope845hlang343jbo@icebubble.org
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :in-reply-to:date:references:subject:to:from:sender:dkim-signature; bh=+okm54GFOso0TtRamLOIpjMQ+7QmBBenc+h/PuX+uN4=; b=HiFjKx9UXFwAoQ+ZMEsX20EsYorDpwusKe+7P6xK1Vd/z/jf5hgvBMfY3AVflmi+gQ 35KTkUsVHBgz/955hHkVTMosY7axhzbUr4Ue77nVajSpsjWeDqoP0VXHNiLvOMuQO/iy RqIrIP6sM4X4Co4rkQ8gnCRUX/IC/4GzqQPnO9VhYd346DGL6cHr4LUs57ekNOKlQOBT Az/sPNE7+RjvDuU3ZHmhKQVp7i6tqWazvN29dJdvYB57H2XpYX8yrViZJgyJ2z/wSj2l yza2GzA045cFHAodbmDLhSN2q9YQ05BILya3iEDktKkwg1Is7+LMArlc9NLXifPJjRQ1 3zxQ==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:in-reply-to:date:references:subject:to:from; bh=XHMoSbUSx4/ieyHTyDrBKMxs6ilYz1c6U9cjt2fr8EQ=; b=KKU/EvR0ln3Bjdz8RYCVeP63OzBRlDTxRpZORTBwpizfzrO5bPp7TSTtoqXKcIM9Ft 173xbe5qoddHSzxX28a1T9MBHFmX72V8BW9EzC0uAPWmkwqJikwwzIOO4aU0JEzB3TkU kf/EoJ0eTenXdYG6tn03pa9oO5dXucckvRKvOhIuN8Vgn9L0M8nPkjS9ByHIyMVD+xi5 CNV8OSKKNQzaNjG9gcd11d7/7X7bOU0CiaLe6GWZIyT+4FlpE5TRS54tzP06nygeomR5 OO+kSVR/eiUb14aBi5KjI3H1An3kBsXnRNdyfRiBurbhoK6uOgh9C7cf3CzsG7birLDM 0Uzg==
- Arc-seal: i=2; a=rsa-sha256; t=1586575360; cv=pass; d=google.com; s=arc-20160816; b=OFxWlGjRDHoLZBvMuyDUjCWkEjhuTsRpBWGtK9BR40hMOCWnCNsGqarhUDMKum1UFm x5rI0/gvcNURT7rHZfkdp8GBlJtHWoHca9RQ6tzwG8zk6/EcEk0Zr0+NfltlQF4/IHzN 24Tw3GodaE8+bTaGVbBfyIVn/vSqf00GqXORpoyn6CH+89OSQx/Bzf/8LdQKk+YXBbgV a3mGsG6M8K0lp+eYWpMaPhvWjWVar0NpsYGB8t+6RH9SvBTcAi34mm9/uiy6QzZVicc0 tFeH4YDopOUaKYjeBYescHqUAd8EVm7E6GhXaztTUZv76ZeSAz6gqX9OQbznJZPg3Bhc qayQ==
- Arc-seal: i=1; a=rsa-sha256; t=1586575359; cv=none; d=google.com; s=arc-20160816; b=C7TUOaokcPq+EWQE5TWxUusedrgGbAxyqIz2evWAlR3b8QGRsRtSXpSvVtJ3edIsRx 5VEqcEe+DQS1UMmYD+eDJTQujrO27eNgTiaxUx8ds6PR4Ug9qby9ps8ElwLekBTVkBRT zMqEOxyTJgrupn1SYcE2iZCKyq8n8Xlv9rE7zqya8v5haQK0rDt0Cp/YUeRE5aq3/31I A7qVfEqNnE8icAtn1TRJnV/2iqK0Ud0VkG1Nrouh8IzZNH+X/A5zHntWrWbhhXXX7dTZ GoHQcUIl1pW8wD9lvA6Bl9ssz8/inHzlE1Jeb39TUiKy88U4jqCqBHF3T3lLeKsosxqr MVBg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:references:date:in-reply-to:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=+okm54GFOso0TtRamLOIpjMQ+7QmBBenc+h/PuX+uN4=; b=KeJbujzs+DbZGyDjVUfrSFCvGMg5Q3kV77dKq7rkrBi31BPR2buZorXqpYwEEvnRIp Mgil+rVBdn1J2exXQv1I9VvcRPPrfzFMHpwsrqNNZCT81thSReC04auL98HJBhwCwemM LwFeGbsrZKTjjsFOHZNcRHOXaqDI64IuzMb5UE0EffvFXJgTkzRIHKqOI5m1wykzJzB4 FS8bG9j0XC7kwoES5jHI4MEEcvOmVeLD2fuus7Ap84GEWkmWb6e/9IdK/9CtWzjifaqw VKuMV/sAshmyqmQBn6DAwLqFD6kRmT4xMB4JxSvPzos6xDtLS7pxPM9OPVNjyxPWC2yD UU9Q==
- In-reply-to: <d7fc972d-696c-2e77-5e24-af41830645ef@lojban.org> (Bob LeChevalier's message of "Tue, 7 Apr 2020 16:49:17 -0400")
- List-archive: <https://groups.google.com/group/lojba>
- List-help: <https://groups.google.com/support/>, <mailto:lojban+help@googlegroups.com>
- List-id: <lojban.googlegroups.com>
- List-post: <https://groups.google.com/group/lojban/post>, <mailto:lojban@googlegroups.com>
- List-subscribe: <https://groups.google.com/group/lojban/subscribe>, <mailto:lojban+subscribe@googlegroups.com>
- List-unsubscribe: <mailto:googlegroups-manage+1004133512417+unsubscribe@googlegroups.com>, <https://groups.google.com/group/lojban/subscribe>
- Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com
- References: <86zhbyh1om.fsf@cmarib.ramside> <54430312-17f8-bbcc-eb95-c6f3aedfc046@gmail.com> <868sjeoga3.fsf@cmarib.ramside> <d7fc972d-696c-2e77-5e24-af41830645ef@lojban.org>
- Reply-to: lojban@googlegroups.com
- Sender: lojban@googlegroups.com
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 between
> the two words or not. I 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. They should read "anaphora/cataphora",
"open/closed", etc. It's as if someone did a global
s|([a-zA-Z])/([a-zA-Z])|\1\2| search and replace on the grammar. 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. (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 group)
> as an official replacement for that old one,
What are we waiting for? Lojban has been around since 1985 bi'o 1987,
yet we still don't have a complete grammar or a correct parser. The
YACC has received official blessing, but it's not complete. Handling of
elidable terminators is hand-hacked into the code. The lexer is also
hand-coded, and implements only a good approximation to Lojban
morphology. So far, we have neither a complete specification of the
language, nor a fully correct parser.
> 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? A proof that the PEG grammar is
backward-compatible with the YACC? If so, the second half of Bryan
Ford's thesis paper on PEGs describes how to transform parsing
expressions into other forms which could be compared with the YACC.
For reference, that thesis paper is: http://bford.info/pub/lang/peg.pdf
--
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 email to lojban+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lojban/86k12m7ohg.fsf%40cmarib.ramside.