zlacker

[parent] [thread] 3 comments
1. maxloh+(OP)[view] [source] 2026-01-07 18:27:25
Nushell commands are really great, so great that they are even better than the standard library of some languages. However, the language itself isn't very intuitive to learn.

I wish Nushell and Python/TypeScript have a baby one day.

replies(2): >>Barrin+k8 >>bflesc+Qi
â—§
2. Barrin+k8[view] [source] 2026-01-07 19:01:44
>>maxloh+(OP)
well if you want a python/shell hybrid there's always xonsh (https://xon.sh/). Really great in particular for people like me who are bash-challenged. I do like Nushell too but I also always had problems remembering the actual language.
replies(1): >>maxloh+by
â—§
3. bflesc+Qi[view] [source] 2026-01-07 19:48:54
>>maxloh+(OP)
> I wish Nushell and Python/TypeScript have a baby one day.

That would be nice. Or a TypeScript transpiler to rust ;)

â—§â—©
4. maxloh+by[view] [source] [discussion] 2026-01-07 20:52:21
>>Barrin+k8
I actually meant something like that with Nushell commands. They output structured data that Python and JavaScript can easily leverage in theory.

  C: > ls
  ╭────┬────────────────────────┬─────────┬─────────┬──────────────╮
  │  # │          name          │  type   │  size   │   modified   │
  ├────┼────────────────────────┼─────────┼─────────┼──────────────┤
  │  0 │ Program Files          │ dir     │  8.1 kB │ 2 hours ago  │
  │  1 │ Program Files (x86)    │ dir     │  8.1 kB │ 2 months ago │
  │  2 │ Users                  │ dir     │  4.0 kB │ 4 months ago │
  │  3 │ Windows                │ dir     │ 16.3 kB │ 4 days ago   │
  ╰────┴────────────────────────┴─────────┴─────────┴──────────────╯
[go to top]