Life of the IT-Drummer

A web log from Tobias Rusås Olsen.

How some basic LISP-functions are defined.

Today, Pål gave me a link to this lisp-file, which shows how some basic LISP-functions are defined. For those used to “first” and “rest”, those are called “car” and “cdr”, guess that was “the shit” in the 60’s. It’s kinda interesting seeing how functions you take for granted like “and”, actually is defined by other [...]

Read the rest of How some basic LISP-functions are defined.

Sphere Online Judge konkurranse

Spoj.pl er et nettsted som tilbyr en rekke programmeringsutfordringer, faktisk flere tusen stykker. Felles er at de kan løses fritt i en hel del programmeringsspråk. Til forskjell fra for eksempel Project Euler, men i likhet med NM i Programmering sender man inn kildekoden framfor å bare gi svaret i en boks.
I dag har jeg lyst [...]

Read the rest of Sphere Online Judge konkurranse

Basic LISP commands and their syntax.

So, you ever considered trying some functional programming languages, and can’t decide which? Ever wondered if LISP (LISt Processing) really is short for Lots of Irritating, Silly Parantheses or not? Well, let me give you a helping hand in some of the basics. This little guide is using the module CLISP with Common Lisp, but [...]

Read the rest of Basic LISP commands and their syntax.