repl

Created: Jan 23, 2022Last modified: Apr 23, 2023
No tags
Word count: 105Backlinks: 5

Read-Eval-Print-Loop.

Where your idea is executed and converted into feedback.

More opinionated: Interactive, REPL-driven development

not just on the command line - in the code itself, in your editor!

Most folks idea of a repl is something you run on the command line, and it's not well integrated into your running program.

This changes in most lisps ( clojure, emacs lisp ), because the structure is very regular, so incremental evaluation is pretty reasonable.

This combines with support tools (like cider and calva for clojure) to let you run the repl in your editor, evaluating functions as you write them to see that they do-the-right thing.


Backlinks

Ralphie is a library for useful clojure / babashka apis.

It provides namespaces and functions for integrating with whatever tools I use.

The gist: bash-like scripting and automation libraries via babashka and repl -driven development.

Originally targetted linux cli helpers, but expanded to some osx use-cases as well.

Example namespaces: emacs, tmux, browser, git, spotify, rofi.

A video overview of the components that make up the clawe monorepo.

Relevant April 2023.

I'll post a link here once it exists! For now, if you're reading this, I could stream this any day, so take a look at my schedule or ping me to see when it's going to happen.

Yall know i love me some lisp.

Lisp is short for List Programming.

It's structure of programming that uses lists for everything, rather than introduce extra syntax for a bunch of edge cases.

This structure is then simple to work with, for reading and writing code as well

as working with the language in some other program (e.g. a repl.)

Combined with functional programming, it makes for a much simpler paradigm, and leads to far fewer lines of code.