frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

I Built a Scheme Compiler with AI in 4 Days

https://matthewphillips.info/programming/posts/i-built-a-scheme-compiler-with-ai/
15•MatthewPhillips•1h ago

Comments

eatonphil•1h ago
What does "Write Yourself a Scheme in 48 Hours" produce? From OP I'm guessing it's something less than (73% of) R7RS.

https://en.wikibooks.org/wiki/Write_Yourself_a_Scheme_in_48_...

MatthewPhillips•37m ago
The reason it's only 73% is because I prioritized fun stuff like self hosting and platform binaries. I think finishing off the standards would only take a few more hours (except eval which I don't plan to do).
eatonphil•35m ago
That wasn't a dig at you, I was just genuinely wondering what Write Yourself produces.
MatthewPhillips•33m ago
Yeah, I didn't take it that way, just thought it was worth clarifying that this isn't a case of AI hitting a wall or anything like that, I just went down other rabbit holes.
threethirtytwo•58m ago
detractors of AI claim this stuff is in its training data so it could be a copy which is valid. The crazy thing is the fact that it can definitely build something that does not exist.
convolvatron•10m ago
how many scheme compilers do you think have been written?
igornotarobot•56m ago
> I run into bugs all the time so it’s probably not ready for anyone other than me to use, but I’ve managed to go pretty deep (if not wide) in just a few days of work.

Having similar experience with my experimental code generator to Rust. Every time a yet another example does not work, Claude fixes it. However, I am curious whether it would converge to a bullet-proof solution, or I have to carefully read the code and come up with proper abstractions.

convolvatron•11m ago
if you're trying to write rust without thinking about the abstractions then yeah, its probably non-terminal. I would strongly suggest making the broad strokes yourself and letting it fill the details.
rla1192•41m ago
Quickly building "near production level"? Are we talking about this Matthew Phillips?

https://docs.astro.build/en/guides/build-with-ai/

What a happy coincidence!

sicher•22m ago
Cool. I'm also working on a Scheme compiler for embedding. Bytecode VM as well as AOT compilation to Zig. 100% written by Claude Opus under my supervision and guidance. I've given it an extensive set of tests and benchmarks (r5rs and r7rs) which helps A LOT. I currently use it embedded in a modal prose editor, mostly running integration tests for now.

https://codeberg.org/sicher/zscheme

tombert•7m ago
This is cool, I got Codex to vibe code a Forth compiler for the NES and it worked fine, but I have to say that it is decidedly not fun.

Instead of figuring out how to solve every bug and becoming intimately familiar with with the code, I just delegate all the work to virtual interns and I sit and wait.

I decided to write my own Forth compiler without AI assistance as a result. Side projects should be fun and for learning.

Not judging people who use these tools, I use them too, but i just have been using them less for anything I am doing for fun.

xandrius•3m ago
There is fun in what you use something for and doing the something.

I think there is a big divide between people who just love making different tools from scratch by hand and the rest who love being able to instantly whip up a new tool in minutes AND THEN use it to create something fun.

I literally would never ever in my existence be interested in making a compiler if I had nothing to use it for. If I ever wanted to make a cool program which uses that compiler then whether the compiler came into being thanks to a wizard, my enjoyment wouldn't change a single bit.

Math Academy Review: The Shoe-Tying Method Behind Adaptive Math Learning

https://opened.co/blog/math-academy-review-shoe-tying-method
1•gmays•1m ago•0 comments

Background Jobs for TanStack Start with pg-boss

https://jxd.dev/writing/background-jobs-tanstack-start-pg-boss/
1•jamie_davenport•3m ago•0 comments

Power Mode Plugin for Neovim (2026 Take)

https://github.com/axsaucedo/neovim-power-mode
1•axsaucedo•3m ago•1 comments

Claude dethrones ChatGPT as top U.S. app after Pentagon saga

https://www.axios.com/2026/03/01/anthropic-claude-chatgpt-app-downloads-pentagon
1•doener•3m ago•0 comments

The unreasonable effectiveness of S-Expressions

https://nim-lang.org/araq/sexpressions.html
1•moigagoo•5m ago•0 comments

Hackerbot-Claw: An AI-Powered Bot Actively Exploiting GitHub Actions

https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation
1•pluc•8m ago•0 comments

