Following on from my proposal for an extended `switch` syntax, I've implemented it as an library. The syntax isn't quite as straightforward as in the proposal but it keeps to the same principles.
npmjs.com/package/expressive-s

Follow

Next I want to learn how to implement it as a macro

Sign in to participate in the conversation
Kith Kitchen

All about food, friends, cooking and community.