- no support for one liners because of python syntax
- commands too verbose. a line with two lambda expressions would look terrible
(All my personal preference, obviously. But I'd rather have any other language than python, even lua)
(All my personal preference, obviously. But I'd rather have any other language than python, even lua)
But I'm not convinced any high level language is a viable replacement for bash. It would have to be more functional than bash whilst still having good support for standard unix tools.
One very interesting idea I found was a macro library for racket that turns s-expressions from deeply nested structures into a much flatter representation. Lisp might be a good option with toy with because of flexibility like that.
https://www.reddit.com/r/Racket/comments/mands9/fluent_unix_...
seriously? lua shell won't even evaluate bare expressions
$ lua5.3
Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio
> 2*3
6
$ rlwrap luajit
LuaJIT 2.1.0-beta3 -- Copyright (C) 2005-2017 Mike Pall. http://luajit.org/
JIT: ON SSE2 SSE3 SSE4.1 AMD fold cse dce fwd dse narrow loop abc sink fuse
> 2*3
stdin:1: unexpected symbol near '2'
> =2*3
6