emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Generate new babel code blocks and/or initialized code/data?


From: Lawrence Bottorff
Subject: [O] Generate new babel code blocks and/or initialized code/data?
Date: Tue, 20 Sep 2016 15:07:30 -0400

So I can run code for a REPL-type language like Clojure in a babel code block and get "results," e.g., a Clojure code block takes in a vector of mappings and produces new "results":

#+RESULTS[abc5c51bb569a82c19c4eea1c385c74e839922c7]: symmetrize-body-parts-test
| :name | head            | :size |  3 |
| :name | left-eye        | :size |  1 |
| :name | right-eye       | :size |  1 |
| :name | left-ear        | :size |  1 |
. . .

but could I generate results that aren't just static output listed after a #+RESULTS tag, rather, embedded in a newly created babel code block? I'd like such output "initialized" as far as the running REPL is concerned too. Is it possible to generate new code/data that is immediately known to the REPL session? Any examples don't have to be Clojure.

LB



reply via email to

[Prev in Thread] Current Thread [Next in Thread]