Odd question, but is it possible to embed nushell in other Rust projects?

@cgranade hmm what do you mean exactly? If you're exposing your Rust code as a CLI app that should already work with NU, no? Or do you mean like shipping an executable that itself runs nutshell on some emulation layer that your Rust app has?

@zpartacoos Neither exactly; more thinking like if you want to provide other interfaces to a shell than a command-line terminal app, similar to the bash or PowerShell kernels for Jupyter.

@cgranade hmm I wasn't aware of the kernels for bash or PowerShell for Jupiter (only ecvxr, Julia and Python as far as I thought). So, do you mean that in the same way I could fireup some Python on a JP notebook, you'd like to be able to run Rust interactively through nushell? I'm still not sure I understand what you mean. If this is the case, there is already a JP kernel for Rust.

Follow

@cgranade but I fail to understand what would be the unique aspect of doing this with nushell specifically

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.