emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Filippo A. Salustri" <salustri@ryerson.ca>
To: Peter Frings <peter.frings@agfa.com>
Cc: Christian Egli <christian.egli@sbs.ch>,
	emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Formal description of Org files
Date: Fri, 15 Apr 2011 09:52:56 -0400	[thread overview]
Message-ID: <BANLkTin+Ne+=LDOTQP6L11Pb0NS5ipzX1A@mail.gmail.com> (raw)
In-Reply-To: <592F7F38-63DD-4986-B060-0EDC58FA693E@agfa.com>

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]

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 yacc...get it?
:)
Then IDEs really started to take off and much of the ugly parts of writing
languages disappeared, which led to all kinds of new tools like antlr.

But they all basically do the same thing: let one describe the syntax and
grammar of (quasi) formal (programming) languages.

I don't know if any of them produce diagrams, but I wouldn't be surprised if
at least some did.

Cheers.
Fil

On 15 April 2011 09:42, Peter Frings <peter.frings@agfa.com> wrote:

>
> On 15 Apr 2011, at 14:58, Christian Egli wrote:
>
> > Carsten Dominik <carsten.dominik@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 about antlr[1], "ANother Tool for Language
> > Recognition, a language tool that provides a framework for constructing
> > recognizers, interpreters, compilers, and translators from grammatical
> > descriptions containing actions in a variety of target languages”.
> <snip>
>
> > Sounds like an interesting project.
>
> Wow, if that thing can export syntax diagrams in PNG or PDF I’d be really
> happy. Looks very interesting — albeit serious overkill for what I’d use it
> :-).
>
> thanks,
> Peter.
> --
> c++;         // this makes c bigger but returns the old value
>
>
>


-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #2: Type: text/html, Size: 2671 bytes --]

  reply	other threads:[~2011-04-15 13:53 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15  7:58 Formal description of Org files Carsten Dominik
2011-04-15  8:54 ` Rainer Stengele
2011-04-15 10:57   ` Carsten Dominik
2011-04-15 11:50     ` Peter Frings
2011-04-15 12:05       ` Carsten Dominik
2011-04-15 15:25         ` Jambunathan K
2011-04-20 11:57           ` Olaf.Hamann
2011-04-15 12:58 ` Christian Egli
2011-04-15 13:42   ` Peter Frings
2011-04-15 13:52     ` Filippo A. Salustri [this message]
2011-04-15 14:20 ` Wes Hardaker
2011-04-15 17:29   ` Eric Schulte
2011-04-15 18:31     ` Nick Dokos
2011-04-20 12:37       ` Olivier Schwander
2011-07-15 18:07         ` Marcelo de Moraes Serpa
2011-07-16 16:56           ` Bastien
2011-07-16 17:09             ` Nick Dokos
2011-07-16 17:12               ` Bastien
2011-07-16 18:00               ` Searching the org list (was: Formal description of Org files) Memnon Anon
2011-07-16 18:21               ` Formal description of Org files suvayu ali
2011-07-16 18:43                 ` Nick Dokos
2011-07-17 23:14             ` Eric Schulte
2011-07-18  9:30               ` Christopher Witte
2011-07-18 23:32               ` Bastien
2011-07-18 21:02             ` Marcelo de Moraes Serpa
2011-07-18 21:03               ` Marcelo de Moraes Serpa
2011-07-18 11:04           ` Nicolas Goaziou
2011-07-18 23:35             ` Bastien
2011-07-19  6:16             ` Jambunathan K
2011-07-24 18:58               ` Bastien
  -- strict thread matches above, loose matches on Subject: below --
2011-04-15 17:13 Rustom Mody
2011-04-15 17:27 ` MidLifeXis at PerlMonks
2014-09-21 12:10 Gustav Wikström
2014-09-21 12:43 ` Nicolas Goaziou
2014-10-02  8:28   ` Samuel Loury
2014-10-02 17:03     ` Nicolas Goaziou
2014-10-04 19:49   ` Gustav Wikström
2014-09-26  8:12 ` Eric S Fraga
2014-09-26 12:53   ` Grant Rettke
2014-09-26 20:51     ` Eric S Fraga
2014-10-04 19:41   ` Gustav Wikström
2014-10-06 14:22     ` Samuel Loury

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTin+Ne+=LDOTQP6L11Pb0NS5ipzX1A@mail.gmail.com' \
    --to=salustri@ryerson.ca \
    --cc=christian.egli@sbs.ch \
    --cc=emacs-orgmode@gnu.org \
    --cc=peter.frings@agfa.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).