HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
phantomics
april
Common Lisp2018–2026
phantomics / april

april

The APL programming language (a subset thereof) compiling to Common Lisp.

31Distinct people
59Mentions
1Explicit recommenders
667GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

The APL programming language (a subset thereof) compiling to Common Lisp.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

Thanks for the motivation. I love Lisp, and even was into Shen[0] for a while, but Common Lisp has all the libraries and legacy tutorials and books that I will stick it out a…

eggy used a recommendation phrase. 6 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year59 dated mentions

Observed mentions: 2018-05-29 08:34:21 UTC to 2026-10-08 02:35:17 UTC.

0510152018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 7 mentions; 3 submissions, 4 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 14 mentions; 3 submissions, 11 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 7 mentions; 0 submissions, 7 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC321
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC110
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC734
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC1019
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC14311
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC1019
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC707
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC303
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC413

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
April Array Programming Re-Imagined in Lisp Ken Iverson's masterpiece reflected in the medium of Lisp. April compiles a subset of the APL programming language into Common Lisp. Leveraging Lisp's powerful macros and numeric processing faculties, it brings APL's expressive potential to bear for Lisp developers. Replace hundreds of lines of number-crunching code with a single line of APL. Why April? APL veritably hums with algorithmic power. As a handful of characters run past the lexer, vast fields of data grow, morph and distil to reveal their secrets. However, APL has hitherto dwelt in an ivory tower, secluded inside monolithic runtime environments. If you have a store of data you'd like to process with APL, getting it there can be an ordeal akin to hauling tons of cargo on donkeys' backs through a narrow mountain pass. The original APL interpreters ran on mainframes whose only input was the keyboard and only output was the printer and the legacy of that implementation approach has persisted to this day, limiting the reach of the language. But no longer. Lisp is the great connector of the software world, digesting and transforming semantic patterns in much the same way that APL works upon numeric patterns. With APL inside of Lisp, databases, streams, binary files and other media are just a few lines of code away from processing with APL. Discussion For the time being, discussion of April and its development is happening on the ##phantomics channel on irc.libera.chat. Support April's Development If you'd like to help provide for continuing work on April, you can contribute through Patreon. April is making fast and steady progress toward the goal of being a powerful, full-featured and professional APL implementation, whose ease of extension and integration with other software offers game-changing advantages in the vector language field. Did you know that April's code at the beginning of December 2021 was over 95% different from its code at the beginning of September 2020? April Media and Publications PLDI 2023 presentation Presentation of paper on April's deferred evaluation features ArrayCast interview Developer interview exploring April's history and features APL Seeds Presentation Presentation of April at Dyalog's APL Seeds '22 conference LispNYC April compiler presentation Video outline and panel discussion showing early April design European Lisp Symposium 2022 paper April: APL Compiling to Common Lisp Compatibility with Common Lisp Implementations April puts the numeric and array processing capabilities of Common Lisp to the test. It has been verified to work with SBCL, CCL, ECL, ABCL, Clasp, Allegro CL and LispWorks. SBCL and CCL are considered fully compatible with no special provisions made in order to function. ECL and Clasp pass all tests with the help of some specific provisions addressing their differences from other CL implementations. ABCL passes all main tests with the help of some special provisions and all dfn tests except those in the tree library, which cannot be loaded due to limitations of the underlying Java virtual machine. Allegro CL and LispWorks both have a few compatibility issues causing failures of dfn tests. See this document for a list of all differences in functionality between implementations. Automatic Installation April is supplied by the Quicklisp library manager, so the easiest way to install April is through Quicklisp. To install April with Quicklisp, evaluate: (ql:quickload 'april) Manual Installation If you'd like to install April manually from this repository, you can follow these instructions. Cloning the Repository First, clone the repository to a location on your system. For this example, let's say you cloned it to the directory ~/mystuff/april. Preparing Quicklisp Enter your Quicklisp local-projects directory (usually ~/quicklisp/local-projects) and create a symbolic link to the directory where you cloned the April repository. For example, if you cloned the repo to ~/mystuff/april and your Quicklisp directory is ~/quicklisp/, enter: cd ~/quicklisp/local-projects ln -s ~/mystuff/april Installing Dependencies To complete the installation, just start a Common Lisp REPL and enter: (ql:quickload 'april) This will download and install April's dependencies, and with that the package will be built and ready. APL Functions and Operators The APL language uses single characters to represent its primitive functions and operators. Most of these symbols are not part of the standard ASCII character set but are unique to APL. To see a list of the glyphs that are supported by April, visit the link below. See the complete April APL lexicon here. Some APL functions and operators won't be added to April since they don't make sense for April's design as a compiler from APL to Lisp. Others may be added in the future. See the list of features not implemented here. Getting to Know APL A full guide to the APL language is far beyond the scope of this file, but here are links to some good sources. A high-level introduction to APL. This is a detailed language tutorial covering most of the functions and operators in April. The original paper by Ken Iverson, creator of APL, detailing the language's underlying philosophy. If you would like a quick tour of the language, April includes a function that will print demos of all the commands and many APL syntax features. To see the demos, enter: * (april (demo)) The * indicates a REPL prompt. Prepare for a long read. The demo content that gets printed will tell you the name(s) of the operations that correspond to each symbol and will hopefully give you some idea of what each one does. How to Enter APL Characters In order to write APL programs you'll need a way to use the language's special character set. Click here for information on enabling APL input within Emacs. Click here for information on enabling APL input within Vim. Click here for information on enabling APL input universally within GNU/Linux. Basic Evaluation: (april
Read the full README on GitHub

