Re: We have asynchronous sessions, why have anything else?

2022-07-05 Thread Ivar Fredholm
. --- Original Message --- On Monday, June 27th, 2022 at 4:56 AM, Ihor Radchenko wrote: > Ivar Fredholm freddyho...@protonmail.com writes: > > > I believe the two could be unified if we expand the functionality of > > the async filter to look for 'exception' tags.

Re: We have asynchronous sessions, why have anything else?

2022-06-26 Thread Ivar Fredholm
and synchronous/asynchronous header arguments could be handled by the asynchronous code alone. Best, Guacho Sent with Proton Mail secure email. --- Original Message --- On Saturday, June 25th, 2022 at 10:28 PM, Ihor Radchenko wrote: > Ivar Fredholm freddyho...@protonmail.com wri

[BUG] Async execution fails to detect exceptions

2022-06-26 Thread Ivar Fredholm
Specifically for ob-python, if an exception happens before we can print the 'end' token used by async-filter, there will be no output or indication of an error. Sent with [Proton Mail](https://proton.me/) secure email.

We have asynchronous sessions, why have anything else?

2022-06-25 Thread Ivar Fredholm
A session-less block can be executed by starting a session with a special name (say "*none") which always gets killed after block execution is completed. For interpreter-less languages, we could use the shell as an interpreter (for instance, if we wanted to execute C, we could just start a

Re: Using exec functions to simplify session code

2022-06-23 Thread Ivar Fredholm
n...' code in other languages, for instance, I believe in julia this could be done by an 'include'. Best, Guacho Sent with Proton Mail secure email. --- Original Message --- On Thursday, June 23rd, 2022 at 7:53 PM, Tim Cross wrote: > Ivar Fredholm freddyho...@protonmail.com writes:

Using exec functions to simplify session code

2022-06-23 Thread Ivar Fredholm
I have been browsing the orgmode code and it feels like we have to do a lot to implement sessions. At least for Python or Julia, I am wondering if we could instantiate an interpreter, and send the code as a single 'exec' or 'include' command. Other languages like R and groovy also have