all messages for Emacs-related lists mirrored at yhetil.org
 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 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.