A wonderful article explaining how compiler drivers work, clarifying the relationship between the preprocessor, the compiler proper, and the linker:
miniblog.
Related Posts
Playing with Claude and my new programming language has made me add features that it wants. I think they're reasonable.
`for method in methods` -- custom syntax error explaining that `method` is a reserved word
`echo 'println("hello world")' | garden` -- eval snippets from stdin
Explaining syntax-aware diffing is tricky, so I'm trying to add some compelling screenshots to the difftastic readme.
They need to demonstrate weaknesses in text diffing, and be small enough to be mobile friendly. Here's the current examples.
I've realised the big advantage of teaching OO with physical analogies. It's well accepted that OO isn't just about modelling the eworld.
Physical items are great for explaining subtyping.
You can view types as subsets, and Ferrari <: Car <: Vehicle is intuitive.



