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

Beattape.ai – Lofi Psychedelic Nostalgia

https://beattape.ai/
2•pj4533•3m ago•1 comments

Show HN: Liora Tools – 100% client-side browser utilities in 6 languages

https://www.lioratools.com
1•ryomasakamoto•5m ago•0 comments

Soda Stallion Peak Review: Benefits, Features and Key Details

https://open.spotify.com/episode/0oKBBLJCfHDf4n8d7C3Jk3
1•JanEricksonn•6m ago•1 comments

Crab Mentality

https://en.wikipedia.org/wiki/Crab_mentality
3•chistev•7m ago•0 comments

We trained time-series AI models on AWS Trainium2, 2x cheaper than H200s

https://twitter.com/martinmaritsch/status/2126195898795573437
1•masquare•10m ago•0 comments

Leveling up game development for a good cause

https://antigravity.google/blog/leveling-up-game-development-for-a-good-cause/
2•saikatsg•14m ago•0 comments

Browser tabs as a container runtime – Farid Zakaria's Blog

https://fzakaria.com/2026/11/25/browser-tabs-as-a-container-runtime
3•RebelPotato•22m ago•0 comments

Ask HN: How well do you understand what's going on inside RL?

5•natsu529•26m ago•1 comments

The AI labs are rumored to have results relevant to crypto

https://twitter.com/secparam/status/2126079107817787693
1•justusw•26m ago•1 comments

CRT Sync Camera

https://actionretro.github.io/crt-sync/
1•geerlingguy•30m ago•1 comments

Buy Nothing Day – Friday November 27th 2026

https://www.buynothingday.co.uk/
2•f_allwein•33m ago•0 comments

Analyze on a Mostly-Null Column

https://boringsql.com/posts/analyze-mostly-null-column/
1•Tomte•33m ago•0 comments

Alan Kay: Xerox PARC, Steve Jobs, Dijkstra [video]

https://www.youtube.com/watch?v=GR9i8o4FwGw
2•Austin_Conlon•40m ago•0 comments

Overton Window

https://en.wikipedia.org/wiki/Overton_window
4•thunderbong•40m ago•0 comments

How to build 145 new LA parks

https://www.futureis.la/p/how-to-build-145-new-la-parks
2•mslate•41m ago•0 comments

Remotely unplugging a USB device on my Mac, without touching it

https://www.jeffgeerling.com/blog/2026/remote-control-usb-hub/
4•photon_collider•43m ago•0 comments

SynRAG – A fast CPU-only RAG engine

2•synlabspro•44m ago•0 comments

How to Misuse Code Coverage [pdf]

https://dl.icdst.org/pdfs/files4/4f1610425f388892871f923d0caebd15.pdf
2•hiohio•45m ago•1 comments

Engineers turn to tech to squeeze more out of constrained electricity grids

https://www.ft.com/content/7db3c2c9-dfad-4b5d-a8dc-aabf6fa87440
3•rustoo•48m ago•0 comments

Nancy's Thanks-Living

https://www.dgt.is/blog/2026-11-26-nancys-thanksliving/
2•jonotime•52m ago•1 comments

Show HN: Telegram image bot – 3 free AI images a day, 1 USDT = 10

https://alexchen-imgbot-sales.containers.snapdeploy.app/
3•alexchen-dev•58m ago•0 comments

How I built a global treasure hunt on hexagonal map tiles

https://needle.global/hexagons
3•jazzzooo•1h ago•1 comments

New Chinese electric brand in Australia, focused on soft-roading and off-roading

https://thedriven.io/2026/11/26/another-chinese-electric-brand-land-in-australia-this-time-focuse...
3•Alien1Being•1h ago•0 comments

The need for a formally verifiable mainstream programming language

https://blainehansen.me/post/mainstream-verifiable-language/
18•todsacerdoti•1h ago•4 comments

Show HN: AutumnDeck – Native Rust Windows 11 taskbar and widget suite

https://github.com/Shreyas123g/AutumnDeck
2•autumndeck92•1h ago•0 comments

Trump proposing new tariffs on 14 partners including EU

https://www.theguardian.com/us-news/2026/nov/25/trump-new-china-tariffs-europe
3•Alien1Being•1h ago•0 comments

Seven first-attempt tests of Seedance 2.5 Flash: timings, SSIM, and audio slips

https://vidney.ai/blog/seedance-2-5-flash-review
2•Sinaauiu•1h ago•0 comments

Secure Agentic Access to AWS with Enterprise-Managed Authorization

https://aws.amazon.com/blogs/security/secure-agentic-access-to-aws-with-enterprise-managed-author...
3•axis_official•1h ago•0 comments

Will We All Go Together When We Go?

https://quillette.com/2026/11/23/will-we-all-go-together-when-we-go-ai-alignment-scott-alexander-...
2•jaredklewis•1h ago•1 comments

The simplest way to let your users bring their own AI sub to power your AI app

https://byoa.rippling.computer/
2•_mad_eye_•1h ago•0 comments