frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

How do you prototype a nice language?

https://kevinlynagh.com/newsletter/2025_06_03_prototyping_a_language/
22•surprisetalk•4d ago

Comments

norir•3h ago
Here is the most valuable exercise I can think of for language development: write a function that produces a formatted error string that renders the location of the cause of the error and the reason for the error. Once you have this, it will be much easier to write your compiler from the ground up because every step of the way you can validate that the compiler is only handling inputs that you it expect it to and rejecting everything else.

The error reporting function is not easy to write correctly, but a decent one can be written in fewer than 100 lines of lua (and I am certain it can be done in all but the least expressive languages in under 200).

thrance•1h ago
I've been there before, got something working and then kept adding features until I went "Hey, this could be a library!". Never finished the library. Nor the language for that matter.
9d•2h ago
> the Gleam language, which is written in Rust and has first-party LSP support

How have I never heard of this language before?

https://gleam.run/

codr7•55m ago
I've been working on lowering the bar for designing new languages lately:

https://github.com/codr7/shi

Very much a work in progress, but I hope to soon be able to provide the same minimal interpreter in Java/C/Common Lisp, each using the unique strengths of the host language.

danielvaughn•20m ago
The author mentions he decided against using Treesitter, but I’d highly recommend using it. It’s phenomenal, especially when you’re in the prototyping phase.

Tell HN: Help restore the tax deduction for software dev in the US (Section 174)

1515•dang•9h ago•580 comments

Containerization is a Swift package for running Linux containers on macOS

https://github.com/apple/containerization
287•gok•4h ago•127 comments

Apple announces Foundation Models and Containerization frameworks, etc

https://www.apple.com/newsroom/2025/06/apple-supercharges-its-tools-and-technologies-for-developers/
503•thm•8h ago•327 comments

Sly Stone has died

https://abcnews.go.com/US/sly-stone-pioneering-leader-funk-band-sly-family/story?id=122666345
152•brudgers•4h ago•14 comments

Why agents are bad pair programmers

https://justin.searls.co/posts/why-agents-are-bad-pair-programmers/
25•sh_tomer•2h ago•19 comments

Implementing DOES> in Forth, the entire reason I started this mess

https://boston.conman.org/2025/06/09.1
4•todsacerdoti•13m ago•0 comments

Show HN: An open-source rhythm dungeon crawler in 16 x 9 pixels

https://github.com/jgalecki/qrawl-tiny-mass-disco
20•jgalecki•3d ago•3 comments

Show HN: Munal OS: a graphical experimental OS with WASM sandboxing

https://github.com/Askannz/munal-os
176•Gazoche•8h ago•66 comments

Apple introduces a universal design across platforms

https://www.apple.com/newsroom/2025/06/apple-introduces-a-delightful-and-elegant-new-software-design/
444•meetpateltech•8h ago•716 comments

The Xerox Alto, Smalltalk, and Rewriting a Running GUI (2017)

https://www.righto.com/2017/10/the-xerox-alto-smalltalk-and-rewriting.html
35•rbanffy•4h ago•12 comments

What methylene blue can (and can’t) do for the brain

https://neurofrontiers.blog/what-methylene-blue-can-and-cant-do-for-the-brain/
92•wiry•3d ago•58 comments

Container: Apple's Linux-Container Runtime

https://github.com/apple/container
59•jzelinskie•5h ago•6 comments

Launch HN: Chonkie (YC X25) – Open-Source Library for Advanced Chunking

98•snyy•9h ago•36 comments

Las Vegas is embracing a simple climate solution: More trees

https://www.npr.org/2025/06/09/nx-s1-5340363/las-vegas-climate-change-solution-trees
37•geox•1h ago•16 comments

Go is a good fit for agents

https://docs.hatchet.run/blog/go-agents
120•abelanger•5d ago•92 comments

Show HN: Somo – a human friendly alternative to netstat

https://github.com/theopfr/somo
84•hollow64•7h ago•21 comments

Doctors could hack the nervous system with ultrasound

https://spectrum.ieee.org/focused-ultrasound-stimulation-inflammation-diabetes
118•purpleko•11h ago•12 comments

Hokusai Moyo Gafu: an album of dyeing patterns

https://ndlsearch.ndl.go.jp/en/imagebank/theme/hokusaimoyo
132•fanf2•11h ago•13 comments

Bruteforcing the phone number of any Google user

https://brutecat.com/articles/leaking-google-phones
459•brutecat•11h ago•144 comments

Debugging Azure Networking for Elastic Cloud Serverless

https://www.elastic.co/observability-labs/blog/debugging-aks-packet-loss
3•bumblehean•3d ago•0 comments

Pi in Pascal's Triangle (2014)

https://www.cut-the-knot.org/arithmetic/algebra/PiInPascal.shtml
53•senfiaj•3d ago•8 comments

A Rippling Townhouse Facade by Alex Chinneck Takes a Seat in a London Square

https://www.thisiscolossal.com/2025/05/alex-chinneck-a-week-at-the-knees/
34•surprisetalk•3d ago•22 comments

Why quadratic funding is not optimal

https://jonathanwarden.com/quadratic-funding-is-not-optimal/
98•jwarden•11h ago•73 comments

How do you prototype a nice language?

https://kevinlynagh.com/newsletter/2025_06_03_prototyping_a_language/
22•surprisetalk•4d ago•5 comments

Algovivo an energy-based formulation for soft-bodied virtual creatures

https://juniorrojas.com/algovivo/
61•tzury•9h ago•4 comments

The new Gödel Prize winner tastes great and is less filling

https://blog.computationalcomplexity.org/2025/06/the-new-godel-prize-winner-tastes-great.html
95•baruchel•11h ago•28 comments

Finding Shawn Mendes (2019)

https://ericneyman.wordpress.com/2019/11/26/finding-shawn-mendes/
352•jzwinck•18h ago•52 comments

Show HN: Most users won't report bugs unless you make it stupidly easy

171•lakshikag•10h ago•97 comments

A man rebuilding the last Inca rope bridge

https://www.atlasobscura.com/articles/last-inca-rope-bridge-qeswachaka-tradition
69•kaonwarb•3d ago•18 comments

Show HN: Glowstick – type level tensor shapes in stable rust

https://github.com/nicksenger/glowstick
40•bietroi•9h ago•3 comments