Notices by Lisp Witch (alexandria@catgirl.science)
-
Lisp Witch (alexandria@catgirl.science)'s status on Sunday, 20-Sep-2020 08:12:41 JST Lisp Witch @toast @nik @shmibs The shell isn't homoiconic, is stringly typed, and goes out of it's way to avoid you from operating on list-like datastructures (arrays)Seems like a pretty far call from saying it's a lisp? I mean you could argue that it's string separation parsing are *kind of like lists* but that's a weak argument imo.Also, worth noting that Lisp was originally designed to use M-Expressions, which are kind of like like normal programming syntax, they never caught on, though. So S-Expressions aren't necessary, but the homoiconicity between the language's data structures and the actual internal representation *is* because that's 90% of what sets a lisp apart from everything else. -
Lisp Witch (alexandria@catgirl.science)'s status on Sunday, 20-Sep-2020 08:12:40 JST Lisp Witch @toast @nik @shmibs Ah, yes I'd forgotten that shell requires first class functions (and schemes continuations and closures, too).I've... actually never tested... if bash/sh/mksh has first class functions... -
Lisp Witch (alexandria@catgirl.science)'s status on Sunday, 20-Sep-2020 08:12:38 JST Lisp Witch @toast @nik @shmibs Yeah, but that's the same for most languages and I don't think we could argue that (insert language here) has first class functions just because it has eval?Although, it's literally been 2 years since I was reading and doing language stuff on a serious level so, 99% of what I say is half-remembered lol -
Lisp Witch (alexandria@catgirl.science)'s status on Sunday, 20-Sep-2020 08:12:36 JST Lisp Witch @toast @nik @shmibs Yeah, I mean /I guess/, I don't have to like it though!! :D Sidenote, idk if yall know about c2 wiki but there's genuinely interesting discussion on this topic there:https://wiki.c2.com/?EmExpressionshttps://wiki.c2.com/?HigherOrderFunctionhttps://wiki.c2.com/?StringlyTyped:) -
Lisp Witch (alexandria@catgirl.science)'s status on Sunday, 20-Sep-2020 08:12:34 JST Lisp Witch @toast @nik @shmibs (but no yeah that does sound cool!)