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

Kushner's Thrive Capital Invests $100M in Shopify

https://www.bloomberg.com/news/articles/2026-05-14/joshua-kushner-s-thrive-capital-invests-100-mi...
1•petethomas•1m ago•0 comments

QEMU CXL Escape

https://github.com/v12-security/pocs/blob/main/qemu/README.md
1•somebudyelse•3m ago•0 comments

Evidence-Based Medicine

https://en.wikipedia.org/wiki/Evidence-based_medicine
1•bookofjoe•4m ago•0 comments

Traverse: In-memory graph database for the modern data stack

https://traverse.truespar.com/
1•johlo•4m ago•0 comments

Tina: A strictly bounded, thread-per-core concurrency framework

https://github.com/pmbanugo/tina
1•satyapr93•4m ago•0 comments

The Colorado River Is on the Brink of Disaster

https://www.wsj.com/us-news/climate-environment/the-colorado-river-is-on-the-brink-of-disaster-62...
2•LostMyLogin•5m ago•0 comments

Ansel – OSS volume visualization tool

https://fosterdill.github.io/ansel-web/
1•fosterdill•5m ago•1 comments

The Zulip Foundation

https://blog.zulip.com/2026/05/15/announcing-zulip-foundation/
1•boramalper•6m ago•0 comments

SIMD-Accelerated Data Processing [video]

https://www.youtube.com/watch?v=BBLDgsU7Zn4
1•mpweiher•9m ago•0 comments

The Fulda Gap: A Cavalry Scout's Account of the End of the World That Never Came

https://twitter.com/wgmorrow/status/2055100442737037566
1•omnibrain•10m ago•0 comments

Why physicists still use Fortran (2015)

https://www.moreisdifferent.com/2015/07/16/why-physicsts-still-use-fortran/
2•downbad_•10m ago•0 comments

Show HN: Incorporator, Turn any API/File into typed Python graph with pipeline

https://github.com/PyPlumber/Incorporator/
1•PyPlumber•10m ago•0 comments

The Grand Tradition of Suing for School Tuition

https://nymag.com/intelligencer/article/carter-case-lawsuit-new-york-city-education-special-educa...
1•csheehan10•11m ago•0 comments

Satiety Index: The Secret to Long-Lasting Fullness

https://optimisingnutrition.com/satiety-index/
1•rzk•13m ago•0 comments

Heirs and Spares in Early Modern France

https://www.historytoday.com/archive/feature/heirs-and-spares-early-modern-france
1•pepys•16m ago•0 comments

StockWire – Stock market ticker with deterministic, auditable tips

https://stockwire.work/
1•rudixworld•16m ago•0 comments

Concurrency is not Parallelism (2015) [video]

https://www.youtube.com/watch?v=oV9rvDllKEg
1•tosh•18m ago•0 comments

OpenAI now wants ChatGPT to access your bank accounts

https://www.theverge.com/ai-artificial-intelligence/931122/openai-chatgpt-financial-accounts-plai...
2•ndr42•19m ago•0 comments

The Aperiodic Table

https://blog.jgc.org/2026/05/the-aperiodic-table.html
1•jgrahamc•20m ago•0 comments

What Color is Your Function? (2015)

https://journal.stuffwithstuff.com/2015/02/01/what-color-is-your-function/
1•tosh•24m ago•0 comments

Using a Nintendo Switch to Speed Up a 3D Printer

https://hackaday.com/2026/05/15/using-a-nintendo-switch-to-speed-up-a-3d-printer/
2•speckx•25m ago•0 comments

Where Did All the Soul Go?

https://arpl.dev/blog/where-did-all-the-sould-go
2•mooreds•27m ago•0 comments

Psyllium husk is being touted as nature's Ozempic

https://www.theguardian.com/wellness/2025/jun/11/what-is-psyllium-husk
2•rzk•29m ago•0 comments

Microsoft/Wil: Windows Implementation Library

https://github.com/microsoft/wil
1•Tomte•29m ago•0 comments

Playing Atari music on Amiga for free

https://arnaud-carre.github.io/2026-05-15-ym-fast-emu/
3•nopakos•29m ago•0 comments

JOOQ: The easiest way to write SQL in Java

https://www.jooq.org/
1•Tomte•30m ago•0 comments

Travelers on Air Force One ordered to throw away gifts, phones after China trip

https://techcrunch.com/2026/05/15/us-orders-travelers-on-air-force-one-to-throw-away-gifts-pins-a...
6•leopoldj•32m ago•0 comments

Azure Container Apps Express

https://techcommunity.microsoft.com/blog/appsonazureblog/introducing-azure-container-apps-express...
1•vyrotek•32m ago•0 comments

Trump leaves China with no agreement but cites 'good' talks with Xi

https://www.nbcnews.com/politics/donald-trump/trump-leaves-china-no-agreement-thorny-issues-cites...
2•kaycebasques•34m ago•1 comments

I'm Not Sorry

https://www.lrb.co.uk/the-paper/v48/n09/thomas-nagel/i-m-not-sorry
1•lermontov•34m ago•0 comments