6 ms·
This is an honest question: why create a lisp instead of a scheme? What is the fundamental feature that makes NewLisp a LISP more that a scheme language?
by amirouche 11y ago
This is an honest question: why create a lisp instead of a scheme? What is the fundamental feature that makes NewLisp a LISP more that a scheme language?
- lispit 11y agonewLISP is not a derivative of Common Lisp or Scheme or any other Lisp. It's a different language in a similar style. I wish the Common Lisp camp wasn't so insistent on equating "Lisp" to "Common Lisp." It's annoying having to tiptoe around them by saying "Lisp-like language."
- lispm 11y agoWhy would I call a 'new' language 'Lisp' when it can't run a single line of Lisp code from the past 50 years? Give it a different name. Not every random language which happens to use parentheses in some way needs to be called Lisp.
- weland 11y agoIt's very much a Lisp dialect in the sense of McCarthy's Lisp. There is some life beyond Common Lisp :).
- lispm 11y agoIt isn't. Newlisp shares that not much with McCarthy's Lisp. newlisp does not even have linked lists, it has a different evaluation model, ..., no GC. Languages like Standard Lisp, Franz Lisp, ISLisp, Eulisp, Emacs Lisp, Visual Lisp are in the Lisp tradition and share a core language. newlisp is a different language. Call it ParenthesesScript, ContextScript or something like that.
- weland 11y ago> does not even have linked lists Conses are different in newlisp, but it certainly does have linked lists: > In newLISP, there are no dotted pairs. Instead, each newLISP cell contains one object and a pointer to another object if the cell is part of a list. > different evaluation model That one is true, yes. > no GC No, but it implements McCarthy's original intent through the ORO scheme. NewLisp's ORO thing is very annoying if you ask me, but it does its job; it achieves the same thing that McCarthy mentioned in his paper: "This process [...] is more convenient for the programmer than a system in which he has to keep track of and erase unwanted lists. Its efficiency depends upon not coming close to exhausting the available memory with accessible lists etc." Let's not delude ourselves here. NewLisp is not necessarily one of the "better" Lisp implementations, but it has S-expressions, Scheme-like function application and automatic memory management. I think that's reason enough to call it SomethingLisp.
- lispm 11y ago> Conses are different in newlisp, but it certainly does have linked lists These are different. newlisp seems to have a list cell, which then points to linked content cells. A mechanism which is different from any other Lisp dialect.
- dragonwriter 11y ago> newlisp does not even have linked lists No, it does. Linked list are the fundamental data structure; the difference with respect to linked list from other lisps is, in fact, that in newLisp linked lists are fundamental, not just one application of cons cells, so you can't have a cons cell where cdr is not a proper list.
- hellofunk 11y ago99% of the time, the word "lisp" does not mean "Common Lisp" specifically. When you mean Common Lisp, you say Common Lisp. When you mean any language in the family of lisp languages, you say lisp. This includes hundreds of languages.
- junke 11y ago99% of the time? Common.
- lispm 11y agoEver heard of Lisp 1.5, UCI Lisp, MacLisp, ISLisp, New Implementation of Lisp, Lisp Machine Lisp, Standard Lisp ,Franz Lisp, Emacs Lisp, ISLisp, Autolisp, Visual Lisp, and many many other Lisp dialects? Notice something? These all have Lisp in their name. They all share a core language. None of those is Common Lisp, but Common Lisp is directly related to them, since it also shares the same core language. Common Lisp can easily run Lisp code from 50 years ago. Newlisp can't.
- hellofunk 11y agoTo be honest, I'm not sure what point you are making. But I know that my point still stands.
- junke 11y agoWhen people developped Rust or Go, did they say "this is a C", or "This is newC"? They said: "this is new language with a C-like syntax with such and such features". Why not be precise?
- hellofunk 11y agoto be fair though, lisp is about a lot more than just its syntax
- lispit 11y agoWhen Stroustrup created C++ or Hejlsberg created C#, did C progammers spend decades whining about their choice of names and alienating newcomers?
- muuh-gnu 11y agoThey didnt have to, neither Stroustrup nor Hejlsberg called their languages "a C".
- delish 11y agoI notice that the old-school Common Lispers tend to call their language "Lisp." I (a new-school one) always say CL or Common Lisp. I'm not sure why they do that. When I say "a lisp" or "lisp" I'm referring to the family of languages or some idealized lisp.
- orthecreedence 11y agoI call CL "lisp." The reason is that CL was invented to unify lisps. It did a great job. There are no other contenders in the space. Other languages in the lisp family have their own names. A language can be "a lisp" or in the "lisp family", but in my eyes Lisp is (Common) Lisp. Scheme is Scheme. Clojure is Clojure. Etc.
- zeveb 11y ago> I wish the Common Lisp camp wasn't so insistent on equating "Lisp" to "Common Lisp." But that's what Common Lisp is: it's the common Lisp-like language which (should have) united all the disparate dialects of Lisp. > It's annoying having to tiptoe around them by saying "Lisp-like language." What's annoying to me is that people keep on sinking time an effort into new Lisp-like languages instead of just using Common Lisp (or, gasp, working on a next-generation CL). There's a lot of hard-earned wisdom in CL; even the majority of the cruft exists for good reasons.
- armitron 11y agoThink of it as an early warning system. You immediately know who the idiots are, so you don't need to waste any time finding that out for yourself. I put Clojure in the same category, if we examine it outside the Java ecosystem, a language that is the definition of "premature optimization" (all the concurrency and immutable datastructure features are available as libraries in CL) and has no business existing in a universe where CL exists. But of course people want to work with Java and so on and so forth. Tight Java interop is what makes Clojure worthy of existence and of course, why would any sane Lisper want to work in the Java ecosystem?
- iak8god 11y agoScheme is a Lisp. I've never met anyone who disagrees.
- delish 11y agoYou can find a lot of disagreement in the google groups thread linked. Erik Naggum, Ron Garret (posting as Erann Gat), and Kent Pitman show up. Naggum as usual penetrates the usual back-and-forth with a stimulating meta-argument. https://groups.google.com/forum/#!topic/comp.lang.lisp/Bj8Hx6mZEYI%5B1-25%5D https://groups.google.com/forum/#!topic/comp.lang.lisp/Bj8Hx... I've pasted some text from that thread. I pasted reasons not because of their quality, but to show that there were people passionate about the distinction. > at the Lisp & Functional Programming conference, there was serious difficulty getting Lisp papers accepted. Lisp papers were about engineering, and Scheme papers were about mathy and theoretical issues. And, to be utterly crude about it, what I think gets papers accepted to such conferences is heavy use of greek letters > a scheme program is defined as a string of characters whereas a CL program is defined as a sequence of lists of Lisp objects. This may seem pedantic or trivial but a lot of different design decisions follow from this. It makes Scheme an infix member of the Algol language family. > The Scheme community has evolved a set of values at odds with the spirit of Lisp: the goal for simplicity at the expense of convenience (compare the concept of CL's $item designators with the design of convert stuff explicitly like Scheme's exact->inexact), the goal of only giving basic blocks and letting you assemble stuff yourself (call/cc isn't a replacement for a worked out exception system). > I think it's a small group of insecure Scheme users who think that they should be considered "A Lisp" so that they get all the "publicity" that Lisp does along with the publicity that Scheme does. > What those Schemers get from defaming Lisp beats me. Probaby some sort of jealous envy.
- mindslight 11y ago> a scheme program is defined as a string of characters whereas a CL program is defined as a sequence of lists of Lisp objects. This may seem pedantic or trivial but a lot of different design decisions follow from this. It makes Scheme an infix member of the Algol language family. Does anybody have any idea what he is referring to? I can perhaps see the first part being true, even though most of rnrs speaks in terms of objects. But how in the heck could Scheme possibly be considered infix, or "an" ALGOL?
- dragonwriter 11y ago> why create a lisp instead of a scheme? In the broad sense, Scheme is a Lisp. In the abusively narrow sense, where "lisp" is used to mean "Common Lisp", newLisp is not a lisp. > What is the fundamental feature that makes NewLisp a LISP more that a scheme language? Scheme is a restrictive group, roughly equivalent to Common Lisp. Common Lisp and Scheme are both members of the broader group, "lisp". Racket -- which was renamed that from PLT-Scheme because it was not strictly a Scheme -- is a Lisp that is neither Common Lisp nor Scheme. NewLisp, while neither a Scheme nor a Common Lisp, seems to be more like a Scheme than a Common Lisp (though farther from Scheme than Racket is.) Its differences from other lisps are discussed: http://www.newlisp.org/index.cgi?page=Differences_to_Other_LISPs http://www.newlisp.org/index.cgi?page=Differences_to_Other_L...
- namekuseijin 11y agoracket is a superset of scheme. I write perfectly valid scheme code and run in racket even with the #lang racket tag... now, let's not get started on RxRS compatibility...