Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Unix shell written in Go
Go TeX
Branch: master
Failed to load latest commit information.
bin Rearranging.
img Rearranging.
lib Start allowing builtins to raise exceptions.
pkg Start allowing builtins to raise exceptions.
LICENSE Update license.
MANUAL.md Describe rational type.
README.md Rearranging.
main.go Rearranging.

README.md

oh

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.

For more detail see: Using oh

Installing

Until Go 1.5 is released, building oh requires building Go from source, after switching to the master (development) branch. For instructions on how to do this see: Installing Go from source

After building Go, you can install oh by typing:

go get github.com/michaelmacinnis/oh

Oh compiles and runs, but should be considered experimental, on Windows.

License

Oh is released under an MIT-style license.

Something went wrong with that request. Please try again.