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

India offloads US bonds, piles up gold in pivot away from dollar assets

https://www.hindustantimes.com/business/india-offloads-us-bonds-piles-up-gold-in-pivot-away-from-...
1•koolhead17•22s ago•0 comments

Not Moaning about AI

https://gilest.org/notes/2026/not-moaning-ai/
1•mindracer•8m ago•0 comments

How Debt Bankrupted the British Empire, and Why America Is Walking the Same Path

https://nitishastra.substack.com/p/how-debt-bankrupted-the-british-empire
1•thisislife2•12m ago•0 comments

Couple Receive $200k Settlement After 'Pungent' Indian Food Complaint

https://www.nytimes.com/2026/01/23/us/palak-paneer-indian-food-racism-settlement.html
1•vinni2•14m ago•0 comments

Modetc: Move your dotfiles from kernel space

https://maxwell.eurofusion.eu/git/rnhmjoj/modetc
2•todsacerdoti•17m ago•0 comments

Gold and Silver Signal the End of American Financial Dominance

https://www.jezebel.com/gold-and-silver-signal-the-end-of-american-financial-dominance
1•thomassmith65•17m ago•1 comments

A 2026 calendar of City of London ceremonies

https://www.ianvisits.co.uk/articles/a-2026-calendar-of-city-of-london-ceremonies-87010/
1•zeristor•17m ago•0 comments

Shared Claude – A website controlled by the public

https://sharedclaude.com/
1•reasonableklout•18m ago•0 comments

The rice of Chinese Memory [video]

https://www.youtube.com/watch?v=qzfhhAfxK-A
1•the4anoni•20m ago•0 comments

Post-Agentic Code Forges

https://sluongng.substack.com/p/post-agentic-code-forges
1•sluongng•23m ago•0 comments

AI and academic research: the Manifesto for Accelerated Exploration

https://gist.github.com/joelkuiper/d52cc0e5ff06d12c85e492e4295ca890
1•anon1253•26m ago•0 comments

Making Angular 21 SSR Work with Asp.net Core 9

https://medium.com/@farshadhemmati/making-angular-21-ssr-work-with-asp-net-core-9-3ccb516b16c0
1•Legalfina•27m ago•0 comments

Open Notebook: A Secure Alternative to Google Notebook LM

https://mydeveloperplanet.com/2026/01/19/open-notebook-a-secure-alternative-to-google-notebook-lm/
1•mydevlprplanet•32m ago•0 comments

Rickshaw Run

https://en.wikipedia.org/wiki/Rickshaw_Run
1•einhard•32m ago•0 comments

Stop using JSON for LLM structured output

https://nehmeailabs.com/post/structured-output-overhead
1•44za12•46m ago•1 comments

Speaker Johnson Backs Efforts to Impeach Judges over Rulings

https://news.bloomberglaw.com/us-law-week/speaker-johnson-backs-efforts-to-impeach-judges-over-ru...
1•oenton•49m ago•0 comments

Europe Prepares for a Nightmare Scenario: The U.S. Blocking Access to Tech

https://www.wsj.com/tech/europe-prepares-for-a-nightmare-scenario-the-u-s-blocking-access-to-tech...
4•perihelions•50m ago•1 comments

Mappa Mundi

https://www.herefordcathedral.org/mappa-mundi
1•thunderbong•52m ago•0 comments

MikroTik first look and getting started

https://rtfm.co.ua/en/mikrotik-first-look-and-getting-started/
2•todsacerdoti•52m ago•0 comments

GPT OSS Beat Humans in TriMul Competition via TTT

https://arxiv.org/abs/2601.16175
1•demirbey05•58m ago•0 comments

Why I'm ignoring the "Death of the Programmer" hype

https://codingismycraft.blog/index.php/2026/01/23/the-ai-revolution-in-coding-why-im-ignoring-the...
2•birdculture•1h ago•2 comments

Entelgia: A consciousness-inspired multi-agent AI system with persistent memory

https://github.com/sivanhavkin/Entelgia
2•sivanhavkin•1h ago•3 comments

How do you think about write UI component in Python?

https://github.com/frybox/fryweb
1•frybox•1h ago•0 comments

Eloquent: Improving Text Editing on Mobile (2021)

https://dl.acm.org/doi/10.1145/3474349.3480178
1•icwtyjj•1h ago•0 comments

The Good Judgment Project

https://en.wikipedia.org/wiki/The_Good_Judgment_Project
2•sans_souse•1h ago•0 comments

Sunita Williams on Surviving Isolation, Astronaut Training and Coping with Fear [video]

https://www.youtube.com/watch?v=ULvplwBTbQk
1•twapi•1h ago•0 comments

Ask HN: Is it the right time to spend on electronics(AI Bubble get worse)?

1•shivajikobardan•1h ago•0 comments

I hate Sentry, so I built a Telegram alternative for my Rails app

1•Fh_•1h ago•0 comments

Make Remotion Videos on the Web

https://www.mike.new/
1•ebaad96•1h ago•1 comments

Show HN: Claude Code for Sales and GTM

https://github.com/chaitanyya/sales
5•chaitanyya•1h ago•2 comments