source |
all versions |
oilshell.org
Oil 0.7.0
2020-01-20
This is the home page for version 0.7.0 of Oil, a Unix shell. To use it,
- Download a source tarball.
- Build and install it, as described in INSTALL.
These steps take 30 to 60 seconds on most machines. After that, you can
assemble an oshrc
file, which is described in the
manual.
Test results, metrics, and benchmarks are shown below.
Download
|
File / SHA256 checksum |
Size |
|
|
oil-0.7.0.tar.xz |
1,112,656 |
|
a37eb491ffee5766aa8719056d42d5d836309dc26e345ecd6a2a1d240cd18989 |
|
oil-0.7.0.tar.gz |
1,532,752 |
|
da462387a467661cb9d0ec9b667aecd7be3f54ce662cfbb2292f4795fd3f7f20 |
|
oil-native-0.7.0.tar.xz |
106,668 |
|
a48052d04f55b34c0bcf791cfbd3a34ebfe0e6955a1662d5230703e49e99adfb |
Note: oil-native
is a preview release, not a working shell.
What's New
Documentation
Oil has three major sources of docs:
Metrics
- Lines of source, counted in different ways:
- osh-cloc. OSH and common
libraries, as measured by the cloc tool.
- src. The whole Oil repo organized by
type of source file.
- oil-cpp. The C++ code in the
oil-native
tarball.
- OPy. How much code is in the OPy
toolchain?
- Lines of dependencies:
- pydeps. Oil code plus the Python
standard library.
- nativedeps. Oil code plus A
slice of CPython.
- Bytecode Metrics
- OVM / CPython
- overview - An analysis of GCC's
compilation of OVM (a subset of CPython). Bloaty provides the
underlying data.
- cpython-defs/overview - We try to
ship as little of CPython as possible, and this is what's left.
oil-native
. The future of Oil is pure native code.
Tests
Main Test Suites
Other Suites
For OPy
The OPy compiler is used to compile Oil to bytecode, but isn't itself part of
the release.
Tree-shaking:
Manual Tests
- [ ] Test build and install on OS X
Benchmarks
Source Code
These files may help you understand how Oil is implemented, i.e. with
domain-specific languages and code generation.
- _devbuild/gen/id.h. A list of language
elements, used in the lexer and in multiple parsers and evaluators.
- The regex-based lexer uses two stages of code generation:
- frontend/syntax.asdl. The syntax tree
for OSH and Oil.
- oil_lang/grammar.pgen2. The
expression grammar for Oil. In contrast, the OSH parsers are hand-written.
Also see the oilshell/oil repository.
Generated on Sun Jan 19 22:59:37 PST 2020