News for hackers. Stuff that matters.
Re:Pryrite: Interactively execute shell code blocks in a Mar... by pronoiac on Sunday May 08, 2022 @11:55AM (#31305176)
For doing something similar in a browser, klipse supports over a dozen languages - https://github.com/viebel/klipse
Re:Pryrite: Interactively execute shell code blocks in a Mar... by lmc on Monday May 09, 2022 @02:59AM (#31311381)
Oh, this will be great for interactive environment setup. Getting started with some of our current projects is like summoning Cthulhu and I could see us using this to set up a guided process for it.

I can see the resemblance to Notebooks/RMarkdown, but integrating it into a terminal session is a neat idea. I've not had chance to try it (I'm on Windows) but it seems really cool.

Re:Pryrite: Interactively execute shell code blocks in a Mar... by Kab1r on Sunday May 08, 2022 @06:12PM (#31308561)
org-babel has this down really well for org-mode markup you're into the Emacs ecosystem. I've been using it for a little over a year now for notes and documentation.
Re:Pryrite: Interactively execute shell code blocks in a Mar... by perrygeo on Monday May 09, 2022 @09:12AM (#31313596)
I don't get it. Any capable editor/IDE should be able to send markdown code blocks to a terminal pane, letting you work in the comfort of your standard dev environment. What's the point of a dedicated application just for this purpose?
Re:Pryrite: Interactively execute shell code blocks in a Mar... by khalidx on Tuesday May 10, 2022 @12:13AM (#31323383)
Similar, (plug) https://github.com/khalidx/runbook. Nice CLI with search, and supports many languages.
Re:Pryrite: Interactively execute shell code blocks in a Mar... by ilaksh on Sunday May 08, 2022 @02:24PM (#31306650)
Re:Pryrite: Interactively execute shell code blocks in a Mar... by w10-1 on Sunday May 08, 2022 @04:53PM (#31308055)
If you're really old, you'll remember MPW - Macintosh Programmer's workshop.

Commands used the editing document for both input and output.

Re:Pryrite: Interactively execute shell code blocks in a Mar... by woleium on Sunday May 08, 2022 @11:23AM (#31304881)
This is pretty cool, but I couldn't see if there was a way to interactively edit the line before executing
Re:Pryrite: Interactively execute shell code blocks in a Mar... by wdkrnls on Sunday May 08, 2022 @04:45PM (#31307987)
RMarkdown (and now Quarto) has had this for half a decade now and emacs org-mode for two decades.
Re:Pryrite: Interactively execute shell code blocks in a Mar... by lmc on Monday May 09, 2022 @03:06AM (#31311426)
TIL of Quarto... nice!

I think Pryrite also has value - the terminal integration could be super useful for some tasks (especially for those of us that don't know emacs or its org mode)

Re:Pryrite: Interactively execute shell code blocks in a Mar... by prpl on Sunday May 08, 2022 @12:08PM (#31305305)
Alternatively you could use a jupyter notebook with a bash kernel, yeah?
Re:Pryrite: Interactively execute shell code blocks in a Mar... by jeroenjanssens on Sunday May 08, 2022 @12:48PM (#31305711)