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

In 5 years, nobody will give a damn about AI-detectors

https://www.joanwestenberg.com/p/in-5-years-nobody-will-give-a-damn
1•fallinditch•1m ago•0 comments

macOS: Code_sign_clone grows unbounded (62 GB+) across Codex auto-updates

https://github.com/openai/codex/issues/27536
1•ValentineC•1m ago•0 comments

Logging in to Use Old Reddit

https://old.reddit.com/r/modnews/comments/1ujtebf/logging_in_to_use_old_reddit/
1•easton•1m ago•0 comments

Core Dump Epidemiology

https://openai.com/index/core-dump-epidemiology-data-infrastructure-bug/?trk=feed-detail_main-fee...
1•coffepot77•3m ago•0 comments

Bill C-34 Answers Child Safety with Identity Infrastructure

https://ethanplant.ca/writing/bill-c-34/
1•ethanplant•4m ago•0 comments

Build, run, and market businesses 24/7 with AI

https://www.leapd.ai
2•Cyrus2050•4m ago•1 comments

Prompt Injection as Role Confusion

https://www.theregister.com/ai-and-ml/2026/06/30/security-researchers-tricked-llms-into-giving-th...
1•romaniitedomum•4m ago•0 comments

Show HN: Kage, verification and freshness for Google's OKF agent memory

https://kage-core.com/
1•kage18•9m ago•0 comments

Huntress CEO: employee used 'poor judgment' in alerting criminal

https://www.theregister.com/security/2026/06/30/huntress-ceo-says-threat-hunter-used-poor-judgmen...
1•romaniitedomum•10m ago•0 comments

Grok's Traffic Is Mostly Driven by Adult Content

https://www.forbes.com/sites/maryroeloffs/2026/06/24/groks-traffic-is-mostly-driven-by-adult-cont...
10•sorenjan•17m ago•3 comments

Ask HN: Which payment processor/merchant-of-record do you use in 2026?

2•moonlighter•20m ago•0 comments

Google pulls the plug on Tenor API, killing GIF pickers around the web

https://9to5google.com/2026/06/30/google-tenor-api-gif-updates/
1•thm•20m ago•0 comments

Something Is Wrong with Modern Longevity Science

https://www.newyorker.com/magazine/2026/07/06/morbid-saul-justin-newman-book-review-eat-your-ice-...
1•nabbed•21m ago•1 comments

The future must belong to Small Language Models

https://unvoid.substack.com/p/the-guilt-machine
2•nullscribe•25m ago•0 comments

CVE-2026-55200: libssh2 memory corruption with possible RCE

https://github.com/advisories/GHSA-R8MH-X5QV-7GG2
1•wildylion•26m ago•0 comments

HTML Me

https://hereforawhile.neocities.org
1•smalltorch•26m ago•1 comments

World Bank to abandon goal to devote 45% of lending to climate change projects

https://www.reuters.com/sustainability/cop/world-bank-abandon-goal-devote-45-lending-resources-cl...
3•littlexsparkee•29m ago•0 comments

Claude Sonnet 5 – benchmark results

https://artificialanalysis.ai/models/claude-sonnet-5
3•lucamark•29m ago•0 comments

Nvidia resurrects older graphics cards as RAM demands impact tech prices

https://mashable.com/tech/nvidia-gpu-rtx-3060-ramageddon
2•ripe•33m ago•0 comments

mRNA vaccines – a new era in vaccinology (2018)

https://www.nature.com/articles/nrd.2017.243
1•downbad_•34m ago•0 comments

Cheaper Than Concrete: Robots and the New Stone Age

https://originals.is/p/cheap-splendor-robots-and-the-new
1•MediaSquirrel•36m ago•0 comments

List of Domesticated Animals

https://en.wikipedia.org/wiki/List_of_domesticated_animals
1•jcmontx•37m ago•0 comments

The best thing that's ever happened for multiplayer games?

https://mas-bandwidth.com/the-best-thing-thats-ever-happened-for-multiplayer-games/
2•gafferongames•39m ago•0 comments

Drone Physics

https://iahmed.me/post/drone-physics/
2•wrxd•41m ago•0 comments

Chad Fowler's "Phoenix Architecture"

https://stevekrouse.com/phoenix
2•stevekrouse•42m ago•0 comments

Show HN: Jensen – a Deus Ex: Human Revolution theme for 30 developer apps

https://tomaytotomato.github.io/jensen/
1•tomaytotomato•42m ago•0 comments

GPT 5.5 uses Grug Brained talk during reasoning for 2x token efficiency

https://www.youtube.com/watch?v=ypO0q_8zhWw
3•m3h•43m ago•0 comments

SlateDB: An Object-Native LSM for Online Systems

https://slatedb.io/blog/introducing-slatedb/
7•agavra•43m ago•0 comments

Why AI Hasn't Cured Anything yet [video]

https://www.youtube.com/watch?v=n-hWHV2ZKOA
1•gurjeet•43m ago•0 comments

Skill.md AI Crawler Visibility

https://github.com/MerqryLabs/ai-crawler-visibility
2•novaesystems•45m ago•0 comments