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 gF+SBqina18udQAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 19:53:12 +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 uBaEAqina1/nGwAA1q6Kng (envelope-from ) for ; Wed, 23 Sep 2020 19:53:12 +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 97BD89402AC for ; Wed, 23 Sep 2020 19:53:11 +0000 (UTC) Received: from localhost ([::1]:53632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLApC-0007oP-0e for larch@yhetil.org; Wed, 23 Sep 2020 15:53:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLAn0-0007mu-Vg for emacs-orgmode@gnu.org; Wed, 23 Sep 2020 15:50:56 -0400 Received: from smtp-out-6.univ-rouen.fr ([193.52.152.101]:58647 helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLAmx-0002ES-PR for emacs-orgmode@gnu.org; Wed, 23 Sep 2020 15:50:54 -0400 Received: from IRED-15-19C0 (unknown [80.215.111.81]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id 0176E1E55; Wed, 23 Sep 2020 21:50:47 +0200 (CEST) Message-ID: <2b19797780df800a5feafd47836b83e5426752e1.camel@univ-rouen.fr> Subject: Re: official orgmode parser From: rey-coyrehourcq To: =?UTF-8?Q?Przemys=C5=82aw_Kami=C5=84ski?= , emacs-orgmode@gnu.org Date: Wed, 23 Sep 2020 21:50:47 +0200 In-Reply-To: References: <68dc1ea1-52e8-7d9e-fb2d-bcf08c111eca@intrepidus.pl> <874kno7w3v.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=193.52.152.101; envelope-from=sebastien.rey-coyrehourcq@univ-rouen.fr; helo=mailhoc.univ-rouen.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 15:50:48 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Spam-Score: -1.01 X-TUID: VfVtXf8oQHFQ Hi Przemysław, Some partial org Parsers (AST or regex...) i found on the web for a recent state of the art : * org-js https://github.com/mooz/org-js * orgajs Orga is a flexible org-mode syntax parser. It parses org content into AST (Abstract Syntax Tree) https://github.com/orgapp/orgajs * orgparse * org-mode-parser https://github.com/daitangio/org-mode-parser * org-rs https://github.com/org-rs/org-rs * org-ruby https://github.com/wallyqs/org-ruby * org-swift https://github.com/orgapp/swift-org * organice https://github.com/200ok-ch/organice * organum https://github.com/seylerius/organum * clj org https://github.com/eigenhombre/clj-org * orgmode-parse https://github.com/ixmatus/orgmode-parse * org-mode https://www.fosskers.ca/ https://hackage.haskell.org/package/org-mode * orgize https://github.com/PoiScript/orgize https://www.worthe-it.co.za/blog.html Best regards, Le mercredi 23 septembre 2020 à 19:46 +0200, Przemysław Kamiński a écrit : > On 9/23/20 10:09 AM, Bastien wrote: > > Hi Przemysław, > > > > Przemysław Kamiński writes: > > > > > I oftentimes find myself needing to parse org files with some external > > > tools (to generate reports for customers or sum up clock times for > > > given month, etc). Looking through the list > > > > > > https://orgmode.org/worg/org-tools/ > > > > Can you help on making the above page more useful to anyone? > > > > Perhaps we can have a separate worg page just for parsers, reporting > > the ones that seem to fully work. > > > > I disagree that a parser is too difficult to maintain because Org is > > a moving target. Org core syntax is not moving anymore, a parser can > > reasonably target it. That's what is done with the Ruby parser, in > > use in this small project called github.com :) > > > > So I'd say: > > > > - let's enhance Worg's documentation > > - yes, please go for enhancing parsing tools > > > > I don't think we need official tools. The official Org parser exists, > > it is Org itself. > > > > Thanks, > > > > Hello Bastien, > > Thank you for your remarks. > > I updated the README, hopefully it's more usable now. > > Przemek > -- Sébastien Rey-Coyrehourcq Research Engineer UMR IDEES 02.35.14.69.30 {Stronger security for your email, follow EFF tutorial : https://ssd.eff.org/}