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

Shelley: A Coding Agent

https://github.com/boldsoftware/shelley
1•luu•6m ago•0 comments

Visualizing K-Way Merge: An Interactive Guide to Database Sorting

http://justinhj.github.io/2026/01/19/visualizing-k-way-merge.html
1•todsacerdoti•8m ago•0 comments

Ask HN: Why is the Lua web / related ecosystem so stagnant?

1•jmspring•13m ago•0 comments

AMI Labs: Real World. Real Intelligence

https://amilabs.xyz/
1•pilingual•15m ago•0 comments

Major crypto theft discovered by Zach XBT

https://twitter.com/zachxbt/status/2014685263327351116
1•paulpauper•15m ago•0 comments

Show HN: Cholesterol Tracker – Built after high cholesterol diagnosis at 33

https://cholesterol-tracker.poniansoft.com/
1•briskibe•24m ago•0 comments

Joy and Curiosity #70

https://registerspill.thorstenball.com/p/joy-and-curiosity-70-d85
1•kristianp•26m ago•0 comments

Ask HN: In the era of AI, which language would you choose?

1•tcper•26m ago•1 comments

The Internet Doesn't Suck: Blame Big Tech, Not the Internet

https://riverseeber.net/blog/post/the-internet-doesnt-suck/
2•cratermoon•27m ago•0 comments

GNU Guix 1.5.0 released with new support for RISC-V 64-bit architecture

https://guix.gnu.org/blog/2026/gnu-guix-1.5.0-released/.
1•teleforce•28m ago•0 comments

1961 Goldsboro B-52 crash

https://en.wikipedia.org/wiki/1961_Goldsboro_B-52_crash
2•st_goliath•29m ago•0 comments

U.S. workers just took home their smallest share of capital since 1947

https://fortune.com/2026/01/13/us-workers-smallest-labor-share-gdp-on-record/
3•_DeadFred_•29m ago•2 comments

Ask HN: iPhone 15 pro handset just damaged my hearing, what now?

8•joecool1029•29m ago•0 comments

Remarkable sodium-ion battery has a lignin heart of 'wood'

https://newatlas.com/energy/sodium-ion-battery-lignin/
1•westurner•31m ago•2 comments

The Problem of Flatness in Ancient Egypt

https://www.youtube.com/watch?v=vhv8fAqN1cw
3•bane•34m ago•0 comments

The Birthday Paradox, Simulated

https://www.pcloadletter.dev/blog/birthday-paradox/
1•ronbenton•35m ago•0 comments

Fastest Encryption. Zero-Latency Decryption. Reliable Post-Quantum Security

https://abhedyam.com/
1•prabhatkr•36m ago•0 comments

UK government targets VPNs in online safety consultation as Lords vote for ban

https://www.techradar.com/vpn/vpn-privacy-security/uk-government-targets-vpns-in-new-online-safet...
3•g-b-r•43m ago•0 comments

Don't Write Docs Twice

https://tombedor.dev/make-it-easy-for-humans/
1•jjfoooo4•43m ago•0 comments

Show HN: BuryIt – Bury your failures, regrets and secrets anonymously

https://www.buryit.space/
1•noanoanoa•48m ago•0 comments

1944 informational poster of the electromagnetic spectrum

https://en.wikipedia.org/wiki/Electromagnetic_spectrum
2•winemath•54m ago•0 comments

The lies I used to tell myself

https://usefulfictions.substack.com/p/the-lies-i-used-to-tell-myself
4•jger15•54m ago•0 comments

Kolab Now: Secure and private email, calendars and more

https://kolabnow.com/
2•doener•58m ago•0 comments

Playwright CLI

https://github.com/microsoft/playwright-mcp/releases/tag/v0.0.57
1•aragonite•59m ago•0 comments

Soverin: Your Mailbox is your Digital Castle

https://soverin.com/
2•doener•1h ago•0 comments

C++ has scope_exit for running code at scope exit

https://devblogs.microsoft.com/oldnewthing/20260123-00/?p=112008
2•firesteelrain•1h ago•0 comments

Grok Is Temporarily Unavailable

https://status.x.ai/grok-com
2•pmcjones•1h ago•0 comments

Laracasts: I'm Done [video]

https://www.youtube.com/watch?v=g_Bvo0tsD9s
1•samsolomon•1h ago•0 comments

I was wrong about AI agent sandboxing

https://tuananh.net/2026/01/22/i-was-wrong-about-ai-agent-sandboxing/
1•tuananh•1h ago•0 comments

Ageing promotes microglial accumulation of slow-degrading synaptic proteins

https://www.nature.com/articles/s41586-025-09987-9
1•bookofjoe•1h ago•0 comments