all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Isaac <isaacpei@gmail.com>
To: emacs-orgmode@gnu.org
Subject: proposal for a tool to translate orgmode outlines into programs
Date: Fri, 4 Oct 2013 16:38:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20131004T183836-496@post.gmane.org> (raw)

proposal for a tool to translate orgmode outlines into programs

Idea: 
    a program to translate orgmode note into script/programs which can be 
used as a template/starting point for a real program after debugging, 
refactoring. 

Background and reasons: 
    As I am accumulating more orgmode notes for problem solving, task 
planning, project coordination,  I think it would be nice if a tool can 
translate the orgmode (especially those problem solving ones) into programs 
(as much as it can)- at least a program skeleton, where after 
ideas(outlines) are done, we can generate a corresponding program which can 
be quickly edited/debugged/re factored/tightened up to be useful running 
programs - to facilitate problem solving and task repetition in the future.


Questions and Discussions:
    1. whether this would be a worthwhile idea, or such idea has been tried 
before?

    2. do we have alternative solutions?

    3. if indeed this idea is interesting, what programming language it 
would e worthwhile to translate to?  
        currently I am thinking more along of the line of python, as its 
indenting structure more or less resemble outlines. (though my personal take 
for writing script is in ruby, lua is another interesting choice). this 3rd 
question is what I don't know for sure, I found for me ruby is more 
productive for scripting, and python has better supports ... 
        ruby could be another attractive choice - level 1 headlines maybe 
translated to a class, while other levels translate to methods ...
        

    Welcome your comments and ideas

    thanks, Isaac

    (while I am doing some search, found 
    1. the reverse direction of this is: https://github.com/bjonnh/PyOrgMode 
- python reading and writing orgmode, but would I would prefer is orgmode => 
python/ruby instead.
    2. another candidate is tangle - but idea here is different, not to 
export codes written in orgmode, but to translate/turn orgmode text directly 
into codes.
    3. an interesting node.js parser for orgmode: 
https://github.com/daitangio/org-mode-parser

    Some further elaboration:
        1. say if a headline is an action:
            translate to def ... a function
        2. say if a headline is some description:
            translate to class ...
        3. some long lines can be simply turned to comments/docstring
        4. ... maybe ... some NLP can be used to decide what actions to 
take?

             reply	other threads:[~2013-10-04 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04 16:38 Isaac [this message]
2013-10-04 17:12 ` proposal for a tool to translate orgmode outlines into programs Thomas S. Dye
2013-10-04 22:42   ` Isaac
2013-10-05  7:11     ` Thorsten Jolitz
2013-10-05 13:53 ` Eric Schulte
2013-10-05 17:39   ` Isaac

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

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

  git send-email \
    --in-reply-to=loom.20131004T183836-496@post.gmane.org \
    --to=isaacpei@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.