frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Customizing Lisp REPLs

https://aartaka.me/customize-repl.html
26•nemoniac•2d ago

Comments

spauldo•1d ago
That's a neat idea. But I'm curious how many people actually use native REPLs for anything beyond trivial evaluation.

I'll use a Guile or SBCL REPL for some quick math (assuming it's something that's not trivial in dc) or to test out a quick idea, but I rarely send more than one to three forms before closing it. That's only if I don't have Emacs open where I can just do it in the scratch buffer. Anything that needs more than a couple defuns goes into SLIME or guiser.

So, people who use native REPLs, what do you do with them?

nils-m-holm•2h ago
Loading programs, testing individual functions, examining data. I usually have two windows/consoles open: one for writing code, one for loading and testing.
skydhash•1h ago
I’ve used the Node REPL to check some asumption about some library. Also the python REPL in Emacs when I was writing some logic heavy script.
lycopodiopsida•1h ago
If I write lisp, a REPL is always running. Used for testing functions with input and debugging.
monsieurbanana•54m ago
The person you're answering is also using a REPL while coding, just not accessing it directly (= manually writing in the REPL stdin)

Instead he interacts with it via his editor's tooling, where you are in a normal file, and use a shortcut that will send a sexp/function/region/etc into the running repl and display the result.

So just to be clear you are using the repl directly?

merlincorey•46m ago
The article mentions SBCL which is a well regarded open source Common Lisp implementation.

Common Lisp invented REPLs and the way most people use it now answers your question with "both".

A REPL usually runs locally in a subprocess or remotely through a REPL server and then your editor talks to that running Lisp Image where you can send code for compilation and recompilation while the image is running and also interact with it directly through the REPL which includes the debugger.

The GP you are referencing uses the common SLIME[0] package for anything of consequence which works exactly as described above.

[0] https://slime.common-lisp.dev/

monsieurbanana•33m ago
I think we're saying the same thing then.

So what's left is to answer GP question, which nobody has done: What are the use cases for using the repl directly rather than through something like SLIME?

You answered "both" which I'm sure is correct, but I'm curious as to specifically which usages you find better directly through the repl. The only reason I can see is when you can't be bothered to (or are unable to) start SLIME, otherwise even to evaluate small expressions I'd rather have them written in a file to easily keep a history of them or edit them.

I also know people who never use tools like SLIME and prefer just using the repl for simplicity.

cosmos0072•15m ago
> So, people who use native REPLs, what do you do with them?

In my case, I use my interactive shell https://github.com/cosmos72/schemesh every day as login shell.

You can look at it as heavily customized Scheme REPL, where everything not inside parentheses is parsed and executed as shell syntax, and everything inside parentheses is parsed and executed as Scheme syntax.

Having arithmetic and procedure definition within the login shell definitely feels liberating, at least to me

Tidewave Web: in-browser coding agent for Rails and Phoenix

https://tidewave.ai/blog/tidewave-web-phoenix-rails
70•kieloo•2h ago•10 comments

AGENTS.md – Open format for guiding coding agents

https://agents.md/
584•ghuntley•12h ago•267 comments

How to Think About GPUs

https://jax-ml.github.io/scaling-book/gpus/
165•alphabetting•1d ago•40 comments

Show HN: Claude Code workflow: PRDs → GitHub Issues → parallel execution

https://github.com/automazeio/ccpm
17•aroussi•1h ago•4 comments

MapLibre Tile: A next generation geospatial format optimized for rendering

https://arxiv.org/abs/2508.10791
9•mtremmel•2d ago•0 comments

Ask HN: Why does the US Visa application website do a port-scan of my network?

241•mbix77•6h ago•101 comments

GiveCampus (YC S15) Hiring Rails engineers passionate about education

https://givecampus.breezy.hr/p/0c4a97691730
1•mkong1•22m ago

How to Draw a Space Invader

https://muffinman.io/blog/invaders/
364•abdusco•13h ago•42 comments

Copilot broke audit logs, but Microsoft won't tell customers

https://pistachioapp.com/blog/copilot-broke-your-audit-log
570•Sayrus•12h ago•205 comments

How we exploited CodeRabbit: From simple PR to RCE and write access on 1M repos

https://research.kudelskisecurity.com/2025/08/19/how-we-exploited-coderabbit-from-a-simple-pr-to-rce-and-write-access-on-1m-repositories/
621•spiridow•20h ago•208 comments

The End of Handwriting

https://www.wired.com/story/the-end-of-handwriting/
57•beardyw•2d ago•97 comments

D2 (text to diagram tool) now supports ASCII renders

https://d2lang.com/blog/ascii/
345•alixanderwang•18h ago•53 comments

The Block Stacking Problem

https://sites.pitt.edu/~jdnorton/Goodies/block_stacking/block_stacking.html
13•lisper•2d ago•0 comments

Tiny microbe challenges the definition of cellular life

https://nautil.us/a-rogue-new-life-form-1232095/
111•jnord•13h ago•31 comments

The value of hitting the HN front page

https://www.mooreds.com/wordpress/archives/3530
123•mooreds•10h ago•45 comments

Gaussian Processes for Machine Learning (2006) [pdf]

https://gaussianprocess.org/gpml/chapters/RW.pdf
37•susam•1d ago•6 comments

Customizing Lisp REPLs

https://aartaka.me/customize-repl.html
26•nemoniac•2d ago•8 comments

How I Made Ruby Faster Than Ruby

https://noteflakes.com/articles/2025-08-18-how-to-make-ruby-faster
52•ciconia•2d ago•14 comments

Intel Foundry Demonstrates First Arm-Based Chip on 18A Node

https://hothardware.com/news/intel-foundry-demos-deer-creek-falls-reference-soc
73•rbanffy•1d ago•31 comments

Mirrorshades, the Cyberpunk Anthology

https://www.rudyrucker.com/mirrorshades/HTML/
13•keepamovin•4h ago•5 comments

Type-machine

https://arthi-chaud.github.io/posts/type-machine/
27•todsacerdoti•7h ago•7 comments

Emacs as your video-trimming tool

https://xenodium.com/emacs-as-your-video-trimming-tool
252•xenodium•20h ago•127 comments

Fast and observable background job processing for .NET

https://github.com/mikasjp/BusyBee
24•mikasjp•2d ago•7 comments

Show HN: I've made an easy to extend and flexible JavaScript logger

https://github.com/inshinrei/halua
7•inshinrei•23h ago•5 comments

Rails Charts Using ECharts from Apache

https://github.com/railsjazz/rails_charts
55•amalinovic•2d ago•4 comments

Candle Flame Oscillations as a Clock

https://cpldcpu.com/2025/08/13/candle-flame-oscillations-as-a-clock/
305•cpldcpu•4d ago•68 comments

Without the futex, it's futile

https://h4x0r.org/futex/
277•eatonphil•22h ago•127 comments

Databricks is raising a Series K Investment at >$100B valuation

https://www.databricks.com/company/newsroom/press-releases/databricks-raising-series-k-investment-100-billion-valuation
58•djhu9•6h ago•63 comments

CRDT: Text Buffer

https://madebyevan.com/algos/crdt-text-buffer/
139•skadamat•16h ago•6 comments

Tiny, removable "mini SSD" could eventually be a big deal for gaming handhelds

https://arstechnica.com/gadgets/2025/08/tiny-removable-mini-ssd-could-eventually-be-a-big-deal-for-gaming-handhelds/
61•quantummagic•3d ago•64 comments