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•6mo 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

Why Startups Die

https://www.techfounderstack.com/p/why-startups-die
1•makle•10m ago•0 comments

Show HN: Weather mini – Trip forecasts powered by Apple Intelligence

https://weathermini.app
1•kailuo•13m ago•0 comments

From Azure Functions to FreeBSD

https://jmmv.dev/2025/12/from-azure-functions-to-freebsd.html
1•todsacerdoti•13m ago•0 comments

Guidance: A cheat code for diffusion models

https://sander.ai/2022/05/26/guidance.html
1•tesserato•13m ago•0 comments

App that turns sermon notes to daily devotionals

https://apps.apple.com/us/app/serma/id6745926259
1•roosells•16m ago•1 comments

Closer Look at the Birthday Paradox [video]

https://www.youtube.com/watch?v=OUQVhnuTMVU
1•duck•17m ago•0 comments

European commission X ad account has been terminated

https://twitter.com/nikitabier/status/1997450541275005041
1•teekert•17m ago•0 comments

Show HN: Bugmail – the easiest way to catch and fix production bugs

https://www.bugmail.site/
2•bumpymark•20m ago•0 comments

Show HN: Pocket PMO – Quick free PMO oversight

https://pocketpmo.com/
1•iamasuperuser•20m ago•0 comments

Starmer's Electoral Posturing

https://rodgercuddington.substack.com/p/starmers-electoral-posturing
2•freespirt•21m ago•1 comments

Show HN: GffutilsAI, an agent to analyze genomic files

https://www.biorxiv.org/content/10.64898/2025.12.02.690645v1
1•sbassi•21m ago•0 comments

Drunk Driving – Grand Rapids Dip

https://en.wikipedia.org/wiki/Drunk_driving
1•thunderbong•21m ago•0 comments

The Collapse of Trust in AI Assistants

https://zenodo.org/records/17837188
4•businessmate•24m ago•1 comments

When software becomes fast food

https://world.hey.com/joaoqalves/when-software-becomes-fast-food-23147c9b
2•kiyanwang•27m ago•0 comments

Putin Wanted AI Supremacy. Now Russia Is Struggling to Stay in the Race

https://www.wsj.com/tech/ai/putin-wanted-ai-supremacy-now-russia-is-struggling-to-stay-in-the-rac...
1•JumpCrisscross•29m ago•0 comments

Nighttime exposure to light may raise cardiovascular risk by up to 50%

https://news.harvard.edu/gazette/story/2025/12/nighttime-exposure-to-light-may-raise-cardiovascul...
1•the-mitr•29m ago•0 comments

The power crunch threatening America's AI ambitions

https://subs.ft.com/products
1•JumpCrisscross•33m ago•0 comments

Agent Definition Language (ADL): An Open Standard for Defining AI Agents

https://github.com/nextmoca/adl
1•swanandrao•34m ago•0 comments

Show HN: Lockenv – Simple encrypted secrets storage for Git

https://github.com/illarion/lockenv
2•shoemann•38m ago•0 comments

Foyer 0.21.0 is out: Hybrid in-memory and disk cache in Rust

https://github.com/foyer-rs/foyer/discussions/1210
1•tison•42m ago•0 comments

Why Is the Internet Becoming TV?

https://calnewport.com/why-is-the-internet-becoming-tv/
3•ingve•43m ago•0 comments

An EU startup just beat Nvidia in AI hardware

https://www.techradar.com/pro/obscure-eu-ai-startup-outs-massive-chip-that-has-16-384-simd-proces...
1•mnewme•44m ago•0 comments

Icons in Menus Everywhere: Send Help

https://blog.jim-nielsen.com/2025/icons-in-menus/
3•ingve•46m ago•0 comments

Agent Definition Language (ADL): An Open Standard for Defining AI Agents

https://www.nextmoca.com/blogs/agent-definition-language-adl-the-open-source-standard-for-definin...
1•swanandrao•47m ago•0 comments

Remaking Globalization for an Era of Trade Wars / Interview with Michael Pettis

https://jacobin.com/2025/12/globalization-free-trade-tariffs-debt-keynes
1•valeg•48m ago•0 comments

Show HN: Goodreads Wrapped - Spotify Wrapped for Goodreads

https://www.goodreadswrapped.com/
1•angelinawwu•48m ago•0 comments

Millions of Locations for Thousands of Brands

https://tech.marksblogg.com/alltheplaces.html
1•marklit•49m ago•0 comments

Microservices Should Form a Polytree

https://bytesauna.com/post/microservices
2•mapehe•50m ago•1 comments

Married millennials, here comes the crypto divorce cliff

https://www.cnbc.com/2025/12/07/millennials-bitcoin-crypto-divorce-law.html
2•em3rgent0rdr•52m ago•0 comments

IBM nears $11B confluent deal

https://www.reuters.com/technology/ibm-nears-roughly-11-billion-deal-confluent-wsj-reports-2025-1...
1•hulahoof•54m ago•1 comments