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•12mo 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

Your Most Improbable Life

https://kk.org/thetechnium/your-most-improbable-life/
1•zdw•2m ago•0 comments

We built the open-source layer for local AI agent visibility

https://github.com/Asymptote-Labs/agent-beacon
1•jqdsouza•2m ago•0 comments

New York to tax luxury second homes in NYC

https://apnews.com/article/mamdani-nyc-hochul-tax-rich-a30833850bfdbd638634def266ca76dd
2•geox•3m ago•0 comments

Pith

https://pith.science/
1•gone35•3m ago•0 comments

loopmaster – Livecoding Music IDE

https://loopmaster.xyz/
1•stagas•4m ago•0 comments

The cellphone that implicates Argentina's president in the $Libra case

https://english.elpais.com/international/2026-03-30/mauricio-novelli-the-owner-of-the-cellphone-t...
1•janandonly•4m ago•0 comments

All Polymarket temperature markets are missing, along with the money bet on them

https://www.autodidacts.io/polymarket-temperature-markets-dissappear/
2•Curiositry•4m ago•0 comments

Agora-1: The Multi-Agent World Model

https://odyssey.ml/introducing-agora-1
2•olivercameron•5m ago•0 comments

Migrating from Go to Rust

https://corrode.dev/learn/migration-guides/go-to-rust/
1•zdw•5m ago•0 comments

Grief in the AI Age

https://bradfrost.com/blog/post/grief-in-the-ai-age/
1•speckx•8m ago•0 comments

Musk Loses Case Against OpenAI

https://www.cnn.com/2026/05/18/tech/openai-musk-lawsuit-verdict
2•jamesgill•8m ago•0 comments

Elon Musk Loses Landmark Lawsuit Against OpenAI

https://www.wired.com/story/musk-v-altman-jury-verdict/
2•thunderbong•9m ago•0 comments

A Markdown-based test suite

https://blogsystem5.substack.com/p/markdown-based-test-suite
1•zdw•10m ago•0 comments

Geblang – I built my own programming language

https://davegebler.com/blog/geblang-i-built-my-own-programming-language
1•dwgebler•10m ago•0 comments

An educational generic architecture (RISC-V, z80) simulator

https://creatorsim.github.io/creator/
1•mjorgers•10m ago•0 comments

The Dark Side of the Jevons Paradox

https://calnewport.com/the-dark-side-of-the-jevons-paradox/
1•zdw•11m ago•0 comments

Iosevka + Berkeley = Ioskeley

https://github.com/ahatem/IoskeleyMono
1•hggh•14m ago•0 comments

Show HN: Gambling/math/typing for screen time (iOS)

https://apps.apple.com/us/app/second-thought-less-scrolling/id6749641307
1•yaseenhalabi•15m ago•0 comments

No big deal or the end of the world?

https://world.hey.com/jason/no-big-deal-or-the-end-of-the-world-0b0d8619
2•ravenical•16m ago•0 comments

Haiku OS runs on M1 Macs now

https://discuss.haiku-os.org/t/my-haiku-arm64-progress/19044?page=2
17•tekkertje•17m ago•3 comments

10Gb/s Ethernet: using mini-heatsinks with a 10GBASE-T SFP+ module

https://www.gilesthomas.com/2026/05/10g-ethernet-sfpplus-mini-heatsinks
2•gpjt•17m ago•0 comments

Andrew Huberman's Peptide Recommendations 2026

https://peptideportal.org/blog/andrew-huberman-peptide-recommendations-2026
1•goldkey•17m ago•0 comments

Simulating Infinity in Conway's Game of Life with Modern C++

https://ryanjk5.github.io/posts/GOLDE/
1•HeliumHydride•18m ago•0 comments

Show HN: StrudelBot – 3D printed humanoid robotic hand with teleoperation glove

https://www.youtube.com/watch?v=G9rqOqkuWdw
1•abr0ahm•22m ago•0 comments

Elon Musk losses OpenAI lawsuit as jury sides with Sam Altman and Greg Brockman

https://www.msn.com/en-us/news/crime/breaking-elon-musk-losses-openai-lawsuit-as-jury-sides-with-...
3•voisin•22m ago•0 comments

The linear Diophantine system N = 25A and 12B, where p ≡ 1 (mod q)

https://github.com/A19dammer91/the-exact-algebraic-condition-for-clock-behaviour.
1•A19dammer91•22m ago•0 comments

Americans Oppose AI Data Centers in Their Area

https://news.gallup.com/poll/709772/americans-oppose-data-centers-area.aspx
5•speckx•22m ago•1 comments

Being Political in the Right Way: On reasoning about society

https://chillphysicsenjoyer.substack.com/p/being-political-in-the-right-way
2•crescit_eundo•26m ago•0 comments

India missed out on AI and now its run as market darling may be over

https://www.japantimes.co.jp/business/2026/05/17/india-missing-out-ai-boom/
2•saikatsg•28m ago•0 comments

Critical: Compromised Nx Console version 18.95.0

https://github.com/nrwl/nx-console/security/advisories/GHSA-c9j4-9m59-847w
2•urbandw311er•29m ago•2 comments