Re: [O] Formal description of Org files

2014-10-06 Thread Samuel Loury
Hi, Gustav Wikström gustav.e...@gmail.com writes: Just curious: what is it you wish to do in a mobile environment. I have everything I need with MobileOrg and running full emacs + org on an OpenPandora. Obviously, your needs may be different than mine. (email composed on train offline on

Re: [O] Formal description of Org files

2014-10-04 Thread Gustav Wikström
Hi! Just curious: what is it you wish to do in a mobile environment. I have everything I need with MobileOrg and running full emacs + org on an OpenPandora. Obviously, your needs may be different than mine. (email composed on train offline on my OpenPandora in Emacs with gnus ;-) -- :

Re: [O] Formal description of Org files

2014-10-04 Thread Gustav Wikström
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

Re: [O] Formal description of Org files

2014-10-02 Thread Samuel Loury
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Gustav Wikström gustav.e...@gmail.com 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.

Re: [O] Formal description of Org files

2014-10-02 Thread Nicolas Goaziou
Hello, Samuel Loury konubi...@gmail.com writes: 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? I have plans to change properties drawers syntax soon. Also differences between export blocks and special blocks should be

Re: [O] Formal description of Org files

2014-09-26 Thread Eric S Fraga
On Sunday, 21 Sep 2014 at 14:10, Gustav Wikström wrote: [...] (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). Just curious:

Re: [O] Formal description of Org files

2014-09-26 Thread Grant Rettke
Eric do you use org in Emacs on the Pandora? Just curious also to know where Emacs on Pandora users hang out? On Fri, Sep 26, 2014 at 3:12 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: On Sunday, 21 Sep 2014 at 14:10, Gustav Wikström wrote: [...] (For me, the biggest limitation of Org mode is

Re: [O] Formal description of Org files

2014-09-26 Thread Eric S Fraga
On Friday, 26 Sep 2014 at 07:53, Grant Rettke wrote: Eric do you use org in Emacs on the Pandora? Yes. I use Pandian: Debian distribution on the Pandora. It comes with Emacs 24.3. I install org (and gnus and others) from git. Emacs is also available on the stock OS for the OpenPandora. I

Re: [O] Formal description of Org files

2014-09-21 Thread Gustav Wikström
Hi again list. 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

Re: [O] Formal description of Org files

2014-09-21 Thread Nicolas Goaziou
Hello, Gustav Wikström gustav.e...@gmail.com 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

Re: [O] Formal description of Org files

2011-07-24 Thread Bastien
Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: A simple worg page that collects the low hanging fruits to begin with will be a good but firm first step in this direction. Indeed. It's on my todo list, but not with a high priority for now. If you feel like starting it, please

Re: [O] Formal description of Org files

2011-07-18 Thread Christopher Witte
On 18 July 2011 01:14, Eric Schulte schulte.e...@gmail.com wrote: 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

Re: [O] Formal description of Org files

2011-07-18 Thread Nicolas Goaziou
Hello, Marcelo de Moraes Serpa celose...@gmail.com 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. I'm quite good at Javascript, and I wouldn't mind hacking something akin to orgmode elisp code

Re: [O] Formal description of Org files

2011-07-18 Thread Marcelo de Moraes Serpa
Hey Bastien! Can you tell more about what you mean by grammar? I think Nick pretty much nailed down the description of what a grammar would be. I'm not well-versed in compiler-theory and my real world experience with parsers are limited - I made some pretty hackish parsers in the past but none

Re: [O] Formal description of Org files

2011-07-18 Thread Marcelo de Moraes Serpa
If having a grammer is so hard, then I think I will just use the elisp regexp-based parsing implementation as a reference :) By the way, that's what this guy did in this Ruby gem: https://github.com/bdewey/org-ruby Cheers, - Marcelo. On Mon, Jul 18, 2011 at 4:02 PM, Marcelo de Moraes

Re: [O] Formal description of Org files

2011-07-18 Thread Bastien
Hi Eric, Eric Schulte schulte.e...@gmail.com writes: Another option for serving Org-mode files could be an Emacs-based web-server, for example elnode [1], which I just ran across today. Elnode looks nice. I've just tested it for 10 seconds and displayed the Hello! in http://localhost:8010 --

Re: [O] Formal description of Org files

2011-07-18 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: I didn't follow closely the thread, but I think having a formal description of Org files is unrealistic at the moment. Still it would be useful to *try* to describe Org's various elements as formally as possible. Org format is heavily

Re: [O] Formal description of Org files

2011-07-17 Thread Eric Schulte
Bastien b...@altern.org writes: Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com 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

Re: [O] Formal description of Org files

2011-07-16 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com 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'm quite good at

Re: [O] Formal description of Org files

2011-07-16 Thread Nick Dokos
Bastien b...@altern.org wrote: Hi Marcelo, Marcelo de Moraes Serpa celose...@gmail.com 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

Re: [O] Formal description of Org files

2011-07-16 Thread Bastien
Nick Dokos nicholas.do...@hp.com writes: There was a discussion about this on the list a few months ago, but I can't get to search.gmane.org to find the thread atm, although I can get to news.gmane.org: is that me or is gmane's search on the fritz? Looks like gmane search is down, I can't use

Re: [O] Formal description of Org files

2011-07-16 Thread suvayu ali
On Sat, Jul 16, 2011 at 7:09 PM, Nick Dokos nicholas.do...@hp.com wrote: There was a discussion about this on the list a few months ago, but I can't get to search.gmane.org to find the thread atm, although I can get to news.gmane.org: is that me or is gmane's search on the fritz? I think you

Re: [O] Formal description of Org files

2011-07-16 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com wrote: On Sat, Jul 16, 2011 at 7:09 PM, Nick Dokos nicholas.do...@hp.com wrote: There was a discussion about this on the list a few months ago, but I can't get to search.gmane.org to find the thread atm, although I can get to news.gmane.org: is that

Re: [O] Formal description of Org files

2011-07-15 Thread Marcelo de Moraes Serpa
Hi guys, I was going to create a new thread, but this one seems to fit exactly what I'm looking for. 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. I'm quite good at Javascript, and I wouldn't mind hacking

Re: [O] Formal description of Org files

2011-04-20 Thread Olaf.Hamann
If I remember well, the thing with BNF and similar approaches was called 'context free grammar' - and I'm not sure, if this requirement is fullfilled by the org syntax. As I mean to remember is e.g. that Perl could not be declared fully with a context free grammar. As if 'parse an org-file

Re: [O] Formal description of Org files

2011-04-20 Thread Olivier Schwander
Le 15 Apr 2011 14:31, Nick Dokos a écrit: Eric Schulte schulte.e...@gmail.com wrote: If one goal of such a formal description of Org-mode would be to parse text Org-mode files into an abstract syntax tree ... I think this should be the starting point: what are the goals for all this?

[O] Formal description of Org files

2011-04-15 Thread Carsten Dominik
Hi, I have a question. At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language that would be the input for a parser (or parser generator?) so that Org file could be easily parsed. Unfortunately I did not catch the name of the format

Re: [O] Formal description of Org files

2011-04-15 Thread Peter Frings
On 15 Apr 2011, at 12:57, Carsten Dominik wrote: On Apr 15, 2011, at 10:54 AM, Rainer Stengele wrote: Am 15.04.2011 09:58, schrieb Carsten Dominik: Hi, I have a question. At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language

Re: [O] Formal description of Org files

2011-04-15 Thread Carsten Dominik
On Apr 15, 2011, at 1:50 PM, Peter Frings wrote: On 15 Apr 2011, at 12:57, Carsten Dominik wrote: On Apr 15, 2011, at 10:54 AM, Rainer Stengele wrote: Am 15.04.2011 09:58, schrieb Carsten Dominik: Hi, I have a question. At FOSDEM, someone asked me if there was a formal

Re: [O] Formal description of Org files

2011-04-15 Thread Christian Egli
Carsten Dominik carsten.domi...@gmail.com writes: At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language that would be the input for a parser (or parser generator?) so that Org file could be easily parsed. Maybe the person was talking

Re: [O] Formal description of Org files

2011-04-15 Thread Peter Frings
On 15 Apr 2011, at 14:58, Christian Egli wrote: Carsten Dominik carsten.domi...@gmail.com writes: At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language that would be the input for a parser (or parser generator?) so that Org file could

Re: [O] Formal description of Org files

2011-04-15 Thread Filippo A. Salustri
Antlr is just another in a long line of lexical parsers. I still remember the original lex (for lexical analysis), which in combination with yacc (for parsing and grammar) could make pretty much any conventional programming language. Then GNU came up with Flex (fast lex) and Bison (instead of

Re: [O] Formal description of Org files

2011-04-15 Thread Wes Hardaker
On Fri, 15 Apr 2011 09:58:09 +0200, Carsten Dominik carsten.domi...@gmail.com said: CD Unfortunately I did not catch the name of the format description CD language that could be used for something, not did I catch the name CD of the person who talked to me. Another option, besides those

Re: [O] Formal description of Org files

2011-04-15 Thread Jambunathan K
Carsten Dominik carsten.domi...@gmail.com writes: On Apr 15, 2011, at 1:50 PM, Peter Frings wrote: On 15 Apr 2011, at 12:57, Carsten Dominik wrote: On Apr 15, 2011, at 10:54 AM, Rainer Stengele wrote: Am 15.04.2011 09:58, schrieb Carsten Dominik: Hi, I have a question. At

Re: [O] Formal description of Org files

2011-04-15 Thread Rustom Mody
Hi, I have a question. At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language that would be the input for a parser (or parser generator?) so that Org file could be easily parsed. Unfortunately I did not catch the name of the format

Re: [O] Formal description of Org files

2011-04-15 Thread MidLifeXis at PerlMonks
Mody rustompm...@gmail.com To: emacs-orgmode emacs-orgmode@gnu.org Sent: Fri, April 15, 2011 12:13:45 PM Subject: Re: [O] Formal description of Org files Hi, I have a question. At FOSDEM, someone asked me if there was a formal description of the structure of Org files, in some language that would

Re: [O] Formal description of Org files

2011-04-15 Thread Eric Schulte
If one goal of such a formal description of Org-mode would be to parse text Org-mode files into an abstract syntax tree (which is reminiscent of [1] and [2]) then perhaps we should look at parsers which have already been applied to other document languages (e.g. tex, html etc...) or at least