Tag: LISP

Multiobjective Optimization (MOO) in Lisp and Prolog

Written by on November 22, 2024 in C++, LISP, Programming, Prolog with 0 Comments
Multiobjective Optimization (MOO) in Lisp and Prolog

Recently I came across a nice article by Jose Crespo, where the author stresses that the future of programming revolves around the application of math concepts such as Functor, Monads, Folds, etc. In addition, he argues that familiarity with C/C++ is essential in this modern AI age. The author goes through a toy example that uses […]

Continue Reading

Why Learn Lisp?

Written by on October 20, 2022 in LISP, Programming with 1 Comment

In the last article, I had shared my views on why programmers should learn Prolog, preferably as the first language. What language should one learn next? I strongly pitch for Lisp, to be precise, “Common Lisp”. Lisp happens to be the second oldest (1958) programming language, only after Fortran (1957)! Initially there were several dialects […]

Continue Reading

Definite Clause Grammars in Lisp – Part 4

Written by on June 12, 2022 in LISP, Natural Language Processing, Programming, Prolog with 0 Comments
Definite Clause Grammars in Lisp – Part 4

In a series of articles written earlier, I had shown how it is possible to model Definite Clause Grammars (DCG) in LispWorks Lisp (Enterprise Edition). We use defgrammar in Common Prolog (available as part of KnowledgeWorks package) to define our grammar rules. Here is a toy English grammar represented using defgrammar: This corresponds to the following Prolog […]

Continue Reading

Setting Up Function Hooks in Lisp

Written by on May 29, 2022 in LISP, Programming with 0 Comments
Setting Up Function Hooks in Lisp

Lisp is known to be a highly dynamic language, where functions are first-class objects. It is possible to define and undefine functions on the fly as well as attach hooks to existing functions. These are in addition to the ability to pass functions as parameters to other functions and returning a function as the result of […]

Continue Reading

Book Review: Introducing Blockchain with Lisp

Written by on March 19, 2022 in Book Review, LISP, Programming with 0 Comments
Book Review: Introducing Blockchain with Lisp

Title: Introducing Blockchain with Lisp: Implement and Extend Blockchains with the Racket Language Author: Boro Sitnikovski Publisher: Apress Year: 2021 Blockchains are a hot topic these days and interestingly, I am getting involved in a project that uses Blockchain. Languages such as C++, Java, Go and Node.js are commonly used in such projects, so when […]

Continue Reading

The “net-eval” Function in “newLisp”

Written by on December 12, 2021 in LISP, newLisp, Programming with 0 Comments
The “net-eval” Function in “newLisp”

One of the cool things about “newLisp” is that despite its small fooprint, it comes with a lot of functionality built-in. For instance, if you are interested in distributed computing, it is pretty easy to get started. In this article, I will touch upon the net-eval function that allows an expression to be evaluated on a remote […]

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

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

Template-based Text Generation – Part 2

Written by on October 11, 2020 in LISP, Natural Language Processing, Programming with 0 Comments
Template-based Text Generation – Part 2

In my previous article, I showed how “iLangGen” framework facilitates text generation using templates. I talked about the various “patterns” that can be used in a template. However, in that article, I did not go into the details of the “Embedded Template” pattern. That is the focus of today’s article. Embedded Template This pattern allows […]

Continue Reading

Template-Based Text Generation

Written by on September 28, 2020 in LISP, Natural Language Processing, Programming with 0 Comments
Template-Based Text Generation

I had written earlier about natural language generation using my iLangGen framework. I used a “template” text file which was instantiated dynamically based on predefined “grammars” and external data. The sample application I show-cased demonstrated its utility and versatility. Today I would like to touch upon a few other “pattern” elements that can be embedded in […]

Continue Reading

Top