From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kQ5lCrujwl/uWwAA0tVLHw (envelope-from ) for ; Sat, 28 Nov 2020 19:23:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YHjlBbujwl8dMwAA1q6Kng (envelope-from ) for ; Sat, 28 Nov 2020 19:23:39 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A2F22940482 for ; Sat, 28 Nov 2020 19:23:37 +0000 (UTC) Received: from localhost ([::1]:58524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kj5om-0000Uw-IN for larch@yhetil.org; Sat, 28 Nov 2020 14:23:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj5nN-0000UP-Th for emacs-orgmode@gnu.org; Sat, 28 Nov 2020 14:22:10 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:40451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kj5nL-0001NH-Qk for emacs-orgmode@gnu.org; Sat, 28 Nov 2020 14:22:09 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 30EFD5C00C5 for ; Sat, 28 Nov 2020 14:22:05 -0500 (EST) Received: from imap9 ([10.202.2.59]) by compute4.internal (MEProxy); Sat, 28 Nov 2020 14:22:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gagbo.net; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=lf4mUEKrt+NvGq2Kzkyuw2XBdsVFrpQ baEa7v3k+UNg=; b=MGiDbvCtOXh5HlQ+RHE69bDRuEXQ4kvWy8Kx/Cck9KQEhKx x0lkt6EVlSLirXfXEIQC5oV5YLT8jC1Bsk4bORBMr4v4I2qMIMivoDieMACpPbMz D2autWHIKHe8Il6XJXXWXVDGkbbCQVat+79gPYQKnOxgCm0vTJIEhEXO8PwA86bb oRpEbI1zVLWgnghyMLs7b8F/J7nd7Ag7B4ktVWArskA9f81R25BVF0xuOmmMueeT l265qwrXkq0+DN5gY36g6QMp7KdB0pFuU2xyOrIDvwxqMp1PMbcFfyw6yC9g4wQV 0gZtDA2Na54qgpG0lFLudkgJDkv1+ZXMyLeLR3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=lf4mUE Krt+NvGq2Kzkyuw2XBdsVFrpQbaEa7v3k+UNg=; b=WKjgRs0qHHr3EtcJ7cme24 Gl1s3Z9vq4mys4LWbBrJ5p1AW//EtJNRfWny1q2mykoEZYQ2RrdzaUdEUU3jA0aj CM2eJx16u/2cxua05uwKZJhNASO/Qbkr5qijGh9pM8cSjxOwyMBi58rJF7nHTU5H OFwY7L6QO9B5Q+ZzuYloC3So0YD1h9I35oLUAhStzr1tG7XRW6WAvhvtVykoOFTE HrSFFqhJFWvHMPHk9hIMq3buazJRdHWRIxdL/l5bNFo8YT6uDk9P5LWU+A9IRq6E ZaBCds2iR+10Jdmzoyn8ZT2ojEURyaKMYVoCiticiuv2LNSSXcoMTBsr2de4dC3g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudehiedguddviecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesrg dtreerreertdenucfhrhhomhepfdfivghrrhihucetghgsohgsrggurgdfuceovghmrggt shdqohhrghhmohguvgesghgrghgsohdrnhgvtheqnecuggftrfgrthhtvghrnhepjeethe eftdfgtdeugeehtdehjedvffduhfeikefhueejhfekhfeugeegledvlefgnecuffhomhgr ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpegvmhgrtghsqdhorhhgmhhouggvsehgrghgsghordhnvght X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E42F31C00BB; Sat, 28 Nov 2020 14:22:04 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3 Mime-Version: 1.0 Message-Id: <6519b068-6ec5-4a5c-a58d-26e62bca1731@www.fastmail.com> In-Reply-To: <87sg9g9rva.fsf@gnu.org> References: <68dc1ea1-52e8-7d9e-fb2d-bcf08c111eca@intrepidus.pl> <874kno7w3v.fsf@gnu.org> <87sg9g9rva.fsf@gnu.org> Date: Sat, 28 Nov 2020 20:19:43 +0100 From: "Gerry Agbobada" To: emacs-orgmode Subject: Re: official orgmode parser Content-Type: multipart/alternative; boundary=92082922d106463388abbe0de220d1a3 Received-SPF: pass client-ip=66.111.4.26; envelope-from=emacs-orgmode@gagbo.net; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.46 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gagbo.net header.s=fm2 header.b=MGiDbvCt; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=WKjgRs0q; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-TUID: j4hvWYQRs41H --92082922d106463388abbe0de220d1a3 Content-Type: text/plain Hello, On Wed, Nov 11, 2020, at 10:15, Bastien wrote: > > The example file would be also good to help users track for small > syntactic changes, when they happen. > > When I thought mistakenly I could use an EBNF parser to parse Org-mode, I wrote a little examples to get going (never went past headings as I'm not really good with parsing things) https://github.com/gagbo/LuaOrgParser/tree/master/tests/test-files/headings Maybe it could be used as a base. I wasn't really sure of how to handle test cases and creating good ones. Best regards, Gerry Agbobada --92082922d106463388abbe0de220d1a3 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
Hello,
=

On Wed, Nov 11, 2020, at 10:15, Bastien wrote:=

=
The example file would be also good to help users track for s= mall
syntactic changes, when they happen.


When I thought mistakenly I could use an EB= NF parser to parse Org-mode, I wrote a little examples to get going (nev= er went past headings as I'm not really good with parsing things)

Maybe= it could be used as a base. I wasn't really sure of how to handle test = cases and creating good ones.

Best regards,=


Gerry Agbobada
<= /div>

--92082922d106463388abbe0de220d1a3--