From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Gustav_Wikstr=C3=B6m?= Subject: Re: Formal description of Org files Date: Sat, 4 Oct 2014 21:49:33 +0200 Message-ID: References: <87ha0187pc.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaVKh-0007FF-MD for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 15:49:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaVKg-0003EZ-M0 for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 15:49:35 -0400 Received: from mail-qa0-x22b.google.com ([2607:f8b0:400d:c00::22b]:33733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaVKg-0003EO-H7 for emacs-orgmode@gnu.org; Sat, 04 Oct 2014 15:49:34 -0400 Received: by mail-qa0-f43.google.com with SMTP id s7so2170415qap.30 for ; Sat, 04 Oct 2014 12:49:34 -0700 (PDT) In-Reply-To: <87ha0187pc.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?Q?Gustav_Wikstr=C3=B6m?= , Org Mode List Ah, yes. I've seen that and I really really admire your work. :-) What I'm aiming at is something more standardised. Something that can be used to generate language lexers and parsers in other programming languages.. But, as I stated a moment ago in another mail to the list - I don't really know the power of such a standardised grammar and of what can be done if it was there.. I only envision the possibilities. ;-) Best regards Gustav On Sun, Sep 21, 2014 at 2:43 PM, Nicolas Goaziou w= rote: > Hello, > > Gustav Wikstr=C3=B6m writes: > >> There was a discussion many years back about a formal description of >> Org files [1]. In some way that might be achieved now in org-elements, >> but that still is heavily bound to elisp. >> >> So my question is; have there been more discussions of constructing >> such a formal grammar? Maybe in EBNF form. I suspect getting every >> aspect of Org mode into such a description would be difficult. But >> imagine the possibilities. Tools such as ANTLR and similar would >> straight away have a way of parsing Org mode. Org mode source files >> could be parsed in many other languages, simplifying the process of >> expanding Org mode to other platforms ( Android & iOS, web ). >> >> Further rant; To me Org mode should be less about Emacs and more about >> the source file format. Let Emacs be the main carrier, but let Org >> mode also expand into other domains. One way to simplify this might be >> to provide the formal description so that other tools might be easier >> to develop based on this grammar. >> >> (For me, the biggest limitation of Org mode is lacking tools to >> utilize it on the run. The aim of this is thus to feed thoughts on how >> to simplify processes that can expand Org mode into those "more >> mobile" domains). > > See > > (info "(org) Org syntax") > > > Regards, > > -- > Nicolas Goaziou