Tag: Common Lisp

The Hy Programming Language

Written by on January 28, 2024 in Hy Language, LISP, Python with 0 Comments
The Hy Programming Language

In an earlier article I had explained how to execute Python code from within Common Lisp using “CLPython” package. In contrast to that approach, “Hy” is a Lisp-style language (not compatible with Common Lisp) that is embedded in Python and hence provides seamless interoperability with Python code. Installation is straightforward (it is usually a good idea to […]

Continue Reading

Simulating Python Zip in Lisp

Written by on September 4, 2023 in LISP, Programming, Python with 1 Comment
Simulating Python Zip in Lisp

The zip() function in Python is a convenient mechanism for iterating over multiple “iterables” in parallel. Looping over lists is a common scenario. Here is the output generated by the above code: Common Lisp does not have such a feature built into the language or as part of the standard library. Of course, we have […]

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

Eager Future2 Common Lisp Library

Written by on May 9, 2021 in LISP, Programming with 0 Comments
Eager Future2 Common Lisp Library

Eager Future2 is a Common Lisp library that facilitates parallel computation. It is based on the idea of a “future” that acts as a “proxy” for a concurrently computed expression. Unlike the “lparallel” library that I had discussed in the last article, this library does not give us control over the number of “worker threads” […]

Continue Reading

Book Review – The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms.

Written by on November 8, 2020 in Book Review, LISP, Programming with 0 Comments
Book Review – The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms.

Title: The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms Author: Michał “phoe” Herda Publisher: Apress Year: 2020 Unlike with other languages, it is rare to find new books being published on Lisp. The last book on Lisp, which I purchased was “Common Lisp Recipes”  by Edmund Weitz in March 2016. After a […]

Continue Reading

Currying in Mathematica

Written by on May 19, 2019 in LISP, Mathematica, Programming with 0 Comments
Currying in Mathematica

One of the more recent additions to the core Wolfram Language is the “Curry” function. It was introduced in Mathematica ver 11.3 and is still (as of ver 12.0) considered Experimental. In this post, I would like to go over this function briefly. Non-curried functions in Mathematica have to be invoked with the arguments (both […]

Continue Reading

Calling Go Functions from Lisp – Part 2

Written by on June 24, 2018 in Golang, LISP, Programming with 0 Comments
Calling Go Functions from Lisp – Part 2

In my earlier article Calling Go Functions from Lisp, I explained the steps for making calls to Go functions from another language, specifically LispWorks Lisp. Today, I want to give a slightly more  interesting example showing the use of Go channels through exported functions. Go is widely admired for its native support for concurrency via Goroutines. […]

Continue Reading

Text Generation Using iLangGen Framework

Written by on August 6, 2017 in LISP, Natural Language Processing, Programming with 0 Comments
Text Generation Using iLangGen Framework

The two primary areas in Natural Language processing are Natural Language Understanding and Natural Language Generation. The former is concerned with processing and making sense of natural language text, whereas the latter is concerned with synthesizing text, possibly from some deep representation. Both are fascinating and at the same time, challenging, areas of research. The […]

Continue Reading

Top