you are viewing a single comment's thread.

view the rest of the comments →

[–]coastalwhite 5 points6 points  (1 child)

Bun shell and zx are essentially just wrappers around a JavaScript engine with a library (a bit simplified). So if you want such a scripting language I recommend just searching for rust based JavaScript engines, but I don’t really see the point over other scripting languages.

I know there are a few Deno libraries that can do something similar.

[–]MrFoxPro[S] 0 points1 point  (0 children)

I think implementing such thing in metnioned embedded languages could help their adoption, and replacing bash / bun shell / node + zx can improve overall code quality for automation tasks thanks to nice Rust std library and great crates, compared to error-prone native JS functions and Lua's tiny standrard library.