lparallel: A Parallel Programming Library

Written by on April 26, 2021 in LISP, Programming with 0 Comments
lparallel: A Parallel Programming Library

You may recall that in the last article I had reviewed the book “Algorithms in Lisp” by Vsevolod Domkin. There was a reference to the lparallel library in Chapter 15 of the book. That immediately reminded me of the nice discussion of lparallel by Edi Weitz in Chapter 11 of his excellent book “Common Lisp Recipes”.  Since […]

Continue Reading

Book Review: Programming Algorithms in Lisp

Written by on April 12, 2021 in Book Review, LISP with 1 Comment
Book Review: Programming Algorithms in Lisp

Title: Programming Algorithms in Lisp: Writing Efficient Programs with Examples in ANSI Common Lisp Author: Vsevolod Domkin Publisher: Apress Year: 2021 It is only about 5 months since I read and reviewed a good book on Lisp written by Michał “phoe” Herda. The present book is by Vsevolod Domkin and I purchased it two weeks ago. Coincidentally, Michał […]

Continue Reading

Implementing iLexicon using LiteDB

Written by on March 28, 2021 in Natural Language Processing, Programming, Prolog with 0 Comments
Implementing iLexicon using LiteDB

iLexicon is an “intelligent” dictionary that can be used to build Natural Language applications. I have two implementations, one in Lisp and another in Prolog. Both implementations are memory-based, in order to speed up performance. I have written several articles referencing it, for example see this.   LiteDB is a NoSQL database for .NET. I […]

Continue Reading

Calling C# Methods from LispWorks Lisp – Part 2

Written by on March 14, 2021 in LISP, Programming with 0 Comments
Calling C# Methods from LispWorks Lisp – Part 2

In the last article, I showed how we can invoke C# methods from LispWorks Enterprise Edition, through the COM/Automation interface. That approach relied on invoking the Automation methods dynamically, without depending on the Type library (*.tlb).  In this article, I will discuss the other approach, which uses the Type library. According to LispWorks documentation, this […]

Continue Reading

Calling C# Methods from LispWorks Lisp through COM Interface

Written by on February 28, 2021 in LISP, Programming with 0 Comments
Calling C# Methods from LispWorks Lisp through COM Interface

In an earlier article, I showed how to invoke C# methods from Sicstus Prolog. Today, I would like to detail the steps for doing the same from LispWorks Lisp. LispWorks Enterprise Edition comes budled with support for COM and Automation. This is what we will be using. What this means is that we have to […]

Continue Reading

LiteDB: A NoSQL Database for .NET

Written by on February 14, 2021 in Programming with 0 Comments
LiteDB: A NoSQL Database for .NET

I have been looking around for a compact embedded NoSQL database library for .NET, to use as the back-end of my “iLexicon” system. “iLexicon” is written in Lisp and Prolog (I have written a few articles on it before). At present, the entire dictionary component (containing over 300,000 word entries) is resident in memory, and the […]

Continue Reading

Using L-System to Generate Music

Written by on January 31, 2021 in LISP, Music, Programming with 0 Comments
Using L-System to Generate Music

L-system is a powerful string rewriting system. Opusmodus supports an implementation of this system (inspired by and based on this implementation). It is possible to use the L-system to generate anything that can be described in terms of an alphabet and a set of rewriting rules.  Let us start with a simple example: As you can see, there are […]

Continue Reading

C++20 [[nodiscard]] Attribute

Written by on January 17, 2021 in C++, Programming with 0 Comments
C++20 [[nodiscard]] Attribute

[[nodiscard]] attribute “encourages” the compiler to issue a warning when the return value from a function is ignored. It was introduced in C++ 17 and enhanced in C++ 20 to include a string literal that can be used as an explanation of the warning. Let us look at different cases one by one. Case-1: An enumeration […]

Continue Reading

Using JFugue with External DAW

Written by on January 2, 2021 in LISP, Music, Programming with 0 Comments
Using JFugue with External DAW

Let this New Year 2021 bring health and happiness to us all! In the last article, I talked briefly about JFugue and showed how to access it from LispWorks Lisp on a PC running Windows 10. In that example, the music was rendered by the built-in synthesizer. Although this is fine, it is sometimes desirable to […]

Continue Reading

JFugue: A Java Library for Music Synthesis

Written by on December 20, 2020 in LISP, Music, Programming with 0 Comments
JFugue: A Java Library for Music Synthesis

JFugue is an open-source Java library that can be used for algorithmic music composition. Developed by David Koelle, currently it is in its fifth major version. You can get the library from here. I had downloaded the library some time ago, but could not spend much time since my primary focus has been on Opusmodus. This […]

Continue Reading

Top