From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Loury Subject: Re: Formal description of Org files Date: Thu, 02 Oct 2014 10:28:15 +0200 Message-ID: <87zjdeswo0.fsf@konixwork.incubateur.ens-lyon.fr> References: <87ha0187pc.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbkf-0003L6-EC for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 04:28:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZbka-0005T2-Iq for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 04:28:41 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:54700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbka-0005St-Bb for emacs-orgmode@gnu.org; Thu, 02 Oct 2014 04:28:36 -0400 Received: by mail-wg0-f43.google.com with SMTP id k14so2792240wgh.14 for ; Thu, 02 Oct 2014 01:28:35 -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: Nicolas Goaziou , Gustav =?utf-8?Q?Wikstr?= =?utf-8?Q?=C3=B6m?= Cc: Org Mode List --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Gustav Wikstr=C3=B6m writes: >> >> 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.=20 >> Org mode source files could be parsed in many other languages, >> simplifying the process of expanding Org mode to other platforms ( >> Android & iOS, web ). >> [...] > > See > > (info "(org) Org syntax") I just read the document on worg=C2=B9. It is really good! I imagine we are not far from a formal grammar. I suppose we could write one in EBNF form. Nicolas, I can see on the worg version that it is in draft status. Could you say what is left to do to consider it mature? =C2=B9 http://orgmode.org/worg/dev/org-syntax.html =2D-=20 Konubinix GPG Key : 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJULQyhAAoJEHXSPO10ORBqtZoIAIL3c480hMLIF/OnY+EI66Dx OrICRwv0ZUs1SJPC10nt8FI6v24Rii8ECDXsVGt8BJf55cI5ExvyyTrhMORtup7H kfXKHMnN+sBpV4UUGzjHFrx0DjbUn4a8OMMBlSE04Y357PFyQ3ITbAIRWAKtD/sN NWwzLVd2KNTb9F7hBbHtUnmotw4aOLWOYM7ZhlApgJuVIwC4NFUCtPJRMFwUnx2G GTqw/ijgwKbPZy8K2pUikG3dXViXV8PZ9ifCiVEn6ybtJJhRz1veqgzwDrZyK2qt 9nPltiH+IzIgYY6X30WKhPEEyTc4Hpm8XKMGf8OV69VDv2rgM9iebl3wWVxRHO4= =Q5PI -----END PGP SIGNATURE----- --=-=-=--