Can 'friction-maxxing' fix your focus?

https://www.bbc.com/future/article/20260227-can-friction-maxxing-fix-your-focus
4•jethronethro•10m ago•0 comments

From the Guillotine to Napoleon: The French Revolution in Clothes

https://worldhistory.substack.com/p/the-fashion-counter-revolution
1•crescit_eundo•10m ago•0 comments

Show HN: MCP file tools silently eat your context window.I built one that doesnt

https://github.com/ckanthony/Chisel
2•ckanthony•11m ago•2 comments

The Things We Built (and Broke)

https://theblairwitchprojects.substack.com/p/the-things-we-built-and-broke
1•sg17gweedo•13m ago•1 comments

Horse that fades in as you doomscroll (Userscript)

https://gist.github.com/ravarcheon/606b641df4ade3642fb01bec0950c7c0
2•trms•15m ago•0 comments

Knowledge Priming (Manual RAG)

https://martinfowler.com/articles/reduce-friction-ai/knowledge-priming.html
1•danebalia•15m ago•1 comments

Aura-State: Formally Verified LLM State Machine Compiler

2•rohanmunshi08•17m ago•0 comments

Epstein files reveal deeper ties to scientists than previously known

https://www.nature.com/articles/d41586-026-00388-0
3•Teever•20m ago•0 comments

Official NeuroMoney Launch

https://neuromoney.io/app/
1•LukeHenderson11•20m ago•2 comments

All it takes to poison AI training data is to create a website

https://www.schneier.com/blog/archives/2026/02/poisoning-ai-training-data.html
3•u1hcw9nx•20m ago•1 comments

It's Here (Sort Of)

https://kyefox.com/its-here-sort-of/
2•Kye•23m ago•0 comments

World Chess Championship matches have not had an on-board checkmate since 1929

https://en.wikipedia.org/wiki/World_Chess_Championship_1929
2•haunter•23m ago•1 comments

It doesn't matter if the post was fully AI generated

https://simianwords.bearblog.dev/it-doesnt-matter-if-the-post-was-fully-ai-generated/
3•simianwords•23m ago•1 comments

Inside Anthropic's Killer-Robot Dispute with The Pentagon

https://www.theatlantic.com/technology/2026/03/inside-anthropics-killer-robot-dispute-with-the-pe...
4•eoskx•24m ago•2 comments

Datacentre developers face calls to disclose effect on UK's net emissions

https://www.theguardian.com/technology/2026/mar/01/datacentre-developers-energy-greenhouse-gas-em...
5•devonnull•27m ago•0 comments

DEF Con 33 – Exploiting Shadow Data from AI Models and Embeddings [video]

https://www.youtube.com/watch?v=O7BI4jfEFwA
3•ogig•27m ago•0 comments

Digital products and services are getting worse – but the trend can be reversed

https://www.forbrukerradet.no/news-in-english/digital-products-and-services-are-getting-worse-but...
1•susam•31m ago•0 comments

Should you care about "Good Code" in 2026?

https://blog.dmilicic.com/posts/what-is-good-code-in-2026
1•dmilicic•31m ago•1 comments

Building Jarvis – Parallel Tool-Calling Voice Agent Layer on Top of OpenClaw

https://justaniceguy.ai/posts/001-building-jarvis
2•marliechorgan•32m ago•1 comments

Django ORM Standalone⁽¹⁾: Querying an existing database

https://www.paulox.net/2026/02/20/django-orm-standalone-database-inspectdb-query/
1•pauloxnet•33m ago•0 comments

Show HN: Ccnotifs – macOS Claude Code Terminal Notifications (Tmux Friendly)

https://github.com/polyphilz/ccnotifs
1•polyphilz•33m ago•0 comments

Show HN: A simple dark mode Hacker News reader client built with Htmx and Go

https://news.wingman.actor
1•ChaseRensberger•34m ago•0 comments

What Even Are Breeze, QtQuick, QtWidget, Union..?

https://akselmo.dev/posts/what-are-breeze-widgets-quick-union/
2•todsacerdoti•34m ago•0 comments

Don't blame AI for your job woes

https://www.economist.com/finance-and-economics/2025/11/06/dont-blame-ai-for-your-job-woes
1•paulpauper•35m ago•0 comments