oh

A surprisingly powerful Unix shell

Github星跟踪图

A surprisingly powerful Unix shell

Description

Oh is a Unix shell. If you've used other Unix shells, oh should feel
familiar.

gif

Where oh diverges from traditional Unix shells is in its programming
language features.

At its core, oh is a heavily modified dialect of the Scheme programming
language, complete with first-class continuations and proper tail
recursion. Like early Scheme implementations, oh exposes environments
as first-class values. Oh extends environments to allow both public and
private members and uses these extended first-class environments as the
basis for its prototype-based object system.

Written in Go, oh is also a concurrent programming language. It exposes
channels, in addition to pipes, as first-class values. As oh uses the
same syntax for code and data, channels and pipes can, in many cases, be
used interchangeably. This homoiconic nature also allows oh to support
fexprs which, in turn, allow oh to be easily extended. In fact, much of
oh is written in oh.1

For a detailed comparison to other Unix shells see: Comparing oh to other Unix Shells

Installing

With Go 1.5 or greater installed,

go get github.com/michaelmacinnis/oh

According to gox, oh compiles on the
following platforms:

darwin/386
darwin/amd64
dragonfly/amd64
freebsd/386
freebsd/amd64
freebsd/arm
linux/386
linux/amd64
linux/arm
linux/arm64
linux/ppc64
linux/ppc64le
netbsd/386
netbsd/amd64
netbsd/arm
openbsd/386
openbsd/amd64
plan9/386
plan9/amd64
solaris/amd64
windows/386
windows/amd64

(Oh compiles and runs on Plan 9 and Windows but should be considered
experimental on those plarforms. On Solaris, interactive features are
limited).

Using

For more detail see: Using oh

License

MIT

1. ^ Currently,
485 of 7046 lines of code are written in oh with an
additional 980 lines of Go generated by 175 lines
of oh.

主要指标

概览
名称与所有者michaelmacinnis/oh
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2011-05-17 14:21:33
推送于2023-09-19 17:46:30
最后一次提交
发布数6
最新版本名称v0.8.3 (发布于 )
第一版名称v0.4.8.16 (发布于 2019-02-13 10:36:22)
用户参与
星数1.4k
关注者数38
派生数55
提交数1k
已启用问题?
问题数46
打开的问题数3
拉请求数1
打开的拉请求数1
关闭的拉请求数5
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?