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•12mo 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 just-say-no engineer was a ZIRP phenomenon

https://www.seangoedecke.com/the-just-say-no-engineer-was-a-zirp-phenomenon/
1•theanonymousone•5m ago•0 comments

Governments are ruining the internet to protect kids

https://www.neowin.net/editorials/governments-are-ruining-the-internet-to-protect-kids-but-there-...
1•bundie•6m ago•0 comments

Mounting Git commits as folders with NFS

https://jvns.ca/blog/2023/12/04/mounting-git-commits-as-folders-with-nfs/
1•pvtmert•6m ago•1 comments

Korean bill seeks strict watermark mandate on AI-generated content

https://www.koreatimes.co.kr/business/tech-science/20260517/korean-bill-seeks-strict-watermark-ma...
1•01-_-•8m ago•0 comments

A new EDIT tool for LLM agents

https://antirez.com/news/166
2•surprisetalk•9m ago•0 comments

Darwin Family: MRI-Trust-Weighted Evolutionary Merging

https://arxiv.org/abs/2605.14386
1•cheuv•9m ago•0 comments

Brain "Bypass" Technology Could Transform Treatment for Neurological Disorders

https://scitechdaily.com/new-brain-bypass-technology-could-transform-treatment-for-neurological-d...
1•01-_-•10m ago•0 comments

My domain got abused on GitHub Pages

https://meertens.dev/blog/github-enables-domain-abuse/
1•rmeertens•10m ago•0 comments

How We Hacked Our Way to Free 4.0s and Took Over a uWaterloo & UofT Grading Tool

https://xtra.sh/blog/markus/
1•xtra1•11m ago•0 comments

How to Select a Mobile OS

https://blog.gridranger.dev/mobile-oses-featuring-fairphone-5/
1•vinhnx•13m ago•0 comments

Why Elon Musk lost his suit against OpenAI

https://www.technologyreview.com/2026/05/18/1137488/elon-musk-suit-openai-verdict/
1•joozio•13m ago•0 comments

Topological Relativity Theory: A Quantum Gauge Field Framework

https://zenodo.org/records/20262720
1•kisnorbert•14m ago•0 comments

Meta lays out details of May 20 restructuring in internal document

https://www.reuters.com/world/meta-lays-out-plans-may-20-layoffs-restructuring-internal-document-...
1•theonionspeaks•15m ago•0 comments

My 40-liter backpack travel guide

https://vitalik.eth.limo/general/2022/06/20/backpack.html
1•bushwart•19m ago•1 comments

Kerf (Kerf1)

https://github.com/kevinlawler/kerf1
1•tosh•20m ago•0 comments

MXToolbox Alternative

https://dmarcguard.io/blog/mxtoolbox-alternative/
1•meysamazad•20m ago•0 comments

Thoughts on People and Blogs

https://afranca.com.br/thoughts-on-people-and-blogs/
1•meysamazad•21m ago•0 comments

Computers and Upgrades

https://www.unsungnovelty.org/posts/05/2026/computers-and-upgrades/
1•meysamazad•23m ago•0 comments

Why math and biology make organizational perfection impossible

https://ksaweryskowron.substack.com/p/managing-is-not-about-reaching-perfection
1•ksaweryskowron•23m ago•0 comments

NYSE: Daily TAQ Client Specifications [pdf]

https://www.nyse.com/publicdocs/nyse/data/Daily_TAQ_Client_Spec_v4.3.pdf
1•tosh•23m ago•0 comments

Build a Searchable Catalog with Filters, Facets, and Semantic Search

https://medium.com/@s_nikolaev/build-a-searchable-catalog-with-filters-facets-and-semantic-search...
1•snikolaev•23m ago•0 comments

2026 – agents break containment, what's next?

https://www.bradwmorris.com/posts/free-the-claw-agents-break-containment
1•bradwmorris•25m ago•0 comments

Gelatine Sculpt Weight Loss Claims Evaluated: The Truth Behind the Gelatin Trick

https://finance.yahoo.com/sectors/healthcare/articles/gelatine-sculpt-exploding-2026-viral-142500...
1•tarjzapu•27m ago•0 comments

How to Save Bloated MCP with Code Mode

https://zenstack.dev/blog/mcp-code-mode
2•jsgood•29m ago•0 comments

Pythagorean Addition

https://entropicthoughts.com/pythagorean-addition
3•Tomte•32m ago•0 comments

The programmer whose code underpins the Interne

https://www.scientificamerican.com/article/the-programmer-whose-code-underpins-the-internet/
2•tzury•32m ago•0 comments

Linus Torvalds on the continued flood of AI bug reports

https://lkml.org/lkml/2026/5/17/896
2•tzury•35m ago•0 comments

Simulating Infinity in Conway's Game of Life with Modern C++

https://ryanjk5.github.io/posts/GOLDE/
1•signa11•36m ago•0 comments

AI Cold War Is a Marketing Gimmick

https://sinodatacrit.substack.com/p/ai-cold-war-is-a-marketing-gimmick
1•dlcmh•37m ago•0 comments

Apple vs. EU Commission: DMA second round

https://fsfe.org/news/2026/news-20260519-01.en.html
3•softwarefreedom•41m ago•2 comments