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 Org-mode and other document formats. I'm not sure > however to what degree that is just wishful thinking.. > > Perhaps Pandoc (http://johnmacfarlane.net/pandoc/) would meet those requirements. It uses a great parsing library with a syntax that greatly resembles a BNF grammar. An output module is already written for org-mode, so writing an input module would allow us to convert from org-mode to any other of the existing Pandoc output formats (including "plain text, markdown<http://daringfireball.net/projects/markdown/>, reStructuredText<http://docutils.sourceforge.net/docs/ref/rst/introduction.html>, HTML <http://www.w3.org/TR/html40/>, LaTeX <http://www.latex-project.org/>, ConTeXt <http://www.pragma-ade.nl/>, PDF<http://en.wikipedia.org/wiki/Portable_Document_Format>, RTF <http://en.wikipedia.org/wiki/Rich_Text_Format>, DocBook XML<http://www.docbook.org/>, OpenDocument XML <http://opendocument.xml.org/>, ODT<http://en.wikipedia.org/wiki/OpenDocument>, GNU Texinfo <http://www.gnu.org/software/texinfo/>, MediaWiki markup<http://www.mediawiki.org/wiki/Help:Formatting>, textile <http://redcloth.org/textile>, groff man<http://developer.apple.com/DOCUMENTATION/Darwin/Reference/ManPa>pages, Emacs org-mode <http://orgmode.org/>, EPUB <http://en.wikipedia.org/wiki/EPUB>ebooks, and S5 <http://meyerweb.com/eric/tools/s5/> and Slidy<http://www.w3.org/Talks/Tools/Slidy>HTML slide shows"). I've been thinking of doing this for sometime now, as an exercise in learning Haskell, but realistically I just don't have the time. does anyone else have the time?
Chris.