emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* I need help extending ob-ocaml to support :results output
@ 2014-03-21 16:35 Alan Schmitt
  2014-03-24  1:50 ` Eric Schulte
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2014-03-21 16:35 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

It seems that ob-ocaml does not support ":results output". For instance,
evaluating the following block:

#+begin_src ocaml :results output
Printf.printf "foo\nbar\n";;
#+end_src

Does not result in the two lines "foo" and "bar" but in the value being
returned.

Unfortunately I don't know enough of babel and emacs-lisp to extend
ob-ocaml to support this. Would someone be willing to guide me through
the `org-babel-execute:ocaml' function in ob-ocaml.el so that I can add
this functionality?

Thanks,

Alan

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-03-29 19:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-21 16:35 I need help extending ob-ocaml to support :results output Alan Schmitt
2014-03-24  1:50 ` Eric Schulte
2014-03-24 12:45   ` Alan Schmitt
2014-03-26 21:39   ` Alan Schmitt
2014-03-29 11:07     ` Alan Schmitt
2014-03-29 11:26       ` Bastien
2014-03-29 14:03       ` Nicolas Goaziou
2014-03-29 18:23         ` Alan Schmitt
2014-03-29 18:43           ` Nicolas Goaziou
2014-03-29 18:52             ` Alan Schmitt
2014-03-29 19:08               ` Nicolas Goaziou

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).