用合理的语言编写的 UNIX shell? [英] UNIX shell written in a reasonable language?

查看:26
本文介绍了用合理的语言编写的 UNIX shell?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人听说过用 Python 等合理语言编写的 UNIX shell?

Has anyone ever heard of a UNIX shell written in a reasonable language, like Python?

推荐答案

  • Eshell 是一个类似 Bash 的 shellEmacs Lisp.
  • IPython 可以用作系统外壳,尽管语法有点奇怪(支持所有 Python 以及基本的 sh 结构).
  • fish 有一个用 C 语言编写的核心,但它的大部分功能都是自己实现的.与许多稀有 shell 不同,它可以用作您的登录 shell.
  • Hotwire 值得再次提及.它的基本设计似乎是Python 中的 PowerShell",但它在 UI 方面也做了一些巧妙的事情.最后一次发布是在 2008 年.
  • Zoidberg 是用 Perl 编写的,并使用 Perl 语法.一个漂亮的项目,可惜它似乎停滞了.
  • Scsh 用作登录 shell 会很痛苦(文档中的示例命令:(run/strings (find "." -name *.c -print))),但它看起来像一个不错的Perl in Scheme".
    • Eshell is a Bash-like shell in Emacs Lisp.
    • IPython can be used as a system shell, though the syntax is a bit weird (supporting all of Python plus basic sh constructs).
    • fish has a core written in C, but much of its functionality is implemented in itself. Unlike many rare shells, it can be used as your login shell.
    • Hotwire deserves another mention. Its basic design appears to be "PowerShell in Python," but it also does some clever things with UI. The last release was in 2008.
    • Zoidberg is written in Perl and uses Perl syntax. A nice-looking project, shame it seems to have stalled.
    • Scsh would be a pain to use as a login shell (an example command from the docs: (run/strings (find "." -name *.c -print))), but it looks like a good "Perl in Scheme."
    • 这篇关于用合理的语言编写的 UNIX shell?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