Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oils-for-unix/oils
Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
https://github.com/oils-for-unix/oils
Last synced: 3 days ago
JSON representation
Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
- Host: GitHub
- URL: https://github.com/oils-for-unix/oils
- Owner: oils-for-unix
- License: other
- Created: 2016-11-15T19:19:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T04:20:44.000Z (about 2 months ago)
- Last Synced: 2024-10-29T15:10:55.014Z (about 1 month ago)
- Language: Python
- Homepage: http://www.oilshell.org/
- Size: 44.4 MB
- Stars: 2,842
- Watchers: 39
- Forks: 156
- Open Issues: 527
-
Metadata Files:
- Readme: README-native.txt
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-python-applications - Repo - and [dash](https://en.wikipedia.org/wiki/Almquist_shell#dash:_Ubuntu,_Debian_and_POSIX_compliance_of_Linux_distributions) backwards-compatible shell, with an improved language of its own. `(linux)` (<a id="tag-dev" href="#tag-dev">Dev</a> / <a id="tag-dev.shell" href="#tag-dev.shell">Shell</a>)
- awesome-repositories - oils-for-unix/oils - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell! (Python)
- jimsghstars - oils-for-unix/oils - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell! (Python)
README
Oils for Unix
=============Oils is a small tool that unifies shell, Python, regexes, JSON, and YAML. It's
our upgrade path from bash to a better language and runtime!https://www.oilshell.org/
This is fast shell in C++, completed in 2024. Its source code is generated
from a reference implementation in Python, but it relies on no Python code.To use it, run:
./configure # detects whether GNU readline is installed, etc.
_build/oils.sh # builds optimized binary
sudo ./install
All you need is a C++ compiler.Then try:
osh -c 'echo hi'
osh -n -c 'echo hi' # parse a script
ysh -c 'json write ({foo: 42})'
Feedback:
https://github.com/oilshell/oil/issues
More build configuration
------------------------You can pass the compiler and build variant to _build/oils.sh:
_build/oils.sh ~/install/cosmocc/bin/cosmoc++ dbg
The default values are 'cxx' (c++ system compiler), and 'opt' (optimized build)
You can also override the variables documented at the top of
build/ninja-rules-cpp.sh (e.g. BASE_CXXFLAGS, CXXFLAGS)