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

ZeroKeep – Private AI workspace on WebGPU. Zero cost, zero setup

https://zerokeep.dev
1•bozmen•4m ago•0 comments

Earendil Inc. announcing Pi acquisition and Lefos

https://earendil.com/posts/press-release-april-8th/
1•czottmann•4m ago•0 comments

Show HN: DryRun – PostgreSQL MCP and schema advisor that works offline

https://github.com/boringSQL/dryrun
1•radimm•6m ago•0 comments

Mamba-3 and the State Space Model Renaissance

https://ngrislain.github.io/blog/2026-3-29-reading-note-mamba3-and-the-state-space-model-renaissa...
1•ngrislain•8m ago•0 comments

Zapfino, the Typeface with Built-In Magic

https://thatkeith.com/articles/zapfino-the-typeface-with-built-in-magic/
1•arm•9m ago•0 comments

Grid Battery storage is now cheap enough to unleash India's full solar potential

https://ember-energy.org/latest-insights/battery-storage-is-now-cheap-enough-to-unleash-indias-fu...
2•alephnerd•10m ago•0 comments

Reddit vs. SerpApi et al.

https://www.documentcloud.org/documents/26193527-reddit-v-serpapi-et-al/
2•doener•11m ago•0 comments

The Age-Old Urge to Destroy Technology

https://www.newyorker.com/culture/infinite-scroll/the-age-old-urge-to-destroy-technology
1•chrisaycock•15m ago•0 comments

Richard Feldman: language runtime overhead (2022) [video]

https://vimeo.com/653510682
1•tosh•16m ago•0 comments

Show HN: I built an open protocol for Agent-to-agent commercial negotiation

https://a2cn.io/
1•cmagorr1•17m ago•0 comments

Rare China visit, Taiwan's opposition leader calls for reconciliation

https://www.aljazeera.com/news/2026/4/8/on-rare-china-visit-taiwans-opposition-leader-calls-for-r...
1•_tk_•20m ago•0 comments

Did WordPress VIP leak my phone number?

https://shkspr.mobi/blog/2026/04/did-wordpress-vip-leak-my-phone-number/
2•ColinWright•21m ago•0 comments

OpenAI Codex reaches 3M weekly active users, up from 2M in under a month

https://twitter.com/thsottiaux/status/2041655710346572085
2•alecco•22m ago•0 comments

What Is a 'Cyberdeck': Meet Gen Z's New DIY Obsession

https://www.newsweek.com/what-is-a-cyberdeck-gen-zs-new-custom-computing-obsession-11787017
1•breve•24m ago•0 comments

Roc: Fast

https://www.roc-lang.org/fast
1•tosh•33m ago•0 comments

What does Lockdown Mode do to keep you safe from spyware? [video]

https://www.youtube.com/watch?v=5D3lWDUEJA8
1•skibz•39m ago•0 comments

An AI Agent. In COBOL. Yes

https://github.com/xawt/cobold-cli
2•Brosper•41m ago•0 comments

Ask HN: Is there some sort of stigma around Qubes OS on HN?

3•vntok•42m ago•3 comments

Effects of Stablecoin Yield Prohibition on Bank Lending

https://www.whitehouse.gov/research/2026/04/effects-of-stablecoin-yield-prohibition-on-bank-lending/
2•salkahfi•43m ago•0 comments

The Signature Method in Machine Learning (an interactive reading note)

https://ngrislain.github.io/blog/2026-4-6-reading-note-the-signature-method-in-machine-learning/
1•ngrislain•47m ago•0 comments

The Martians

https://en.wikipedia.org/wiki/The_Martians_(scientists)
1•tosh•49m ago•0 comments

We Got the Lithium-ion Battery (2024)

https://www.construction-physics.com/p/how-we-got-the-lithium-ion-battery
1•doener•49m ago•0 comments

Completely Private AI

https://molebieai.com/
1•Jimmy6929•51m ago•0 comments

FormTo – Open-source, self-hosted form back end

https://github.com/lumizone/formto
1•luka5184•52m ago•0 comments

Show HN: I built a Zoom alternative with 1 command

https://sfu.mirotalk.com
1•mp85•53m ago•1 comments

Starving Genies

https://tidyfirst.substack.com/p/starving-genies
1•danebalia•56m ago•0 comments

Roc

https://www.roc-lang.org/
1•tosh•57m ago•0 comments

Struggle Against the Gods

https://firstthings.com/struggle-against-the-gods/
3•marcofloriano•59m ago•0 comments

Google adopts new stance on device fingerprinting (2025)

https://www.lewissilkin.com/insights/2025/01/16/google-adopts-new-stance-on-device-fingerprinting...
1•bellwhistle•59m ago•0 comments

All of the String Types

https://lambdalemon.gay/posts/string-types
1•g0xA52A2A•1h ago•0 comments