On Thu, Nov 4, 2010 at 3:37 PM, Carsten Dominik
<address@hidden> wrote:
On Nov 3, 2010, at 1:34 PM, Lennart Borgman wrote:
On Wed, Nov 3, 2010 at 1:15 PM, Eric M. Ludlam <address@hidden
>
wrote:
On 10/30/2010 03:45 AM, Konrad Scorciapino wrote:
Hey!
Is anybody working on Org-mode? My main interest is to build a
parser to
manipulate the nodes of the resulting tree and save them back.
Tips on
how to get started are also welcome.
I know of no one doing that. I don't know what org-mode's code
structure is like, but I'd assume it already has a parser, and
you could
adapt the output to Semantic tag format.
The HTML parser also handles arbitrary text so you could look in
semantic-html to see what sort of things that does.
There are different exporters for org-mode.
Currently we are trying to make an exporter to ODT files. I think a
parser would come in handy.
org-html.el is probably the best starting point to make a complete
parser.
It does a very detailed analysis of the text.
We should have built all the exporters on the same parser -
unfortunately we
did not. One of the hard to correct mistakes we made in early
development.
Then perhaps the best we can do now is starting by breaking up
org-hml.el in the parser and a callback function for writing the
export. After that we can add new exports by adding new callback
functions.