frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•10mo 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

FIY – A general purpose federation protocol

https://fiy.to/
1•mrunix•30s ago•0 comments

Gaming Film and Sponsors

https://rockyhaag.substack.com/p/remember-the-breakfast-club
1•maxalias•1m ago•0 comments

Uncharted island soon to appear on nautical charts

https://www.awi.de/en/about-us/service/press/single-view/unkartierte-insel-demnaechst-auf-seekart...
1•tannhaeuser•3m ago•1 comments

Israeli strike kills infant girl in south Lebanon during father's funeral

https://www.reuters.com/world/middle-east/israeli-strike-kills-infant-girl-south-lebanon-during-f...
3•lr0•3m ago•1 comments

Physicists zero in on the mass of the fundamental W boson particle

https://news.mit.edu/2026/physicists-report-mass-fundamental-w-boson-particle-0408
3•01-_-•5m ago•0 comments

Show HN: Redactify – macOS/iOS app to redact sensitive data before using LLMs

1•ladino•5m ago•0 comments

The Maintainers

https://themaintainers.org/
1•gpvos•6m ago•0 comments

Navy to use underwater drones to help clear Iranian mines from Strait of Hormuz

https://defensescoop.com/2026/04/11/strait-of-hormuz-mine-clearance-navy-centcom-underwater-drones/
2•delichon•10m ago•0 comments

Solar panels are creating an unexpected effect by forming rainfall clouds

https://www.ecoportal.net/en/solar-panels-are-creating-rain-clouds/19854/
2•rbanffy•11m ago•0 comments

Nouns Agentic – Enabling AI Agents to Buy Nouns and Participate

https://noun.wtf/grants/8
1•developerfred•14m ago•0 comments

Yuri's Night: commemoration of Gagarin as the first human in space 12 April

https://yurisnight.net/
1•thinkingemote•14m ago•0 comments

Springdrift: An Auditable Persistent Runtime for LLM Agents

https://arxiv.org/abs/2604.04660
1•s_brady•15m ago•0 comments

Slightly Against the Expanding Circle

https://pelorus.substack.com/p/slightly-against-the-expanding-circle
2•paulpauper•15m ago•0 comments

Tahoe TCP Overflow Bug

https://mjtsai.com/blog/2026/04/07/tahoe-tcp-overflow-bug/
2•rbanffy•16m ago•1 comments

A GitHub agentic workflow

https://blog.frankel.ch/agentic-github-workflows/
1•saikatsg•16m ago•0 comments

Quantum Safe Bitcoin

https://github.com/avihu28/Quantum-Safe-Bitcoin-Transactions
2•wslh•16m ago•0 comments

The Three Enterprise Layers Are Collapsing into One

https://walsenburgtech.com/blog/hub-and-spoke-architecture-production-ai
2•cowartc•18m ago•1 comments

Hungary's Orban concedes landmark defeat to centre-right opposition

https://www.reuters.com/world/europe/hungarians-vote-landmark-election-closely-watched-by-eu-russ...
5•markerbrod•19m ago•0 comments

The United States is destroying itself

https://www.theguardian.com/commentisfree/2026/apr/12/united-states-trump-destruction
10•doener•19m ago•1 comments

Capital, AGI, and human ambition (2024)

https://rudolf.website/capital-agi-and-ambition/
1•andsoitis•21m ago•0 comments

Worms 2 remastered 4k videos with no AI or upscaling

https://www.youtube.com/watch?v=o5fnhTPfSoQ
1•__natty__•21m ago•0 comments

Another possible cyberequilibrium? (from my email)

https://marginalrevolution.com/marginalrevolution/2026/04/another-possible-cyberequilibrium-from-...
1•paulpauper•21m ago•0 comments

Oracle gave its new CFO $26M in stock after firing up to 30k workers

https://moneywise.com/news/top-stories/oracle-gave-its-new-cfo-26m-in-stock-after-firing-up-to-30...
3•e2e4•22m ago•1 comments

VaulTLS: Selfhostable web app to manage mTLS certificates

https://github.com/7ritn/VaulTLS
1•thunderbong•23m ago•0 comments

Console: A Debugger for Async Rust

https://github.com/tokio-rs/console
1•PaulHoule•23m ago•0 comments

CV-go-fast – A minimalist, high-speed CV builder with no tracking

https://cv-go-fast.netlify.app/
1•RunTimeZero•25m ago•0 comments

US GLP-1 spending went from $57M to $71.7B in 5 years. We modeled what's next

https://andrewrexroad.substack.com/p/issue-7-the-glp-1-gold-rush
2•rexroad•26m ago•0 comments

The Moon Just Got a New Scar

https://www.universetoday.com/articles/the-moon-just-got-a-new-scar
3•johnbarron•26m ago•0 comments

Why children become fussy eaters

https://economist.com/culture/2026/04/09/why-children-become-fussy-eatersfrom
2•andsoitis•27m ago•0 comments

Claude Changes My Code

https://alexcbecker.net/blog/how-claude-changes-coding.html
2•alexbecker•27m ago•0 comments