From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Formal description of Org files Date: Sun, 17 Jul 2011 17:14:57 -0600 Message-ID: <87k4bg1oum.fsf@gmail.com> References: <4213EBED-2EFC-413F-8618-2A594AECEDCF@gmail.com> <877hav8lup.fsf@gmail.com> <2970.1302892280@alphaville.americas.hpqcorp.net> <20110420123741.GA21304@buga.lan> <87aacew4el.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiaYG-00007h-9G for emacs-orgmode@gnu.org; Sun, 17 Jul 2011 19:15:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiaYE-0003CB-Iu for emacs-orgmode@gnu.org; Sun, 17 Jul 2011 19:15:08 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:61254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiaYE-0003AY-8P for emacs-orgmode@gnu.org; Sun, 17 Jul 2011 19:15:06 -0400 Received: by pvc12 with SMTP id 12so3077932pvc.0 for ; Sun, 17 Jul 2011 16:15:04 -0700 (PDT) In-Reply-To: <87aacew4el.fsf@gnu.org> (Bastien's message of "Sat, 16 Jul 2011 18:56:18 +0200") 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: Bastien Cc: Nick Dokos , emacs-orgmode mailing list , Marcelo de Moraes Serpa , Carsten Dominik Bastien writes: > Hi Marcelo, > > Marcelo de Moraes Serpa writes: > >> I'm creating a web app that interacts with orgmode files and allows >> you to edit orgmode files on the browser. The edit part is not done. > > Wow, this would be a really useful tool. Can't wait to test this! > I agree this could be very cool. In browser editing could make Org-mode backed collaboration with non-emacs users much more feasible, and could greatly enhance current Org-mode/git backed wikis. My only fear is that you could end up implementing much of Emacs in JS. Another option for serving Org-mode files could be an Emacs-based web-server, for example elnode [1], which I just ran across today. > >> I'm quite good at Javascript, and I wouldn't mind hacking something >> akin to orgmode elisp code and this will be what I'll do if >> everything else fails, but wouldn't using a grammar be a cleaner and >> more elegant solution? > > Can you tell more about what you mean by "grammar"? > > Back in february, at FOSDEM, someone asked for a description of the > org-mode format specification. This is still something that needs to be > done. Any stab at this (on Worg) would be really nice. You can start > anywhere (headlines, TODO keywords, etc.) > > If the "grammar" needs to be described in a specific format (more than > just a formal description of the various syntactic elements of an Org > file), let us know. > As I mentioned earlier in this thread, I think any formal expression would be more useful if could be fed to existing parser-generation tools to automatically write Org-mode parsers, or perhaps automatically convert between Org-mode and other document formats. I'm not sure however to what degree that is just wishful thinking.. Cheers -- Eric Footnotes: [1] https://github.com/nicferrier/elnode -- Eric Schulte http://cs.unm.edu/~eschulte/