Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dahlia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
dahlia
16y ago
Lisphp's map/filter/reduce functions are implemented in the same manner that Parentscript does. This is map: http://github.com/dahlia/lisphp/blob/81849070ac7ff13948786b5... This is filter: http://github.com/dahlia/lisphp/blob/81849070ac7
62.
▲
by
dahlia
16y ago
I made the mailing list (Google Groups) which is the place for discussion about Lisphp: lisphp@googlegroups.com http://groups.google.com/group/lisphp Join us if you are interested in this project!
63.
▲
by
dahlia
16y ago
Try this: $env['echo'] = new Lisphp_Runtime_PHPFunction(create_function('', ' $args = func_get_args(); foreach ($args as $arg) echo $arg; ')); after: $env = Lisphp_Environment::full();
64.
▲
by
dahlia
16y ago
I implemented cdr just to respect a Lisp tradition. Lisphp's Lisphp_List type isn't a linked list but a subtype of ArrayObject, which supports random access. So instead of doing: (car (cdr (cdr (cdr list)))) you should just do: (
65.
▲
by
dahlia
16y ago
I'm the author of this, I made the web REPL also. http://dahlia.ruree.net/try-lisphp/ Well, of course, it uses a sandbox environment.