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

The CNF Illusion: Navigating the Realities of Cloud-Native Networking

https://vahidhashemi.com/2026/05/29/the-cnf-illusion-navigating-the-realities-of-cloud-native-net...
1•wanabeunknown•1m ago•0 comments

Apple M1 Chip Deep-Dive [video]

https://www.youtube.com/watch?v=mHEWMiHgyU8
1•wmf•2m ago•0 comments

Gnome 2.20 but it's Web Components

https://bennypowers.dev/posts/gnome-2-web/
1•birdculture•2m ago•0 comments

DiffusionBlocks – Block-Wise NN Training via Diffusion Interpretation

https://github.com/SakanaAI/DiffusionBlocks
1•aanet•5m ago•1 comments

The Oscar Levant Show (1958)

https://archive.org/details/TheOscarLevantShow
1•petethomas•7m ago•0 comments

ICANN director and African internet pioneer Barrett dies – Domain Incite

https://domainincite.com/31750-icann-director-and-african-internet-pioneer-barrett-dies
2•untitled-now•7m ago•0 comments

Meltdown Now Supports OpenRouter

https://meltdown.merkoba.com
1•madprops•9m ago•0 comments

My IP Address – MyIPNow

https://myipnow.net/
1•myipnow•10m ago•0 comments

Oxford researchers contribute to world-first in quantum computing and genomics

https://www.ox.ac.uk/news/2026-05-22-oxford-researchers-contribute-to-world-first-in-quantum-comp...
2•taubek•12m ago•0 comments

The internet feel like a local police radio chatter, not a place of belonging

2•pcwir•13m ago•0 comments

Where AI coding spend goes: 48% code, 40% thinking

https://codeburn.app/blog/where-ai-coding-spend-goes
2•agentseal•13m ago•0 comments

Scientists found the optimal robot body, and it has 20 legs

https://www.livescience.com/technology/robotics/scientists-found-the-optimal-robot-body-and-it-ha...
2•sieste•15m ago•0 comments

Iownthis.page – one link that tells your whole story

https://iownthis.page/
2•untitled-now•16m ago•0 comments

Why AI can't match human creative work

https://www.computerworld.com/article/4178383/why-ai-cant-match-human-creative-work.html
2•mikelgan•20m ago•1 comments

Reddit blocks JSON API access, which leaves read-only apps like RDX unusable

https://lemmy.world/post/47486620
7•avadhesh18•21m ago•0 comments

EV Stupidity Checklist

http://hypercritical.co/2026/05/29/ev-stupidity-checklist
4•pchristensen•21m ago•0 comments

The InfraRed 100 Report

https://www.redpoint.com/reports/the-infrared-report-2026/
2•shenli3514•27m ago•0 comments

Federal audit reveals NIST's NVD is plagued by poor planning and duplication

https://cyberscoop.com/nist-nvd-audit-mismanagement-duplication/
2•lschueller•27m ago•0 comments

Neon: We're building the boring backend for apps and agents

https://neon.com/blog/were-building-backends
3•bvanvugt•27m ago•0 comments

Learn to Count to Ten

http://countten.free.fr/four.html
3•wizardforhire•27m ago•0 comments

stable-worldmodel-v1: Reproducible World Modeling Research and Evaluation

https://arxiv.org/abs/2602.08968
2•petethomas•27m ago•0 comments

How a lab accident changed my approach to science

https://www.science.org/content/article/how-lab-accident-changed-my-approach-science
2•bookofjoe•27m ago•0 comments

How to securely connect ADK agents to models on Cloud Run

https://leoy.blog/posts/securely-connect-agents-to-models/
2•minherz•28m ago•1 comments

The Chatbots and Agents Are Going to Merge

https://www.bigtechnology.com/p/the-chatbots-and-agents-are-going
2•lschueller•28m ago•0 comments

What are the real problems of continual learning?

https://infinitefaculty.substack.com/p/what-are-the-real-problems-of-continual
3•matt_d•30m ago•0 comments

Ask HN: How is your org managing PR review load as AI multiplies code output?

2•meteor333•30m ago•0 comments

Cheapflation Cycles

https://www.nber.org/papers/w35235
2•paulpauper•33m ago•0 comments

65% of Hacker News Posts Have Negative Sentiment and They Outperform

https://philippdubach.com/posts/65-of-hacker-news-posts-have-negative-sentiment-and-they-outperform/
4•Karrot_Kream•35m ago•0 comments

Local AI Hardware: Break Even in 2.6 Years?

https://skepticcto.com/news/updates/2026/05/29/LocalAI.html
3•rbuccigrossi•37m ago•1 comments

Ahlan Social

https://github.com/ahlan-app/ahlan-social-mobile
2•ahlansocial•37m ago•0 comments