igorw / yolo

The microframework with swag.
yolophp.computer
MIT License
200 stars 27 forks source link

yolisp is useless #20

Closed hikari-no-yume closed 9 years ago

hikari-no-yume commented 9 years ago

Needs some of these things probably:

Stuff we do have already so we don't need to add it:

Stuff we could add that'd be pretty cool I mean yeah wouldn't it just be

With those, we could reimplement core yolo in yolisp.

See: http://bodil.org/building-lisp/#30

hikari-no-yume commented 9 years ago

Also if we could keep it small and somehow all within that function (yolisp), that'd be great, and I'm p sure we can as all these things are tiny. Shortening the operator functions implementation down a bit would help w/ that.

hikari-no-yume commented 9 years ago

Oh, I forgot the most important one, we need lexically scoped closures, errybody loves closures:

Though I suppose we already have them, you just can't mutate state. And immutability is good!

igorw commented 9 years ago

head? tail? what is this blasphemy?

hikari-no-yume commented 9 years ago

@igorw Haskell has head and tail, don't you like Haskell? ;)

igorw commented 9 years ago

I cdr drive over haskell with my car

hikari-no-yume commented 9 years ago

you over haskell with my nil?

igorw commented 9 years ago

type error!

hikari-no-yume commented 9 years ago

Wait, I know. 'Auto' and 'Cédérom'?

igorw commented 9 years ago

we should totally support CD-ROMs on lists

hikari-no-yume commented 9 years ago

cons, car, cdr: https://github.com/igorw/yolo/pull/21