3 ms·
You mean using something like typescript as a shell language? That could work and it would leverage the javascript runtime and yet provide the rich type system
by ale22 7y ago
You mean using something like typescript as a shell language? That could work and it would leverage the javascript runtime and yet provide the rich type system and benefits.
- mamcx 7y agoI don't focus in the language itself but in how interface between utilities. The shell is a place for a light scripting layer and make talk apps in many langs. Instead in what the utilities talk. Like in a REST interface you declare the kind of data (table, tree, lines of text, a binary blob) and this unlock what combinatory commands are available (so for table/lines you get relational commands for example) that are global. So the utilities are mostly concerned about their input/outputs. Probably for efficience the utilities get a REQUEST call alike: GET /list: WHERE name = "hello" to have the opportunity of do the processing inside.