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

HTTP RateLimit Headers

https://dotat.at/@/2026-01-13-http-ratelimit.html
1•ingve•1m ago•0 comments

Why Arab states are silent about Iran's unrest

https://www.economist.com/middle-east-and-africa/2026/01/13/why-arab-states-are-silent-about-iran...
1•ryan_j_naughton•3m ago•0 comments

Documented Alaska Airlines loyalty thefts shows architectural failure

https://www.noseyparker.org/p/alaska-airlines-where-the-top-customers
4•NoseyParker•8m ago•1 comments

Volvo Will Make You Safer with Only a Font

https://www.motortrend.com/news/volvo-safety-typeface-font-easy-read
1•qsi•8m ago•0 comments

You vs. a Billionaire: An Interactive Perspective on Wealth

https://www.budgetflow.cc/blog/you-compared-to-elon-musk
2•mkrd•11m ago•0 comments

We optimized Socket.IO for real-time SaaS analytics

https://saasscout.online/
1•zoey922•11m ago•0 comments

An Architecture for Verifiable Data Collection and Proof-of-Check Timestamping

https://www.researchgate.net/publication/399711443_A_Libre_Architecture_for_Verifiable_Data_Colle...
1•cedricbonhomme•13m ago•0 comments

NASA's SpaceX Crew-11 Go for Undocking on Wednesday

https://www.nasa.gov/blogs/commercialcrew/2026/01/13/nasas-spacex-crew-11-go-for-undocking-on-wed...
1•akg130522•13m ago•0 comments

Agent OS

https://buildermethods.com/agent-os
1•evo_9•14m ago•1 comments

Nvim-beads: Manage beads in Neovim

https://joeblu.com/blog/2026_01_introducing-nvim-beads-manage-beads-in-neovim/
1•joeblubaugh•15m ago•0 comments

Rapid Serial Visual Presentation (RSVP) reader for speed reading

https://github.com/thomaskolmans/rsvp-reading
2•yownie•15m ago•2 comments

Cells use 'Bioelectricity' to coordinate and make group decisions

https://www.quantamagazine.org/cells-use-bioelectricity-to-coordinate-and-make-group-decisions-20...
2•ashishgupta2209•15m ago•0 comments

New set of icons for Apple Creator Studio apps

https://www.reddit.com/r/MacOS/s/NC7iDJu9MS
1•cromka•18m ago•1 comments

The Joy of Not Learning: How AI Saves My Hobby Projects

https://harichetlur.com/blog/the-joy-of-not-learning-how-ai-saves-my-hobby-projects/
3•harichetlur•24m ago•1 comments

China reports largest gold discovery in more than seven decades (2025)

https://www.euronews.com/business/2025/11/14/china-reports-largest-gold-discovery-in-more-than-se...
1•wslh•28m ago•1 comments

Show HN: Cyber+ – A cybersecurity-focused programming language

https://github.com/TanmayCzax/Cyber-Programming-language-Alpha
1•CzaxTanmay•30m ago•0 comments

Photographer 'over the Moon' with iconic ET recreation two years in the making

https://www.bbc.com/news/articles/cp3z475kxwpo
1•1659447091•30m ago•0 comments

New Apple Creator Studio Icons

https://www.reddit.com/r/MacOS/s/aPa5goAtSo
2•virgildotcodes•31m ago•0 comments

Ask HN: How to find gaps and oppurtunities in the AI era?

3•SRMohitkr•36m ago•1 comments

End-to-End Encrypted RCS Messages Referenced in Latest iOS 26.3 Beta

https://twitter.com/TiinoX83/status/2010830920681427199
3•7777777phil•37m ago•0 comments

DHS Deportation Reels Are Getting Copyright Strikes for Unlicensed Music Use

https://reason.com/2026/01/11/the-deportation-playlist-is-mostly-stolen/
9•fortran77•39m ago•0 comments

First impressions of Claude Cowork, Anthropic's general agent

https://simonw.substack.com/p/first-impressions-of-claude-cowork
3•stosssik•41m ago•0 comments

Keir Starmer abandons plans for compulsory digital ID

https://www.thetimes.com/uk/politics/article/digital-id-scrapped-u-turn-keir-starmer-7zcwqqvb5
4•petethomas•42m ago•0 comments

A Journey of Validating a Healthcare Startup

https://jeevan.life/healthcare.html
1•ssunboyy•45m ago•0 comments

HiGP: A high-performance Python package for Gaussian Process

https://arxiv.org/abs/2503.02259
1•7777777phil•45m ago•0 comments

Incomputable Language: An Essay on AI

https://www.eruditorumpress.com/blog/on-incomputable-language-an-essay-on-ai
1•drnrb•45m ago•0 comments

AI Reliance Logging

https://zenodo.org/records/18239999
1•businessmate•46m ago•1 comments

A book about Solo Building

https://solobuilding.com/
1•mddanishyusuf•53m ago•0 comments

Good Use of Postgres

https://vivekn.dev/blog/good-use-of-postgres/
1•viveknathani_•55m ago•0 comments

When You are Waiting for a Miracle [video]

https://www.youtube.com/watch?v=1-b52n7mYnc
1•marysminefnuf•57m ago•0 comments