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

Guide to the circular deals underpinning the AI Boom

https://www.bloomberg.com/graphics/2026-ai-circular-deals/
1•leonidasrup•11m ago•0 comments

Cottage Computer Programming (1984)

https://www.atariarchives.org/deli/cottage_computer_programming.php
1•lioeters•15m ago•0 comments

Landmark – an algorithmic index of relevant names, unclaimed at launch

https://landmarkindex.org
1•javierqac•22m ago•0 comments

I made a free PDF Editor that runs in a browser

https://www.pdfsimplified.com/
1•sanusihassan•22m ago•1 comments

Rejected by LessWrong for "Yellow Flags"

https://zenodo.org/records/21312304
1•tintweezl•26m ago•0 comments

Digital Dispensary and Headshop

https://shop.omeweed.com/
1•mmorga71•28m ago•0 comments

HubSpot transactional email: route through your domain with MailKite – MailKite

https://mailkite.dev/blog/hubspot-transactional-email-domain/
2•gabe_karina•28m ago•0 comments

'Hysteria' Grips San Francisco's Housing Market as A.I. Wealth Pours In

https://www.nytimes.com/2026/07/08/technology/san-francisco-home-sales-openai-anthropic-ipo.html
1•1vuio0pswjnm7•29m ago•0 comments

Why Write Code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code.html
10•zdw•30m ago•2 comments

the history of the human face

https://economist.com/culture/2026/07/09/the-history-of-the-human-face-is-more-than-skin-deep
2•andsoitis•39m ago•0 comments

The Work of Helping A.I. Destroy Work

https://www.nytimes.com/2026/07/10/business/ai-white-collar-jobs.html
1•thm•39m ago•0 comments

Show HN: Chameleon – shows Claude a real file from your repo before it edits

https://github.com/crisnahine/chameleon
1•crisnahine•41m ago•0 comments

Under federal rule, colleges must leave grads better off or lose financial aid

https://www.npr.org/2026/06/30/nx-s1-5835631/turner-camhi-do-no-harm-college-loans
20•nradov•45m ago•5 comments

A Captive Audience

https://seths.blog/2026/07/a-captive-audience/
2•herbertl•52m ago•0 comments

In defense of not understanding your codebase

https://www.seangoedecke.com/in-defense-of-not-understanding-your-codebase/
1•herbertl•53m ago•0 comments

Cloudflare Threatens to Cut Google Off from Their Publishers in Searches

https://www.nakedcapitalism.com/2026/07/cloudflare-threatens-to-cut-google-off-from-their-publish...
4•hackandthink•1h ago•0 comments

Show HN: Dgxtop: Rust Monitor for DGX or need to monitor GPU status

https://github.com/DennySORA/dgxtop
1•dennysora-main•1h ago•0 comments

Run Claude and Codex in the Browser [video]

https://www.youtube.com/watch?v=wgNbFRgQXwU
4•Ellis_dev•1h ago•2 comments

The Mind-Bending Company That Gets a Million Job Applications–and Rejects 99.9%

https://www.wsj.com/business/bending-spoons-jobs-hiring-stock-eaed2b8e
1•Stratoscope•1h ago•1 comments

Notion database based form builder

https://ndbforms.com/
2•nookeshkarri7•1h ago•0 comments

Martin van Creveld Interview

https://www.sonshi.com/martin-van-creveld-interview.html
1•fisheuler•1h ago•0 comments

The Entire History of Tetris Game Design

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

Negotiating AI in Open Source Software Communities: A Case Study of LLVM Project

https://gupea.ub.gu.se/server/api/core/bitstreams/ad9b523e-f6d5-4dc2-b632-64f9734484cf/content
1•matt_d•1h ago•0 comments

What do you do when your to-do list gets out of hand?

https://www.taskloco.com/
2•taskloco_nyc•1h ago•1 comments

I built my DREAM New York City apartment from SCRATCH in 93 days [video]

https://www.youtube.com/watch?v=9hL4V3KFTKQ
1•tekacs•1h ago•0 comments

The Task Is Not the Unit of Work

https://sekoudoumbouya.com/blog/the-task-is-not-the-unit-of-work/
1•fakoli•1h ago•0 comments

Why the world is ordering buildings from China [video]

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

Forward Deployed

https://andys.blog/forward-deployed/
1•andytratt•1h ago•0 comments

Why are US consumers so angry? It's not just high prices

https://www.theguardian.com/us-news/ng-interactive/2026/jun/04/us-consumer-rage-prices-economy
41•dilawar•1h ago•27 comments

Supernormal Stimulus

https://en.wikipedia.org/wiki/Supernormal_stimulus
1•thunderbong•1h ago•0 comments