News for hackers. Stuff that matters.
Re:Lisphp is a Lisp dialect written in PHP. by arnorhs on Monday July 05, 2010 @10:06AM (#1488209)
This is maybe not so useless but definitely awesome!

At least this would solve the whole "which server should I use for lisp" problem...

Re:Lisphp is a Lisp dialect written in PHP. by jacquesm on Monday July 05, 2010 @10:09AM (#1488217)
That was exactly my thought, the lisp deployment problem can be checked off the list. This also significantly lowers the barrier to entry for people that want to try lisp.

He seems to have done (much) more than a half baked job of it judging by the rest of the page.

Re:Lisphp is a Lisp dialect written in PHP. by jules on Monday July 05, 2010 @11:23AM (#1488387)
There is lisp and there is lisp. The libraries and the speed do matter. While this is an interesting project it's not comparable to SBCL, Racket or Clojure.
Re:Lisphp is a Lisp dialect written in PHP. by mahmud on Monday July 05, 2010 @12:30PM (#1488549)
It's a working Lisp-1 with proper support for lambda conversion/reduction rules. It's a long way from being a usable Lisp, but it's theoretically feasible to take it there.

It says a lot about about his work that I am very excited to hack on it for the rest of the day, and I am not easily impressed by toy Lisps :-)

Tip of the hat to the author for doing the right thing, imo.

Re:Lisphp is a Lisp dialect written in PHP. by jacquesm on Monday July 05, 2010 @12:50PM (#1488588)
And under a very permissive license to boot.

Also it's actual code, as opposed to most 'hacker news 'news''.

Re:Lisphp is a Lisp dialect written in PHP. by jimbokun on Monday July 05, 2010 @11:35AM (#1488419)
"The libraries and the speed do matter."

Does PHP lack for good libraries? That was the trick Clojure used with Java to get bootstrapped.

Re:Lisphp is a Lisp dialect written in PHP. by Turing_Machine on Monday July 05, 2010 @12:38PM (#1488558)
Hmm... maybe in conjunction with HipHop for PHP? http://github.com/facebook/hiphop-php

I guess if you were allowed to run compiled binaries you could just as easily use another Lisp, though -- except maybe if you needed to integrate with existing PHP applications. That might be a good use case.

Re:Lisphp is a Lisp dialect written in PHP. by jules on Monday July 05, 2010 @12:57PM (#1488603)
> Does PHP lack for libraries?

No.

> Does PHP lack for good libraries?

Yes. PHP's libraries are one of the ugliest and non lispy in existence :(

Re:Lisphp is a Lisp dialect written in PHP. by jacquesm on Monday July 05, 2010 @01:22PM (#1488651)
Since they were not made with 'lisp' or anything 'lispy' in mind that should come as no surprise.

PHP is about as declarative as you get, assignments are the norm, not the exception and side-effects are how just about everything is done. It's not exactly elegant, but it fills a niche and apparently fills it quite well.

Though python is catching up, and even if it isn't quite as easy to deploy a large scale python web application as it is to deploy PHP the difference is getting smaller all the time.

Re:Lisphp is a Lisp dialect written in PHP. by jacquesm on Monday July 05, 2010 @11:35AM (#1488420)
I'm curious how fast it actually is for 'real life' examples.
Re:Lisphp is a Lisp dialect written in PHP. by Scriptor on Monday July 05, 2010 @11:12AM (#1488349)
The fact that it's interpreted makes it a little unrealistic to directly deploy a whole web application with it. However, the sandboxing and embedding features look really cool.