Tags » Common Lisp

Basic Concurrency and Parallelism in Common Lisp - Part 2 (Bootstrapping a threading-capable Mac OS X SBCL instance from source)

The Problem

The main (and practically only) issue with the default binary distribution available for SBCL on Mac OS X is that it does not come with built-in support for threads: 1,665 more words

Common Lisp

Basic Concurrency and Parallelism in Common Lisp - Part 1 (Setup)

In my last post I had mentioned that I would like to start on the Functional Programming series by creating a basic functional library that would start off by implementing the (Untyped) Lambda Calculus from scratch in various languages. 1,924 more words

Common Lisp

Functional Programming - a Quick and Dirty Introduction

What is Functional Programming?

Functional Programming is, despite its newfound popularity in recent times, a rather old programming paradigm. What exactly constitutes Functional Programming is a surprisingly difficult concept to explain today. 2,635 more words

Common Lisp

A highly opinionated review of Java Lambdas

What really is a lambda expression?

A lambda expression is, for all means and purposes, an anonymous function. That really is all there is to it. 3,930 more words

Creating a custom Rational class in Common Lisp - Part 2

In the previous post, we saw a basic Rational class that handled instantiation of its instances by taking care of the appropriate error cases. In this post, we will extend the class further by taking care of some of the improvements that were planned out at the end of the previous post. 1,058 more words

Creating a custom Rational class in Common Lisp - Part 1

In this series of blog posts, I will attempt at creating a rudimentary (but complete) Rational Number package in Common Lisp. A rational number is simply a number of the form a/b, where a and b have been reduced to their lowest forms, and b is not 0. 933 more words

Common Lisp

A small demo of unwind-protect to implement a custom with-open-file macro in Common Lisp

UNWIND-PROTECT is one of Common Lisp’s “Special Operators”. A special operator is basically something that comes bundled with the language as a form of primitive functionality, and which provides support for higher-level functionality. 1,059 more words

Common Lisp