From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oApoFV5AuGBqUwEAgWs5BA (envelope-from ) for ; Thu, 03 Jun 2021 04:37:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KLXVEF5AuGBCOgAA1q6Kng (envelope-from ) for ; Thu, 03 Jun 2021 02:37:18 +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 5ADB71E90A for ; Thu, 3 Jun 2021 04:37:17 +0200 (CEST) Received: from localhost ([::1]:43302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lodER-0002UQ-FL for larch@yhetil.org; Wed, 02 Jun 2021 22:37:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lodE3-0002U0-Sk for emacs-orgmode@gnu.org; Wed, 02 Jun 2021 22:36:51 -0400 Received: from mail-co1nam11olkn2068.outbound.protection.outlook.com ([40.92.18.68]:18656 helo=NAM11-CO1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lodE1-00085W-9Q for emacs-orgmode@gnu.org; Wed, 02 Jun 2021 22:36:51 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KNIzPPXOvvyhZUY1dm/88ZIyJEb7FxcaUpmxjJ3k+sHiTFukDmm6uf/knwcTaAOPZYqF1TrOpcXPMwOYWdXD/ZIg3uN+5Z64Y/UHfTVK89rYDwh4AyNS91cHiOwmxFcImaS8nVGksuaPExd/XKRxc4aX/8L5PXf2pou7Fqllg3mKbio0ZR/vJixDbavWSQjy+vXjN6Ciebdww7tuF+TA4DZ/HhfV0/iSB4RJ93kMyVEw4Xw1N2eWQHaXzhUuqwaGe2Ke0xJleEWkQccUZsl4mhLefQvSKS7LFMWyDDSKxDXclbf7cN9F5YUqne2BZ63RvMfWH+T6WrCUqZIbF68Ojw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MOSeYKDdFF9KQYvVlaJ0ygCBxVyPcjR0wYvH/sCPDf0=; b=PiPBgRiqBKwfo5yKvzqEcA/tI12anUPO8ERYEnm/KbBzj74kKVYgy7KjgVbyDluPuDoQjU8ClJDsKOwgN2BebvT8lNZPxKwSXQejGeWGokCiOHkIdiNE/pN2VLtBkNPa7gQ3BC8hv1KVfGdn8UZ1pbiS+ybuxOAwKxP0ERI3iKbnmQ3wgvuwwMVVPqjQm5MVN+S4pw6ZaCBOYLgNbzPZzhIZH1XcDcW++0RsFUpPGl7xBS60lSIZj9uRXfwWHsxeH4dccaxql4gjouFElydKw9q++zfHNprCWFeD+469XLnwt9O13/NmJkUn3h+FY7AMPZ/LquQ/W+ZSFshWrIsDBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MOSeYKDdFF9KQYvVlaJ0ygCBxVyPcjR0wYvH/sCPDf0=; b=XWkMyE3WzBpiHBDk2Q3f/albLCEF9Vk7jzOuTGayvxAWMCrwunybxZ+WB4Nz44K249WvctM2c2SHUsorG4G2HVwiHIusMRWvaA/Xe1NPwPuvK2tTWzeytvwXCYnWSB4wlJpCPd4Rsn8cXNj78QrRH57orILifk3dNNEXxWgPWbGICk2y/gDJ47ZbRnL0dsqS6PgPLQtbAHrlv5jY2pmOo4V/63Bg1sMyhhNT+t72aQk8FG0ybHCNpOlrCWFVW+Vx9mpL9EKFFqMifrCw9TvjX5H8Co/l/IKeymm093S23rliZ3YWZxoB6nmULFD94p40EXgIOvIp0hJdXQL2htA0jA== Received: from CO1NAM11FT006.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::50) by CO1NAM11HT133.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.30; Thu, 3 Jun 2021 02:36:46 +0000 Received: from DS7PR03MB5447.namprd03.prod.outlook.com (2a01:111:e400:3861::49) by CO1NAM11FT006.mail.protection.outlook.com (2a01:111:e400:3861::246) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.30 via Frontend Transport; Thu, 3 Jun 2021 02:36:46 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:736E72C6E70EE4B47E1B956833A2974337ABB5E9E131F3ECA79E2AE35EE63B15; UpperCasedChecksum:30205BB1F3787A51205A929FBB726EE9A449A83A0C3849F91F4FA885B8C29E7D; SizeAsReceived:9066; Count:47 Received: from DS7PR03MB5447.namprd03.prod.outlook.com ([fe80::b8a9:cc60:9913:a4d6]) by DS7PR03MB5447.namprd03.prod.outlook.com ([fe80::b8a9:cc60:9913:a4d6%5]) with mapi id 15.20.4195.023; Thu, 3 Jun 2021 02:36:46 +0000 From: David Masterson To: Jakob =?utf-8?Q?Sch=C3=B6ttl?= Subject: Re: A formal grammar for Org References: <13899acc-0760-a772-67d0-50b91cc5d9ac@gmail.com> <78fe1662-c433-0f3d-4d49-7a1badd44c96@gmail.com> Date: Wed, 02 Jun 2021 19:36:42 -0700 In-Reply-To: <78fe1662-c433-0f3d-4d49-7a1badd44c96@gmail.com> ("Jakob =?utf-8?Q?Sch=C3=B6ttl=22's?= message of "Wed, 2 Jun 2021 10:22:16 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [tQOyL6a65OBfh3NgjEUpv2AbFTwQ4+bgUhUcDD6Bp1423Bg6TU0mu3pK/B2MW06d] X-ClientProxiedBy: SJ0PR05CA0073.namprd05.prod.outlook.com (2603:10b6:a03:332::18) To DS7PR03MB5447.namprd03.prod.outlook.com (2603:10b6:5:2c7::12) X-Microsoft-Original-Message-ID: <87k0nbllmt.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from penguin (2600:8802:506:1f00:216:3eff:fee7:3d5d) by SJ0PR05CA0073.namprd05.prod.outlook.com (2603:10b6:a03:332::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.11 via Frontend Transport; Thu, 3 Jun 2021 02:36:45 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 98e6e27f-e724-4c9d-333d-08d926386e2c X-MS-TrafficTypeDiagnostic: CO1NAM11HT133: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2T9tenJRfmcyq6LOVLxWnbtyBtcY/im4GasAeN3tKlJAqC8nVbNJaDfE1xsB0L9X8boKLmKTVNilzWSIWKUh0zhmSeRKHDyFFiHb/+XS6UVjAtRhF4mAIVZuJeAhtEjYTnTBCLgt3HbLOHeznRcEBTlBpizbblGkbKe2xxP5Ydm3lvVxp3iMi95y8GlLNVBV/zIEz0bboKa7o6EDzZlNapna8nrqyX8E4ljJh/NQZBr51yrhyjVHDRh0VUdiY9ffNXHvTbkjx3wVZ1SSJV5J6w3q/Lsyob0cxhUyxhbaFv1zFGQbA5k2vn/pY2X+ZeMf6ibDgn6kbYiGtOP3TZNLNw4U8dpIngiOlOdqiTVEVN0aesEkzjcATm5OTmjFFXPdC4JPkbcIinYl1aU7Wst5O3t0mgfuaIMX2BNRfxQgEGGUyaCI/QPwyq1JJXycahMyuzMv/oAPXZVtzz8FTY8wQA== X-MS-Exchange-AntiSpam-MessageData: nHDwBl5iFp1fpjK3jQr2j543ueLEK90/0jPPkWqhDGCdUYck4a3Y6p4QHDlUk1tV0qXqzknWBf7XTJzeNWLCfskckWpMlOhp1bdtB5O0ca5tuKMb/Jt4bRAIbbIFZbSsGE8ae0nQFp0+//o+6A9KiGSz5jJUclCOkadjXPIqLvoblxQDaOslbfMGQyM3sCmUuXyGaEewGrUPw7XzV+6/ZQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98e6e27f-e724-4c9d-333d-08d926386e2c X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2021 02:36:46.1315 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT006.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT133 Received-SPF: pass client-ip=40.92.18.68; envelope-from=dsmasterson92630@outlook.com; helo=NAM11-CO1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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: , Cc: Tom Gillespie , emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622687837; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MOSeYKDdFF9KQYvVlaJ0ygCBxVyPcjR0wYvH/sCPDf0=; b=WUc8f585rYOXcIZJTa8AhI8GtMRhR8m47kA7jgnlaUqloadzOeehcfAoE4dvmtQheNHWB3 3UU3yBbkXAmbDi1Np4bGcU8mhDt6LeTZMMsMD/dh2MO8iF3ds5WJtdtxIfFUeMBWrkPQqK jcS2zeZa0AC88iOQkdIUSWE1qo5feQC1En6xFiV46UAUKdKb5uzwZeTHU75ACy1DFqmYhx JB+pGj+Js7kTVd/H/O8AE/ProdkID5IewRi+XGEdIzSYYqoLKvIgy/mz1u99NmgAmYwrr6 ZzMZKPBKYYFJWvyErP1ZnT0H3jlk2TwoYTlHtAaPt5bMnxIkWZE/oloDNYhnAA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1622687837; a=rsa-sha256; cv=pass; b=pHXZsnfDuFYOlb/03CA52KoKvs1IbKWe9S+j0ukJsmX6lj4tqEh14x4ROOyOO3kh1P6jpO U+MbAqACCq/ZYA93+nsrIk+N4wyZXuXD4dlVE1aP7h0vE6QDBtqmphAf6jdOBUfH0SXdE5 7fGVfCJU0fHhDWRY25hV+u/j1OHN9RrsyuE+aoj1/1MBHJplDpcD5vyCaDVIh8JtXYGvuQ zRhmRuIdKtZY2FQADDkSjeOrq/u06kSJl7O4Ijs5/ihrMEPoMB3ji8FoNqxQVkuSh+WrU7 1Qgv2nWm66SfzIxsPk4lSYtn2dKFZLn93cV6P0nFY6GYr7/CwTZBWQW42JFkow== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=XWkMyE3W; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; 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-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=XWkMyE3W; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; 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-Migadu-Queue-Id: 5ADB71E90A X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: Y6DKCD+qJ67l Jakob Sch=C3=B6ttl writes: > Am 02.06.21 um 06:00 schrieb David Masterson: >> Jakob Sch=C3=B6ttl writes: >> >>> Am 01.06.21 um 11:53 schrieb Tom Gillespie: >>>>> We have a pretty similar project, org-parser[1]. It's also written >>>>> in a Lisp dialect, Clojure, but it uses instaparse instead of brag >>>>> as parser library. >>>> https://github.com/tgbugs/laundry/tree/next#similar-projects I managed >>>> to get it into my README as a reminder to myself to have a thorough >>>> look at it, but have been occupied with other work since then. >>> Thanks, I'll also set a link in our README to related work. >> Have either (or both) of you looked at BeOrg (http://beorg.app)? This >> is an (iOS) app that implements task management from Org files by >> reading and updating the Org file structure. I would assume it uses a >> parser to breakdown the Org file structure and rebuild it later. That >> is what I see your parsers becoming. > I haven't tried BeOrg myself, but it's proprietary and we have an open > source, platform-independent alternative with Organice. See also=20 > https://github.com/200ok-ch/organice#beorg > > org-parser is also open source and will finally replace Organice's > somewhat hacky Parser as a library. Nice (no pun intended) --=20 David Masterson