4 ms·
Using Chez Scheme as a Shell
- sevensor 8y agoI could see taking this approach if the outer-most pair of parentheses was implicit. Could be this is how it's already done? I've never tried a Scheme shell.
- bibyte 8y agoA very similar idea is the Wisp[1] mode in Guile. 1. https://www.draketo.de/proj/wisp/ https://www.draketo.de/proj/wisp/
- sevensor 8y agoInteresting! I've been using F# lately, which perhaps shows the limits of the idea. I find myself wishing all of the expressions were parenthesized. Which surprises me a bit because my day-to-day language is Python and I'm entirely comfortable with significant whitespace in a procedural context.