runme icon indicating copy to clipboard operation
runme copied to clipboard

Investigate `scriptisto` for running code

Open seivan opened this issue 9 months ago • 3 comments

scriptisto

This would simplify things, and add support for more languages, but also it would allow for running code within containers without having the entirety of RunMe itself in a container.

seivan avatar Feb 13 '25 13:02 seivan

I think that cells with scriptisto should work already. They are executed as files.

However, it might be a good inspiration for making cell execution a better experience in general. The current mechanism is very naive and does not allow any modifications or additional arguments.

adambabik avatar Feb 18 '25 22:02 adambabik

@adambabik I didn't see any references to scriptisto, maybe I missed something?

seivan avatar Feb 21 '25 08:02 seivan

I believe what @adambabik meant to say was that scriptisto should be supported via interpreter in the cell config.

I haven't tried this myself yet, @seivan. As you know, the naive mechanism Adam describes is https://github.com/stateful/runme/issues/742, where Runme matches languageID in the fenced code blocks to common runtimes with a set of fixed command line flags.

sourishkrout avatar Feb 21 '25 17:02 sourishkrout