3 ms·
Have you met our lord and savior, Ammonite Shell on Scala? http://ammonite.io/#Ammonite-Shell http://ammonite.io/#Ammonite-Shell It has same terse syntax as ba
by zaptheimpaler 9y ago
Have you met our lord and savior, Ammonite Shell on Scala? http://ammonite.io/#Ammonite-Shell http://ammonite.io/#Ammonite-Shell
It has same terse syntax as bash but much more structured (and easy to add more) because language is powerful. The downside is its slow, but that might have changed already with Scala Native.
The key is it is full scala with some extra niceties that do the stuff bash does. So you get full power of a programming language, extended down to do stuff bash does. Better approach IMO than extending a shell "up" to more and more expressive power towards a quirky programming language.
- deleted 9y ago[deleted]
- lucozade 9y agoThe author has opinions on a number of projects in this space including Ammonite. https://github.com/ilyash/ngs#have-you-heard-of-project-x-how-it-compares-to-ngs https://github.com/ilyash/ngs#have-you-heard-of-project-x-ho...
- baldfat 9y ago> I don't think any amount of tinkering with existing languages (maybe except a lot of it with Lisp) can make these languages as usable for shell as new language that was specifically designed to be a shell language. I really am hoping that Lisp and specifically Racket can become the tool for the DSL since that is what they do really well.