Warning: Work in progress! Leave feedback on Zulip or Github if you'd like this doc to be updated.

Oil Documentation

The Oil project aims to transform Unix shell into a better programming language. It's our upgrade path from bash. It's for Python and JavaScript programmers who avoid shell.

Table of Contents
Preliminaries
OSH is a Compatible Shell
Oil is a New Shell Language
Notes on Language Design
The Command Language
The Word Language
The Expression Language
Languages for Data (Interchange Formats)
The Shared Runtime
Internal Details
For Contributors

Preliminaries

OSH is a Compatible Shell

Reference:

Oil is a New Shell Language

Reference:

Notes on Language Design

The Command Language

Commands are made of words, keywords, and other operators. They're for I/O, control flow, and bastraction.

The Word Language

Words are expressions for strings, and arrays of strings.

The Expression Language

Oil has typed expressions, like Python and JavaScript.

Languages for Data (Interchange Formats)

Oil supports these languages for data, which are complementary to languages for code.

The Shared Runtime

Internal Details

For Contributors


Generated on Mon Oct 4 22:43:39 EDT 2021