What Hacker News says

59 sources
Try J or APL, K, BQN, or April, and be prepared to rethink how you implement solutions to problems you've tackled in other PLs. I am an array language user and fan. I have been playing with April and I use J regularly at home and sometimes for work when I can. From the April github site: "April compiles a subset of the APL programming language into Common Lisp. Leveraging Lisp's powerful macros and numeric processing faculties, it brings APL's expressive potential to bear for Lisp developers. Replace hundreds of lines of number-crunching code with a single line of APL." https://github.com/phantomics/april
In Arthur Whitney releases an open-source subset of K with MIT license
Try April (Array Programming Reimagined In Lisp)[0] then. Sorry, I am both an array language and Lisp fan for many years. You use Lisp for all of its goodness, and drop into APL to do numerics and array work in a language better suited for the problem at hand. Hmm, maybe a marriage between Gerbil and J -> Jerbil! I've been a fan of Gambit for a long time too. Love to see it being utilized this way. [0] https://github.com/phantomics/april
In Gerbil Scheme – A Lisp for the 21st Century
There are attempts to combine those... a cool example is April (Array Programming Re-Imagined in Lisp), which runs on top of Common Lisp... https://github.com/phantomics/april One can see that the Lisp macro APRIL-F compiles APL-like code to Lisp. APRIL> (macroexpand '(april-f "3r4J9r5×⍳4")) (LET ((OUTPUT-STREAM *STANDARD-OUTPUT*)) (DECLARE (IGNORABLE OUTPUT-STREAM)) (SYMBOL-MACROLET ((INDEX-ORIGIN APRIL-WORKSPACE-COMMON::*INDEX-ORIGIN*) (PRINT-PRECISION APRIL-WORKSPACE-COMMON::*PRINT-PRECISION*) (COMPARISON-TOLERANCE APRIL-WORKSPACE-COMMON::*COMPARISON-TOLERANCE*) (DIVISION-METHOD APRIL-WORKSPACE-COMMON::*DIVISION-METHOD*) (RNGS APRIL-WORKSPACE-COMMON::*RNGS*)) (A-OUT (A-CALL (APL-FN-S ×) (A-CALL (APL-FN ⍳ INDE
Read the rest
X-ORIGIN) 4) #C(3/4 9/5)) :PRINT-PRECISION PRINT-PRECISION :PRINT-TO OUTPUT-STREAM))) T we can run that: APRIL> (april-f "3r4J9r5×⍳4") 3r4J9r5 3r2J18r5 9r4J27r5 3J36r5 #(#C(3/4 9/5) #C(3/2 18/5) #C(9/4 27/5) #C(3 36/5)) It has created a Lisp vector of complex numbers. APRIL> (describe *) #(#C(3/4 9/5) #C(3/2 18/5) #C(9/4 27/5) #C(3 36/5)) [simple-vector] Element-type: T Length: 4 ; No value
In Thinking in an array language

Showing the 15 most recent of 59 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.