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

Judge orders pause to Paramount-Warner Bros merger as states argue antitrust law

https://variety.com/2026/film/news/judge-paramount-warner-bros-merger-tro-1236815048/
1•ck2•1m ago•0 comments

The notification that gave up after a minute

https://jva.lol/weblog/the-notification-that-gave-up-after-a-minute/
1•speckx•2m ago•0 comments

Digital Sovereignty is not binary

https://www.computerweekly.com/news/366645979/Dutch-SURF-tests-practical-route-out-of-Big-Tech-de...
1•vvladi•3m ago•1 comments

$45M for AI text messages: Inside Israel's push to shape US opinion

https://www.ynetnews.com/article/rjczjxqvfx
1•thisislife2•3m ago•0 comments

How smart tech is being weaponised in the home

https://www.ft.com/content/8a424dc2-13cb-4eb6-86d0-a3193d710359
1•bookofjoe•3m ago•1 comments

Ask HN: Has anyone here used YC's Paxel?

1•voxleone•4m ago•0 comments

Show HN: Wordpeek

https://wordpeek.app
1•furyofantares•4m ago•0 comments

Watching Tucson's Backyard Birds with Solar-Powered M1 Mac Mini

https://alec.is/birds/
2•arm32•5m ago•0 comments

How much energy do data centers and artificial intelligence use?

https://ourworldindata.org/how-much-energy-do-data-centers-and-artificial-intelligence-use
1•alphabetatango•6m ago•0 comments

Skill Nostalgia

https://aeon.co/essays/the-radical-reasons-why-you-dream-of-making-things-by-hand
2•gmays•6m ago•0 comments

The AI hype is a mass psychosis echo chamber of incompetent individuals

https://aob2f.substack.com/p/the-ai-hype-is-a-mass-psychosis-echo
3•farmerbb•6m ago•0 comments

Ask HN: Favourite science history book of the 20th century?

2•bawis•7m ago•1 comments

Tackling the Road Safety Crisis: Saving Lives Through Research and Action

https://www.nationalacademies.org/read/27804
2•alphabetatango•9m ago•0 comments

Fable is now included on Max plans (up to 50% of weekly limit)

https://support.claude.com/en/articles/15424964-claude-fable-5-on-your-plan
5•dudalev•10m ago•2 comments

AI makes people confidently wrong

https://www.machinesociety.ai/p/how-ai-makes-people-confidently-wrong
3•mikelgan•10m ago•1 comments

Reviving House of the Lost: How We Brought Our 2012 Roguelike Back from the Dead

https://f5games.com/news/80?t=Reviving_House_of_the_Lost%253A_How_We_Brought_Our_2012_Roguelike_B...
2•Readmore•11m ago•1 comments

Show HN: Codeground – run and share code in the browser

https://codeground.ai/
2•aashhuttossh•12m ago•0 comments

Move code review before the code

https://thenewstack.io/move-code-review-upstream/
3•Brajeshwar•12m ago•0 comments

China's Is Bigger: Don't Tell Trump

https://cepr.net/publications/chinas-is-bigger-dont-tell-trump/
3•mooreds•13m ago•0 comments

What Worries Me Most About This Wildfire Smoke

https://heatmap.news/daily/worrying-smoke-climate-change
3•mooreds•14m ago•0 comments

Twelve FREE daily logic puzzles (browser with PWA)

https://dailygrid.app/games/
2•zactyz•14m ago•0 comments

I didn't sign the "We Must Act Now" statement (yet)

https://www.noahpinion.blog/p/why-i-didnt-sign-the-we-must-act
3•paulpauper•14m ago•0 comments

The AI layoff wave is becoming a powder keg

https://finance.yahoo.com/sectors/technology/articles/ai-layoff-wave-becoming-powder-072541685.html
2•mooreds•14m ago•0 comments

The World Cup Could Not Be Americanized

https://www.theatlantic.com/culture/2026/07/world-cup-spain-argentina/688000/
3•paulpauper•14m ago•0 comments

Kimi Work

https://www.kimi.com/products/kimi-work
4•ms7892•15m ago•0 comments

We used Gemma to detect AI text locally on iPhone

https://imbue.com/blog/bouncer-leveraging-local-compute-to-detect-ai-slop
5•jjleads•16m ago•0 comments

User crippled a network while trying to learn NMAP

https://www.theregister.com/networks/2026/07/13/user-crippled-a-network-while-trying-to-learn-nma...
2•speckx•16m ago•0 comments

You Can't Reverse Engineer Your Way Out of the AI Supply Chain Problem

https://semgrep.dev/blog/2026/ai-supply-chain-problem/
3•antondd•18m ago•0 comments

GC and Exceptions in Wasmtime

https://bytecodealliance.org/articles/wasmtime-gc
2•phickey•18m ago•0 comments

Australia's Next Target in the War on Kids Online: Your VPN

http://www.techdirt.com/2026/07/20/australias-next-target-in-the-war-on-kids-online-your-vpn/
3•beardyw•18m ago•0 comments