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

AI-Declaration.md

https://ai-declaration.md/
1•sysoleg•2m ago•0 comments

How to build a `Git diff` driver

https://www.jvt.me/posts/2026/04/11/how-git-diff-driver/
2•zdw•3m ago•0 comments

Ask HN: How do you stop playing 20 questions with your AI coding tools

1•IxInfra•6m ago•0 comments

Killing of Hind Rajab (2024)

https://en.wikipedia.org/wiki/Killing_of_Hind_Rajab
1•lr0•8m ago•0 comments

Pretty Fish: A better mermaid diagram playground

https://pretty.fish/
1•webartisan•8m ago•0 comments

UK forced to halt Chagos Islands deal after Trump criticism

https://www.cnn.com/2026/04/11/uk/uk-pause-chagos-islands-deal-intl
1•1659447091•10m ago•1 comments

Show HN: A General Purpose KMC Crystal Growth Simulator in Rust-WASM

https://amdson.github.io/blog/crystals/
2•Paedor•10m ago•0 comments

We ran Doom on a 40 year old printer controller (Agfa Compugraphic 9000PS) [video]

https://www.youtube.com/watch?v=cltnlks2-uU
3•zdw•11m ago•0 comments

WordPress 7.0: The Good, the AI, and the Still Missing

https://adamgreenough.net/blog/wordpress-7-the-good-the-ai-the-missing/
1•xadz•12m ago•0 comments

Eviscerated by Rust: Overcoming C++'s 58x Standard Library Handicap

https://lucisqr.substack.com/p/eviscerated-by-rust-overcoming-cs
1•adamnemecek•14m ago•0 comments

How far can automation and AI support psychotherapy?

https://attheu.utah.edu/health-medicine/how-far-can-automation-and-ai-support-psychotherapy/
1•01-_-•15m ago•0 comments

50% of Proceeds Go to Charity:)

https://getlearnix.com/
1•noahjohnson1•16m ago•0 comments

Doppler Radar Explained [video]

https://www.youtube.com/watch?v=zKJAZav9j4U
3•teleforce•18m ago•0 comments

Turin describe an Apple Shortcut in plain English, get a .shortcut in seconds

https://www.getturin.com
1•AkshayS96•20m ago•0 comments

The Orange Pi 6 Plus

https://taoofmac.com/space/reviews/2026/04/11/1900
3•rcarmo•23m ago•0 comments

A hacker has allegedly breached one of China's supercomputers

https://www.cnn.com/2026/04/08/china/china-supercomputer-hackers-hnk-intl
1•i4i•25m ago•0 comments

Ask HN: Is the telehealth consulting for psychiatry even works?

1•Mohd_Umar•26m ago•1 comments

Einstein Notation

https://en.wikipedia.org/wiki/Einstein_notation
2•tosh•26m ago•0 comments

The Hardest Problem AI Ever Solved, with Google DeepMind CEO

https://www.youtube.com/watch?v=C0gErQtnNFE
1•Brysonbw•27m ago•1 comments

There were penguins in America and Europe 200 years ago

https://en.wikipedia.org/wiki/Great_auk
2•gorgonian•28m ago•0 comments

AI on the couch: Anthropic gives Claude 20 hours of psychiatry

https://arstechnica.com/ai/2026/04/why-anthropic-sent-its-claude-ai-to-an-actual-psychiatrist/
1•hochmartinez•29m ago•0 comments

Show HN: Self-hostable STT service with a Deepgram-compatible listen API

https://vedgupta.in/projects/whisper-api/
2•innovatorved•30m ago•0 comments

Why people keep trying to erase the Hollywood sign from Google Maps (2014)

https://gizmodo.com/why-people-keep-trying-to-erase-the-hollywood-sign-from-1658084644
2•downbad_•33m ago•1 comments

I made a music video and I'm not sorry

https://www.youtube.com/watch?v=alK8hgHgxd4
1•stonecharioteer•35m ago•1 comments

How Radar Works [video]

https://www.youtube.com/watch?v=c8OWHnHjIpA
1•teleforce•36m ago•0 comments

The APL Programming Language Source Code (2012)

https://computerhistory.org/blog/the-apl-programming-language-source-code/
1•tosh•36m ago•0 comments

Recursive-mode for coding agents

https://try.works/recursive-mode-for-coding-agents
1•try-working•37m ago•0 comments

Show HN: Docker-whisper: Self-hosted Whisper speech-to-text server (OpenAI API)

https://github.com/hwdsl2/docker-whisper
1•hwdsl2•39m ago•1 comments

Banks Are Warned About Anthropic's New, Powerful A.I. Technology

https://www.nytimes.com/2026/04/10/business/anthropic-claude-mythos-preview-banks.html
1•mikhael•39m ago•0 comments

I Waterboard (2007)

https://boards.straightdope.com/t/i-waterboard/430894
1•chistev•41m ago•1 comments