5 ms·
It has been discussed many times already. Projects like this don't produce a Lisp. It's a toy, Lisp-like language at best. Calling it a Lisp does a disservice t
by nesarkvechnep 5y ago
It has been discussed many times already. Projects like this don't produce a Lisp. It's a toy, Lisp-like language at best. Calling it a Lisp does a disservice to the proper languages in the family.
- Turing_Machine 5y agoProducing a full-blown Lisp does not appear to be the primary purpose of this project Rather, it's an attempt to judge the verbosity of various languages by writing the same small interpreter in each of those languages. I'm not entirely convinced that this is a definitive way of doing this, but that's what the author is trying to do. It says as much on the project page.
- throwaway34241 5y agoI think it's pretty clear from the description that it's only a ~250 line toy project. Looks like it's meant to act as a test for implementing the same project in different languages. Given that all the implementations were around 10% of each other it doesn't seem like a particularly conclusive result (as far as line count goes, which looks like it was the main metric). At that point minor things like code formatting will make a lot of difference (for example the C# solution is the shortest, but they're using a more concise brace style than the standard one for C#).
- igouy 5y ago> … minor things like code formatting will make a lot of difference… Which is why the benchmarks game does this — https://benchmarksgame-team.pages.debian.net/benchmarksgame/how-programs-are-measured.html#source-code https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- deleted 5y ago[deleted]
- jyriand 5y agoDo you know of any project that has produced "a Lisp" language?
- divs1210 5y agoMAL: https://github.com/kanaka/mal https://github.com/kanaka/mal
- gilch 5y agoHissp: https://github.com/gilch/hissp https://github.com/gilch/hissp
- martyalain 5y agohttp://lambdaway.free.fr/lambdawalks/?view=lambdacode2 http://lambdaway.free.fr/lambdawalks/?view=lambdacode2
- fsloth 5y agoExcuse the following harshness. But it is due to the dismissive tone I am responding to. Bullshit. "Lisp" is completely adequate description of a specific succint, elegant and infinitely portable formalism to describe programs - even without the ecosystem. It is compact and elegant. The concepts within a Lisp like system can be expanded to help in myriad programming tasks. It's like a koan that cannot be repeated enough until every programmer has implemented a lisp interpreted at least once. I refer to the "Roots of Lisp". http://languagelog.ldc.upenn.edu/myl/llog/jmc.pdf http://languagelog.ldc.upenn.edu/myl/llog/jmc.pdf
- the-smug-one 5y agoMeh, I agree with the parent you're responding to. Calling these toys Lisp just leads to more ignorance in the general public. "Oh, Lisp is so small and elegant" and "Lisp is totally impractical because it's so small" are just blatantly incorrect for any "industrial strength" Lisp produced in the past 40 years. Whether Scheme is a Lisp or not is also an internal debate. Not that it matters much, Scheme is a nice base. JMC's first Lisp paper had goto in it[0] and was described in terms of the hardware it ran on, is this part of the compact and elegant formalism which you are thinking of? If you want a compact and elegant formalism then grab the untyped lambda calculus. If you want a Lisp, then at least make something with a GC and macro system. [0] https://web.archive.org/web/20130319041509/http://www-formal.stanford.edu/jmc/recursive/node4.html https://web.archive.org/web/20130319041509/http://www-formal...
- fsloth 5y agoI think we have two schools of thought here. The first appreciates lisp as a formalism, and the second as an industrial strength language. I don't see why the other would invalidate the other. Tiny lisp interpreters cherish Lisp as a small formalism that for some people help understand computing on a deeper theoretical level. It can also be jury rigged on top of any substrate to implement various ad-hoc systems (Greenspuns tenth rule very much applies here). The fact that we use Lisp in Greenspun 10th form or as a syntax to think about programs does not mean it would be nice to have Lisp production systems. I don't see how small lisp interpreters would be offensive to anyone. They are pure joy in my opinion, expressing neatly how a topic that sound fairly complex (interpreters) is actually expressible in elegant and succint form. On public: "more ignorance in the general public" I don't know how much public sentiment matters in deep professional fields. I don't need to know how neurosurgeons think about their craft - why should a neurosurgeon know what Lisp is? SICP is such a legendary book that it should hold Lisp's flag high enough in my opinion.