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

The Work of Helping A.I. Destroy Work

https://www.nytimes.com/2026/07/10/business/ai-white-collar-jobs.html
1•pseudolus•52s ago•0 comments

Closing a three-year-old issue using Rust arenas

https://giacomocavalieri.me/writing/gleam-rust-arenas
1•ryantsuji•12m ago•0 comments

The great (fire)wall: the technical details behind how China's internet works

https://kylejeong.com/blog/great-firewall
1•Kylejeong21•12m ago•0 comments

Embedcache – Cut embedding API costs by caching redundant requests

https://github.com/Ajay6601/embedcache
1•Ajay3043•13m ago•0 comments

Show HN: Whop Downloader – Bulk save videos from Whop in one click

https://chromewebstore.google.com/detail/whop-downloader/lfnmkoipepgcllbonheeogljjgcjhjaa
1•qwikhost•13m ago•0 comments

Llambda.lisp

http://funcall.blogspot.com/2026/07/llambdalisp.html
2•lemonberry•14m ago•0 comments

Gameboy is back ( no signup)

https://gb.omniiii.com/
2•djxjxjcjcjc•16m ago•0 comments

MacKenzie Scott's Giving, in Quality-Adjusted Life Years (QALYs)

https://maxghenis.com/mackenzie-scott-qaly/
4•383toast•24m ago•1 comments

Performant C/CUDA inference engine for Qwen 3.6 35B on RTX 5090 / Blackwell

https://github.com/ambud/q36
2•ambuds•29m ago•0 comments

Claude Code Usage Global Leaderboard

https://www.claudeusage.com
2•bazarkua•29m ago•0 comments

Apple's "Thermonuclear" Response to OpenAI's Threat

https://www.wsj.com/tech/ai/apples-thermonuclear-response-to-the-openai-threat-8d51c814
4•mful•31m ago•0 comments

Tacit Knowledge

https://en.wikipedia.org/wiki/Tacit_knowledge
9•chistev•31m ago•0 comments

Show HN: Let your coding agent iterate by seeing the browser

https://github.com/puffinsoft/peek-cli
5•G3819•34m ago•0 comments

Quintile – keyboard N×M grid tiling for macOS

https://github.com/stefanopineda/quintile
2•stefanopineda•35m ago•0 comments

Universal Learning of Nonlinear Dynamics

https://arxiv.org/abs/2508.11990
2•E-Reverance•36m ago•0 comments

Collections: How to Polis, 101, Part I: Component Parts

https://acoup.blog/2023/03/10/collections-how-to-polis-101-part-i-component-parts/
2•vinnyglennon•37m ago•0 comments

Matthew Effect

https://en.wikipedia.org/wiki/Matthew_effect
5•chistev•37m ago•0 comments

Nuts News

https://news.nuts.services/
3•kordlessagain•46m ago•0 comments

Australia Tops Claude Usage

https://www.forbes.com.au/news/innovation/australia-is-the-worlds-biggest-claude-user-now-anthrop...
3•ishanz•52m ago•0 comments

AI's Biggest Unlock Isn't Productivity. It's Access to Expertise

https://diviv.substack.com/p/ais-biggest-unlock-isnt-productivity
7•divi_vijay•53m ago•0 comments

Mushroom trip: a mycologist's tour of the Tarkine

https://www.theguardian.com/science/ng-interactive/2026/jul/13/mushroom-trip-a-mycologists-tour-o...
2•Anon84•53m ago•0 comments

Sam Altman and Elon Musk Argue over Who's Running the Bigger Scam

https://daringfireball.net/linked/2026/07/12/altman-musk
10•MaysonL•55m ago•1 comments

Quantum Mechanics May Not Need Imaginary Numbers After All

https://scitechdaily.com/quantum-mechanics-may-not-need-imaginary-numbers-after-all/
2•westurner•56m ago•0 comments

Billion Dollar PDFs

https://billiondollarpdf.com/
19•rafaepta•56m ago•1 comments

OneDev AI: Coding Agents as Teammates in Issues, Pull Requests, and CI

https://onedev.io/blogs/ai-teammates
3•timplant•58m ago•0 comments

Student's £30 device 'translates in real time'

https://www.bbc.com/news/articles/ced47540de2o
4•jethronethro•58m ago•0 comments

Circular Obstacle Pathfinding (2017)

https://redblobgames.github.io/circular-obstacle-pathfinding/
4•andsoitis•59m ago•1 comments

Deployment is All You Need: The case for deployment engineering

https://cephos.substack.com/p/deployment-is-all-you-need
3•ism-cep•1h ago•0 comments

Show HN: WA State Tolls tool that shows the best time to take it to save money

https://watolls.danielsada.tech/
2•dshacker•1h ago•0 comments

Micro-JavaScript: A pure Python JavaScript engine, inspired by MicroQuickJS

https://github.com/simonw/micro-javascript
2•nz•1h ago•0 comments