simplescheme.js, a Lisp interpreter in Javascript
A few days ago I started work on a simple Scheme-like Lisp interpreter written in Javascript. I’m calling it simplescheme.js. It started out as a way to study for my programming languages class and to...
View ArticleUsing tail recursion
Solving problems recursively is often very convenient and elegant, but many people find recursion to be less intuitive than plain iterative looping. Many schools teach programming by focusing primarily...
View ArticleEvolving computer programs
An area I’ve been interested in lately is genetic programming. It involves evolving computer programs: not computer programs that evolve data, but computer programs that themselves evolve over time....
View ArticleSimple Genetic Algorithm in Scheme
I covered the basics of genetic algorithms in my post on genetic programming, but I didn’t go into detail about how the algorithm is implemented. It’s quite a simple and elegant algorithm, so I thought...
View ArticleJames Gosling on Lisp vs. Java
Very dynamic languages like Lisp, TCL, and Smalltalk are often used for prototyping. One of the reasons for their success at this is that they are very robust… Another reason is that they don’t require...
View Article