frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•1y ago
I've written a Jsonnet interpreter in Jsonnet.

A few years ago I wrote a code generator for Jsonnet (crdsonnet [1]) and found templating insufficient. This lead me to create a JSON Schema for the language along with a library[2] that can manifest the expressions reliably. I was unaware that this was an intermediate representation (in the world of interpreters). Fun fact: while cdrsonnet uses astsonnet to generate code, astsonnet is partially generated by crdsonnet.

Last year I got curious and wrote a parser, first without a lexer (I didn't knew I needed it) and later with a lexer (Oh, did my code got way more manageable). The code gets parsed into this intermediate representation, with other words using JSON Schema as a type system for Jsonnet.

This year I got curious again and tried to execute the code from within Jsonnet as well, past weekend I finally reached a point where I could reliably execute most of the test cases from the go-jsonnet repository.

It was an interesting learning experience and it gave me a much deeper understanding of how programming languages work in general.

[1] https://github.com/crdsonnet/crdsonnet

[2] https://github.com/crdsonnet/astsonnet

Heavyweight, to whom it may concern

https://neural.it/2026/05/heavyweight-to-whom-it-may-concern/
1•jruohonen•1m ago•0 comments

Show HN: tot.page – git-backed publishing for HTML and Markdown

https://tot.page/
1•ramoz•1m ago•0 comments

Current and Future Megaconstellations [video]

https://www.youtube.com/watch?v=cfOgp9gp2hA
1•ColinWright•2m ago•0 comments

AI may read a different PDF than your users

https://pqpdf.com/ai-document-integrity.php
1•pqpdf•4m ago•0 comments

Blood Tests Can Now Detect Alzheimer's. Should You Get One?

https://www.wsj.com/health/wellness/blood-tests-can-now-detect-alzheimers-should-you-get-one-9528...
1•JumpCrisscross•7m ago•0 comments

Upstream and Downstream Are Not Directions

https://piljoong.dev/posts/upstream-and-downstream-are-not-directions/
1•speckx•8m ago•0 comments

The Pissed-Off Spouses Who Try to Intervene in Their Partners' Jobs

https://slate.com/life/2026/06/work-job-wife-husband-kid-partner-boss-call.html
1•tekdude•10m ago•0 comments

Show HN: World Cup TUI with Live Updates

https://github.com/perryraskin/world-cup-tui
1•perryraskin•11m ago•1 comments

The FTC Cracked Down on 'Hidden' Car Dealer Fees. They're Still Happening

https://www.wsj.com/business/autos/the-ftc-cracked-down-on-hidden-car-dealer-fees-theyre-still-ha...
1•JumpCrisscross•12m ago•0 comments

Alberta Eradicated Rats

https://worksinprogress.co/issue/albertas-war-on-rats/
1•deunamuno•13m ago•0 comments

Why long context eats your VRAM: the KV cache explained

https://vettedconsumer.com/the-kv-cache-explained-why-long-context-eats-your-vram-and-how-to-fit-...
1•ermantrout•14m ago•0 comments

Show HN: Vet Turned Founder, AI Lawn Diagnosis

https://grassdx.com/
1•andrewbr•14m ago•0 comments

Heikki's Garden of Flowers, a catalogue of pictorial letterpress works

https://garden-of-flowers.heikkilotvonen.com/?essay
1•NaOH•15m ago•0 comments

Ask HN: How do you track commitments you make to other people in conversation?

1•annonymousjaat•15m ago•1 comments

Single dose of magic mushroom psychedelic can cause anatomical brain changes

https://www.theguardian.com/science/2026/may/05/magic-mushrooms-psychedelic-changes-brain-anatomy...
3•helterskelter•15m ago•0 comments

Google vs. Oracle (2021)

https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_Inc.
1•tosh•15m ago•0 comments

Game Engine White Papers Commander Keen

https://forgottenbytes.net/commander_keen.html
2•mfiguiere•18m ago•0 comments

Anti-slopping: An innovation for rectifying LLM writing clichés

https://research.thoughtworks.com/library/anti-slopping-an-innovation-for-rectifying-llm-writing-...
1•freeatnet•20m ago•0 comments

JD Vance Confirms Iran Will Get Jaw-Dropping Sum Under Trump Deal

https://newrepublic.com/post/211826/jd-vance-us-pay-iran-billions-trump-deal
9•nothrowaways•21m ago•5 comments

A Clojure Dialect on Rust

https://clj.rs
1•caseym831•22m ago•0 comments

At Berkeley, the enrollment dip [in CS] has come from a supply-side constraint

https://alumni.berkeley.edu/california-magazine/2026-summer/major-issue/
1•jedberg•23m ago•1 comments

Oura and Counsel Health Partner to Provide AI-Enabled Care Within the Oura App

https://ouraring.com/blog/counsel-integration-oura-app/
1•bariumbitmap•24m ago•0 comments

AI and Amateurism

https://pluralistic.net/2026/06/15/vernacular/
1•hn_acker•24m ago•0 comments

Show HN: Turboquant.cpp – Quantize embeddings to 1-4 bits, no training (400 LoC)

https://github.com/RunEdgeAI/turboquant.cpp
1•andrewmikhail•25m ago•0 comments

Ask HN: Whats your intuition on AGI breakthrough?

5•filup•27m ago•1 comments

Ask HN: Did your (non-AI) research field get less fun after commercialization?

1•blt•28m ago•0 comments

Claude Corps

https://www.anthropic.com/news/claude-corps
3•Mustan•29m ago•0 comments

The domain Pinboard.in has expired today

https://ph.godaddy.com/whois/results.aspx?domain=pinboard.in
2•kome•29m ago•0 comments

Running local models is good now

https://vickiboykis.com/2026/06/15/running-local-models-is-good-now/
2•sixhobbits•30m ago•0 comments

Programming Parallel Computers

https://ppc.cs.aalto.fi/
1•ibobev•30m ago•0 comments