frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Anyone can build a platform now. Almost nobody can get people to find it

https://claudefolio.com/blog/anyone-can-build-a-platform-now-almost-nobody-can-get-people-to-find-it
1•misterinfo•1m ago•0 comments

Are.na – On Our API

https://www.are.na/editorial/on-our-api
1•colinprince•9m ago•0 comments

Classrooms lean into analog learning in the AI era

https://www.axios.com/2026/05/30/no-screen-school-technology-parents-ai
1•1vuio0pswjnm7•9m ago•0 comments

Unveiling Maxint 2.23: The Modular Financial OS for Founders, Freelancers

https://maxint.com/blog/maxint-2-23-release
1•pcvetkovski•16m ago•0 comments

A visual mental model of how weights and tokens connect

https://github.com/behnia137/ai-for-beginners-visual
2•Beni137•25m ago•1 comments

HHS Unveils Plan to Combat Lyme Disease and Advance Treatment

https://www.hhs.gov/press-room/hhs-unveils-plan-to-combat-lyme-disease.html
2•ki4jgt•25m ago•0 comments

VC Summer Student Bootcamp

https://fff-hub.com/startup-bootcamp
1•danielaromerooo•26m ago•0 comments

Five facts about smell (2014)

https://alicebartlett.co.uk/blog/five-facts-about-smell
2•downbad_•26m ago•0 comments

Robotaxis Are Spreading Across the U.S.–and So Is the Backlash

https://www.wsj.com/business/autos/robotaxis-are-spreading-across-the-u-s-and-so-is-the-backlash-...
2•voxadam•27m ago•0 comments

Mechanical Pencin: A website about the hidden engineering in everyday objects

https://mechanical-pencil.com/
2•Muhammad523•31m ago•1 comments

AI grifters are creating fake Black people to sell Shein junk

https://www.theverge.com/ai-artificial-intelligence/938844/ai-tiktok-shop-blackface-shein-dropshi...
3•1vuio0pswjnm7•32m ago•0 comments

Movie geologists have an over 30% mortality rate

https://onlinelibrary.wiley.com/doi/10.1111/gto.70014
4•signorovitch•33m ago•0 comments

Blue Origin and Amazon Had Momentum. Then Came the Fireball

https://www.nytimes.com/2026/05/29/technology/blue-origin-amazon-rocket-explosion.html
2•1vuio0pswjnm7•38m ago•0 comments

Ozempic may be reshaping the brain, scientists say

https://www.washingtonpost.com/health/2026/05/28/ozempic-may-be-reshaping-brain-scientists-say/
2•breve•42m ago•0 comments

OpenRidingController – DIY horse riding controller for the PC

https://github.com/Squalius-cephalus/OpenRidingController
2•zdw•49m ago•1 comments

What the Community Is Running

https://huggingface.co/hardware
3•kristianpaul•50m ago•0 comments

CIFSwitch: A non-universal Linux local root vulnerability

https://heyitsas.im/posts/cifswitch/
3•campuscodi•55m ago•0 comments

Why I'm still building a SaaS company in 2026

https://www.vincentchan.vc/why-im-building-a-saas-company-during-the-saaspocalypse
1•cvince•1h ago•0 comments

Dell, Snowflake, and Ford show how the AI boom is spreading: Alpha Check

https://finance.yahoo.com/markets/article/dell-snowflake-and-ford-show-how-the-ai-boom-is-spreadi...
2•wslh•1h ago•0 comments

Show HN: Lite-Harness – Self-Hosted Cursor Agents (Use Claude Code/OpenCode)

https://github.com/LiteLLM-Labs/lite-harness
3•detente18•1h ago•0 comments

OpenRouter more than doubles valuation to $1.3B in a year

https://techcrunch.com/2026/05/26/openrouter-more-than-doubles-valuation-to-1-3b-in-a-year/
1•gmays•1h ago•0 comments

Keep AI Weird

https://www.economist.com/by-invitation/2026/04/01/the-it-department-where-ai-goes-to-die
1•sanj•1h ago•0 comments

Algebra of Contexts

https://suign.github.io/
1•suiGn•1h ago•0 comments

Exotic prime numbers could be hiding inside black holes

https://www.scientificamerican.com/article/are-prime-numbers-hiding-inside-black-holes/
6•ah27182•1h ago•1 comments

US Military personnel are being targeted using location data

https://www.reuters.com/business/media-telecom/pentagon-says-us-military-personnel-are-reportedly...
2•black6•1h ago•0 comments

Robots are redefining the war in Ukraine – and forcing Russia onto the back foot

https://www.cnn.com/2026/05/30/europe/ukraine-robots-drones-russia-war-intl
3•lexandstuff•1h ago•0 comments

The Kingdom of Rui Reis

https://forbetterscience.com/2026/05/19/the-kingdom-of-rui-reis/
1•luckys•1h ago•0 comments

Autonomous Retail Experiment 2

https://shish.substack.com/p/from-photo-to-figurine-an-autonomous
1•5h15h•1h ago•0 comments

A case for an Autonomy Kernel

https://autonomykernel.org/
1•offbeatport•1h ago•1 comments

Microsoft degrades functionality of perpetually-licensed offline products

https://consumerrights.wiki/w/Microsoft_Office_2019_and_2021_for_Mac_view-only_conversion_(2026)
190•antipurist•1h ago•70 comments