[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] I need help extending ob-ocaml to support :results output
From: |
Alan Schmitt |
Subject: |
Re: [O] I need help extending ob-ocaml to support :results output |
Date: |
Mon, 24 Mar 2014 13:45:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) |
Eric Schulte <address@hidden> writes:
> You can step through the execution of `org-babel-execute:ocaml' by first
> evaluating the function with a prefix argument (meaning with the cursor
> within the function body press C-u C-A-x) which will edebug [1] the
> function.
>
> You can then evaluate an OCaml code block and when execution hits the
> `org-babel-execute:ocaml' it will pause, and you can step through the
> function by continuously pressing space bar. In this way you can see
> how the code is executed, and you can interactively look at the OCaml
> session buffer to see where output is printed. Pay special attention to
> the `org-babel-comint-with-output' function, which is probably where
> you'll need to make changes when the following holds.
>
> (member "output" (cdr (assoc :result-params params)))
>
> You can also look for the string "output" in other ob-*.el language
> files to see how output results are collected.
>
> Hope this helps,
It does, thanks a lot.
Alan
- [O] I need help extending ob-ocaml to support :results output, Alan Schmitt, 2014/03/21
- Re: [O] I need help extending ob-ocaml to support :results output, Eric Schulte, 2014/03/23
- Re: [O] I need help extending ob-ocaml to support :results output,
Alan Schmitt <=
- Re: [O] I need help extending ob-ocaml to support :results output, Alan Schmitt, 2014/03/26
- Re: [O] I need help extending ob-ocaml to support :results output, Alan Schmitt, 2014/03/29
- Re: [O] I need help extending ob-ocaml to support :results output, Bastien, 2014/03/29
- Re: [O] I need help extending ob-ocaml to support :results output, Nicolas Goaziou, 2014/03/29
- Re: [O] I need help extending ob-ocaml to support :results output, Alan Schmitt, 2014/03/29
- Re: [O] I need help extending ob-ocaml to support :results output, Nicolas Goaziou, 2014/03/29
- Re: [O] I need help extending ob-ocaml to support :results output, Alan Schmitt, 2014/03/29
- Re: [O] I need help extending ob-ocaml to support :results output, Nicolas Goaziou, 2014/03/29