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
Language Design
The Command Language
The Word Language
The Expression Language
Languages for Data (Interchange Formats)
The Shared Runtime
For Contributors
Internal Details

Preliminaries

OSH is a Compatible Shell

These docs are for advanced users:

Reference:

Oil is a New Shell Language

Reference:

Language Design

The Command Language

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

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

For Contributors

Internal Details


Generated on Thu May 19 20:44:26 EDT 2022