News for hackers. Stuff that matters.
Re:NewLisp by lispit on Friday September 25, 2015 @01:54PM (#10279598)
newLISP 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."

Re:NewLisp by delish on Friday September 25, 2015 @02:59PM (#10279998)
I 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.
Re:NewLisp by orthecreedence on Friday September 25, 2015 @04:54PM (#10280619)
I 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.
Re:NewLisp by zeveb on Friday September 25, 2015 @04:34PM (#10280516)
> 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.

Re:NewLisp by armitron on Friday September 25, 2015 @05:55PM (#10280962)
Think 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?

Re:NewLisp by junke on Friday September 25, 2015 @02:39PM (#10279883)
When 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?
Re:NewLisp by lispit on Friday September 25, 2015 @03:04PM (#10280030)
When Stroustrup created C++ or Hejlsberg created C#, did C progammers spend decades whining about their choice of names and alienating newcomers?
Re:NewLisp by muuh-gnu on Friday September 25, 2015 @03:40PM (#10280230)
They didnt have to, neither Stroustrup nor Hejlsberg called their languages "a C".
Re:NewLisp by hellofunk on Friday September 25, 2015 @02:45PM (#10279915)
to be fair though, lisp is about a lot more than just its syntax
Re:NewLisp by lispm on Friday September 25, 2015 @02:05PM (#10279661)
Why 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.

Re:NewLisp by hellofunk on Friday September 25, 2015 @02:14PM (#10279721)
99% 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.
Re:NewLisp by lispm on Friday September 25, 2015 @03:03PM (#10280022)
Ever 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.

Re:NewLisp by hellofunk on Friday September 25, 2015 @03:46PM (#10280260)
To be honest, I'm not sure what point you are making. But I know that my point still stands.
Re:NewLisp by lispm on Friday September 25, 2015 @04:03PM (#10280368)
> To be honest, I'm not sure what point you are making.

I'll repeat it for you: Lisp dialects are defined by a common core language.

Newlisp does not have that core language. Even if it uses the same name for functionality, it does different things:

Lisp:

    (cons 1 2) -> (1 . 2)
newlisp

    (cons 1 2) -> (1 2)
Lisp

    (+ 1.2 2) -> 3.2
newlisp (+ 1.2 2) -> 3

That's just the trivial stuff.

It's basically impossible to run any Lisp code in newlisp without completely rewriting it.

When I say Lisp, I'm talking about a language which is in the tradition of McCarthy's Lisp, where I don't need to throw away my books, implementations, libraries, applications.

newlisp is a derived language just like ML, Logo, Javascript, Racket, Clojure and countless other languages. Just like Java is not a C dialect, but somehow influenced by it.

Re:NewLisp by hellofunk on Friday September 25, 2015 @05:05PM (#10280681)
Clojure is widely considered a lisp, but it also does not have cons cells. You are free to use your own definition of "lisp" but it is contrary to the widely accepted use of the term.
Re:NewLisp by lispm on Friday September 25, 2015 @09:31PM (#10281743)
I don't think Clojure is a Lisp. iT's just another Lisp inspired language.

Again, zero code of the past fifty+ years of Lisp runs in Clojure. iT is fully incompatible with any Lisp dialect. It shares zero lines of code.

Don't believe what people tell you, think yourself. if you had a language, which uses { and }, would you call it a C, if it is 100% incompatible to any line of C written out there?

For some reason some people think any random incompatible language with parentheses is a Lisp. That's because they use some completely unspecific definition of Lisp, which is based on vague features, but which has no practical consequences.

Re:NewLisp by swhipple on Saturday September 26, 2015 @12:26AM (#10282095)
> if you had a language, which uses { and }, would you call it a C, if it is 100% incompatible to any line of C written out there?

No, but nobody else would either. For Lisp and Forth dialects, people seem to accept that they are not all backwards compatible with a specific implementation or spec, but are the same family of languages. [1]

Clojure's and Racket's official docs both refer to the languages as Lisp dialects (Racket) or Lisps (Clojure). Other reputable sources also consider them to be dialects of Lisp.

If it doesn't meet your own prescriptive criteria for being called a Lisp, that's fine, but the parent is only being pragmatic in using the same sense that is widely used and accepted.

[1] FWIW, I've always read "is a Lisp"/"Lisps" as "is a Lisp dialect"/"Lisp dialects" and think that most others do as well. Not necessarily married to implementation details or compatibility.

Re:NewLisp by amirouche on Friday October 02, 2015 @01:30PM (#10319946)
homoiconism is a feature of the lisp that has important consequences like tail-call optimization. Replacing the use of macros or recursive algorithms leads to terse OO equation that is not as readable as the expression of the same "algorithm"/"intent" using macros and recursion.
Re:NewLisp by junke on Friday September 25, 2015 @02:29PM (#10279815)
99% of the time? Common.
Re:NewLisp by hellofunk on Friday September 25, 2015 @02:44PM (#10279912)
heh, don't confuse the readers
Re:NewLisp by tjr on Friday September 25, 2015 @02:54PM (#10279968)
It's not so much the readers we need to be concerned about here, but the evaluators.
Re:NewLisp by hellofunk on Friday September 25, 2015 @03:12PM (#10280089)
good one
Re:NewLisp by weland on Friday September 25, 2015 @02:09PM (#10279686)
It's very much a Lisp dialect in the sense of McCarthy's Lisp.

There is some life beyond Common Lisp :).

Re:NewLisp by lispm on Friday September 25, 2015 @03:09PM (#10280064)
It 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.

Re:NewLisp by weland on Friday September 25, 2015 @03:20PM (#10280137)
> 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.

Re:NewLisp by lispm on Friday September 25, 2015 @04:10PM (#10280412)
> 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.

Re:NewLisp by dragonwriter on Friday September 25, 2015 @03:24PM (#10280151)
> 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.