42 points · by todsacerdoti · 3y ago · 17 comments
We're also starting to use the "Oils for Unix" name.
Can’t wait for the book “Essential Oils for Unix” to come out.If you want a picture in your head, the Unix Magic Poster isn't a bad one :)
And this only changes OSH, not YSH / Oil, which is still statically parsed.
It's true that most of the strictness has become opt-in rather than opt-out, but it's still there! So you can choose it if you want.
The Oil language / YSH is basically just OSH, with a bunch of strict options and new features on top (with new syntax)! Surprisingly, that's enough to make it a brand new language.
I thought it was a shell that competes with bash but doesn’t try to be strictly posix.
Now there’s oil language, OSH and oil for Unix?
OSH - POSIX and bash-compatible shell. (The most bash-compatible shell by a mile!)
YSH (formerly Oil) - new language with Python- and JS-like data structures, Ruby-like blocks. You can upgrade smoothly from OSH to YSH.
"Oils for Unix" (formerly "oilshell") -- the whole project, which includes OSH, YSH, and data serialization languages based on JSON.
The old names were confusing because the project was called Oil, and it also had a part called Oil. People reasonably assumed those were the same thing.
Also there was "OSH", the compatible shell -- but people reasonably thought that just mean "Oil shell". It's all spelled out on the web site, and in the glossary (both of which I will update), but I understand the confusion.
More rationale for renaming here: https://lobste.rs/s/qrbcue/oil_0_14_2_interactive_shell_conc...
Personally I found that the best introduction for me to actually understand what the different parts do (mainly OSH and Oil Shell) was the Github wiki, particularly "OSH versus Oil" and the two Migration guide posts. Even reading several of your posts, I didn't fully understand what being "an upgrade path from bash" actually meant until I saw the mechanics of how the process would go, and then it all clicked for me.
I think a guided walkthrough of the "upgrade" process would be very valuable to help people understand what the goal is, and would be a good introduction to the project.
http://www.oilshell.org/blog/2021/12/backlog-language.html
I will take your point about walking through the upgrade process. Some things are still not stable so I've been hesitant to "recommend" it, but I think we can just make that clear. Most languages go through a big period of breakages before they get stable
And to be clear OSH is very stable, while YSH isn't. (Next post will also have a list of breaking changes)
Few will gain clarity by an old english meaning of "oils" and "old shell"/"young shell" isn't really gaining many favors in searches even versus the infamous "oil shell"/"shell oil" problem. If it's an extended bourne compatible shell everyone is already used to the pattern of sh, ash, and dash/bash so why not just let osh be "oil shell" as people have already been expecting. Instead of "ysh" it could be something like olang (or maybe oilang, but that's a tougher topic because of the l/ll dilemma) for the programming focused incantation? Searches would be "osh shell" and "olang" just like people Google search for "fish shell"/"bash shell" and "golang"/"ziglang" today.
With osh/olang it's clear what each is intended to focus on, they use existing intuitive naming patterns, search patterns match how people already search about shells, having 2 separate incantations nearly explains itself by name, and you don't need to know about the overall "oils" but when you do the differences already makes sense.
I don't see the difference between osh / olang vs. osh / ysh ? Why is the former clearer than the latter?