Buscar en Mind w/o Soul

viernes, julio 27, 2007

The Little JavaScripter

Reglas para convertir el libro "The little LISPer" a Javascript. Del mismo autor de las charlas en el post anterior. El mismo sitio web incluye montones de artículos sobre JavaScript avanzado.


The Little JavaScripter
The Little JavaScripter


JavaScript has much in common with Scheme. It is a dynamic language. It has a flexible datatype (arrays) that can easily simulate s-expressions. And most importantly, functions are lambdas.

Because of this deep similarity, all of the functions in The Little Schemer can be written in JavaScript. The syntaxes of these two languages are very different, so some transformation rules are needed.

No hay comentarios: