frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

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

What does privatization of the US Postal Service mean?

https://phenomenalworld.org/analysis/unstitching-america/
1•htunnicliff•31s ago•0 comments

Russia buys gasoline from India to tackle shortages

https://www.reuters.com/business/energy/russia-buys-gasoline-india-tackle-shortages-sources-say-2...
2•breve•4m ago•0 comments

Forget the AI bubble. The IMF says the real threat is the mountain of debt

https://www.msn.com/en-us/money/other/forget-the-ai-bubble-the-imf-says-the-real-threat-is-the-mo...
1•petethomas•11m ago•0 comments

Show HN: DoodleMeme – Animated Memes from Your Hand Drawn Doodles (No GenAI)

https://doodlemate.com/meme
1•hjessmith•13m ago•0 comments

Give your AI agent its own email inbox – MailKite

https://mailkite.dev/blog/give-your-agent-an-inbox/
1•bucabay•14m ago•0 comments

SpaceX Is Junk. That's What the Bond Market Says

https://www.bloomberg.com/opinion/articles/2026-07-02/spacex-is-junk-that-s-what-the-bond-market-...
2•petethomas•14m ago•0 comments

Donald Trump confident Elon Musk will donate SpaceX stock to Trump accounts

https://www.msn.com/en-us/money/news/donald-trump-signals-confidence-elon-musk-will-donate-spacex...
1•petethomas•16m ago•0 comments

Norm-preserving abliteration on Qwen3.6-35B-A3B with 0% refusal

https://www.reddit.com/r/LocalLLaMA/s/kD7llp3na3
1•satvikpendem•16m ago•0 comments

The free IP Crawl API: detect if your IP camera is accidentally exposed

https://ipcrawl.com/api
2•arm32•17m ago•0 comments

Spotify Confirms Streaming Fraud After Kalshi Trader Flags Suspicious #1 Numbers

https://stereogum.com/2504130/spotify-confirms-streaming-fraud-after-kalshi-trader-flags-suspicio...
2•6stringmerc•21m ago•0 comments

Rage of the Falling Elite: How downward mobility fuels radical politics

https://www.robkhenderson.com/p/rage-of-the-falling-elite
2•vinnyglennon•22m ago•0 comments

Securing Agentic Identity

https://codon.org.uk/~mjg59/blog/p/securing-agentic-identity/
2•edward•23m ago•0 comments

Scientists discover guidance system for migratory songbirds

https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/scientists-discover-guidance...
1•bit_economist•25m ago•0 comments

Google keeps deleting my comment on this Tech Over Tea video about FPGAs

https://www.youtube.com/watch?v=yubuGm1dM50
1•VitaSetLLC•25m ago•0 comments

Coding without AI: a revolutionary new way to work

https://isaaclyman.com/blog/posts/code-review/
1•encyclopedism•27m ago•0 comments

XMM-Newton helps revise distance to outer spiral arms

https://www.esa.int/Science_Exploration/Space_Science/XMM-Newton/XMM-Newton_helps_revise_distance...
1•layer8•28m ago•0 comments

Show HN: Solitaire.Free - Play Klondike, FreeCell & Spider Solitaire Online

https://solitaire.free/
1•nadermx•30m ago•0 comments

After $18B IPO, Bending Spoons founder says success comes from minimizing luck

https://techcrunch.com/2026/07/01/after-18b-ipo-bending-spoons-founder-says-success-comes-from-mi...
3•andsoitis•30m ago•0 comments

Bending Spoons Reviving AOL, Vimeo and Other Internet Oldies Amid the A.I. Boom

https://www.nytimes.com/2026/06/30/technology/bending-spoons-ipo-aol-vimeo-eventbrite.html
1•andsoitis•31m ago•0 comments

The Trans-America Trail Guide

https://transamtrail.com/plan/
2•e-dant•36m ago•0 comments

Odin, Wikipedia and Engagement Farming

https://katamari64.se/posts/2026/odin-wikipedia/
15•stock_toaster•37m ago•0 comments

Security guard, 72, behind design of Nike's new Shinjuku store

https://www.asahi.com/ajw/articles/16534412
4•networked•39m ago•0 comments

Curating the Crowd: How Firms Manage Social Fit to Stage Social Atmospheres

https://journals.sagepub.com/doi/10.1177/00222429251328277
2•debo_•41m ago•0 comments

Scientists can now study the event horizons of black holes

https://www.economist.com/science-and-technology/2026/07/01/scientists-can-now-study-the-event-ho...
2•andsoitis•43m ago•0 comments

Made with Love in TouchDesigner V99

https://derivative.ca/community-post/made-love-touchdesigner-v99-cusersdeadmau5/60967
2•pulkitsh1234•43m ago•0 comments

Polyarc Draw

https://hlnet.neocities.org/polyarc-draw/
3•memalign•44m ago•0 comments

Show HN: Pixel a Go-Go – GameBoy Camera and retro screenshot upscaling for iOS

https://pixel.cameron.software/
2•CameronBanga•45m ago•0 comments

Ferrari 12Cilindri Manuale

https://www.ferrari.com/en-EN/auto/ferrari-12cilindri-manuale
2•Kaibeezy•47m ago•0 comments

The UK's Latest "Debanking" Scandal Should Give Everyone Pause

https://www.nakedcapitalism.com/2026/07/the-uks-latest-debanking-scandal-should-give-everyone-pau...
7•iamnothere•48m ago•0 comments

The Most Overrated American Who Ever Lived [audio]

https://www.theringer.com/podcasts/plain-english-with-derek-thompson/2026/07/03/megapod-the-most-...
2•mooreds•48m ago•0 comments