Scripting in Common Lisp
21–30 of 41 posts
Re: Scripting in Common Lisp
#22I'm somewhat baffled that Hy didn't gain any traction. Let's review the facts: - A lot of people love Python. - Plenty of people love Lisps, afaict with a sizeable overlap with the first group. - Hy, which is a Lisp on the Python platform, has no popularity whatsoever compared to other Lisps like Clojure. The heck?
Re: Scripting in Common Lisp
#23Where is your piping example?
https://github.com/zhaqenl/pelo/blob/master/pelo.lisp#L112
(defun get-ping (host)
"Get ping reply from host."
(inferior-shell:run/ss
`(inferior-shell:pipe (ping -c 1 ,host) (grep "time=")
(sed -e "s/^.*time=//;s/
*ms$//"))))
The idea is from a similar project in a different Lisp dialect:Re: Scripting in Common Lisp
#24I'm somewhat baffled that Hy didn't gain any traction. Let's review the facts: - A lot of people love Python. - Plenty of people love Lisps, afaict with a sizeable overlap with the first group. - Hy, which is a Lisp on the Python platform, has no popularity whatsoever compared to other Lisps like Clojure. The heck?
Not that many. And not that many are non-pragmatic enough to mess with a translation layer.
Re: Scripting in Common Lisp
#25I'm somewhat baffled that Hy didn't gain any traction. Let's review the facts: - A lot of people love Python. - Plenty of people love Lisps, afaict with a sizeable overlap with the first group. - Hy, which is a Lisp on the Python platform, has no popularity whatsoever compared to other Lisps like Clojure. The heck?
Java programmers on the other hand always seem to be looking for a reason to not use Java. But Python programmers? Always looking for a reason to use more Python.
FWIW: A lot of people also don't love Python. I particularly hate it, but the things (I perceive) it's bad at, Hy doesn't help with.
Re: Scripting in Common Lisp
#26I'm somewhat baffled that Hy didn't gain any traction. Let's review the facts: - A lot of people love Python. - Plenty of people love Lisps, afaict with a sizeable overlap with the first group. - Hy, which is a Lisp on the Python platform, has no popularity whatsoever compared to other Lisps like Clojure. The heck?
To me, this looks like kids playground rather than serious project.
If Hy developers doesn't know how to evolve language properly, especially hosted one, which is challenging for itself, I'd suggest they look at Clojure or take some proper language development course.
Re: Scripting in Common Lisp
#27I use scripting extensively in Clojure, both on the JVM and on Planck (JS). You have the choice of slower startup times but a ton of libraries to do anything you want, versus short start-up times but less libraries, using the same language. I use https://github.com/l3nz/cli-matic as a wrapper and it works on both.
Re: Scripting in Common Lisp
#28It's not common lisp, but most of my Emacs use has been as a shell scripting alternative. Workflow being based around interactive improvement of a script from a simple interactive-macro through to things that are effectively done as shell scripts. The end result is something that can be run as a shell script, although translating to another language i.e. CL, Ruby, Go, etc. is the usual path for me to make better use…
Emacs is my favourite software, but elisp is one of my least favourite lisps. The other day I stumbled upon Shen language after some years and noticed it now has BSD license and an elisp implementation. I tried to add it to spacemacs and, to my surprise, it just worked. When I have some spare time the next thing I'll do will be to learn some Shen and see if for shell scripting it is an improvement over elisp.
Re: Scripting in Common Lisp
#29I use scripting extensively in Clojure, both on the JVM and on Planck (JS). You have the choice of slower startup times but a ton of libraries to do anything you want, versus short start-up times but less libraries, using the same language. I use https://github.com/l3nz/cli-matic as a wrapper and it works on both.
Using modern Clojure's clj is so much easier than the CL procedure.
Re: Scripting in Common Lisp
#30Earlier quoted context omitted.
Emacs is my favourite software, but elisp is one of my least favourite lisps. The other day I stumbled upon Shen language after some years and noticed it now has BSD license and an elisp implementation. I tried to add it to spacemacs and, to my surprise, it just worked. When I have some spare time the next thing I'll do will be to learn some Shen and see if for shell scripting it is an improvement over elisp.
Wow! thanks for pointing out there is an Elisp Shen implementation!