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

UC Berkeley Law blanket AI ban since summer 2026

https://www.law.berkeley.edu/academics/registrar/academic-rules/artificial-intelligence-policy/
1•xyzal•2m ago•0 comments

London's Free Roof Terraces

https://diamondgeezer.blogspot.com/2026/05/londons-free-roof-terraces.html
2•zeristor•5m ago•0 comments

All useful document at my company is now AI generated

https://www.reddit.com/r/developersIndia/s/56LVBJKthJ
1•justforreading•9m ago•0 comments

Made a Tool to Streams Changes from Microsoft SQL Server to Apache Kafka

https://github.com/Niyko/Athena
1•hyvr_official•9m ago•1 comments

Reading The Motley Fool never made anyone rich

https://www.researchtesseract.com/blog/reading-the-motley-fool-never-made-anyone-rich
1•BenetBani•10m ago•0 comments

Cache hit rates of Inference are more meaningful than the headline costs

https://dirac.run/posts/cache-hit-rates-agents
2•mellosouls•10m ago•1 comments

How thread locals work on macOS

https://yuraiz.github.io/dyld/
1•yuraiz•10m ago•0 comments

The Website Specification

https://specification.website/
9•k1m•11m ago•1 comments

Video shows an evolved bird nest design that leaves snakes with almost no way in

https://www.yahoo.com/lifestyle/articles/viral-video-shows-tiny-birds-212000935.html
1•gurjeet•15m ago•0 comments

A simple Common Lisp web app (2025)

https://www.scotto.me/blog/2025-04-30-a-simple-common-lisp-web-app/
1•tosh•16m ago•0 comments

Climate tech companies are going public. What's next?

https://www.technologyreview.com/2026/05/28/1138067/climate-tech-ipos/
1•joozio•16m ago•0 comments

Qwe: A simple file-first atomic version control system

https://github.com/mainak55512/qwe
1•thunderbong•18m ago•0 comments

Show Faith by Works – George

https://untitledsource.substack.com/p/show-faith-by-works
1•untiledsource•19m ago•0 comments

Pollen: The Book Is a Program

https://docs.racket-lang.org/pollen/
2•tosh•29m ago•0 comments

Ask HN: Did anyone noticed – Claude vs. Claude generated code act different?

1•kocialnews•31m ago•0 comments

Demographics may be breaking traditional labor market signals

https://www.reuters.com/business/feds-williams-productivity-shifts-hard-spot-real-time-2026-05-28/
2•latentframe•41m ago•0 comments

Blue Origin faces months of delays after rocket explosion damages launch pad

https://www.reuters.com/business/aerospace-defense/blue-origin-faces-months-delays-after-rocket-e...
2•JumpCrisscross•43m ago•0 comments

The National Automated Highway System That Almost Was (2013)

https://www.smithsonianmag.com/history/the-national-automated-highway-system-that-almost-was-6302...
2•downbad_•53m ago•0 comments

The U.S. Has Found a Way to Down a Drone Without Spending $1M

https://www.wsj.com/world/the-u-s-has-found-a-way-to-down-a-drone-without-spending-1-million-848f...
2•JumpCrisscross•59m ago•0 comments

Show HN: GoodSender – the email API for makers and AI agents

https://goodsender.com/
2•efsher_azoy2•59m ago•0 comments

The ~500kB NBSDGames 6 managed to be published ahead of GTA 6

https://github.com/abakh/nbsdgames/releases
3•abakh•1h ago•0 comments

Access Advance Licensor Sues Snap Inc. For AV1 and HEVC Patent Infringement

https://www.accessnewswire.com/newsroom/en/electronics-and-engineering/access-advance-licensor-su...
3•maxloh•1h ago•0 comments

Why Custom Attributes in .NET Give Me Nightmares

https://blog.washi.dev/posts/custom-attributes-and-why-they-suck/
2•jandeboevrie•1h ago•0 comments

Alibaba DAMO Academy Releases GPU Version of Solver

https://www.moomoo.com/news/post/70684711/alibaba-damo-academy-releases-gpu-version-of-solver-for...
2•devy•1h ago•0 comments

Avian Visitors

https://theodore.net/projects/AvianVisitors/
12•fdb•1h ago•0 comments

I'm a photographer. I built a DSL for multi-agent workflows

https://github.com/anhonestboy/agentflow
5•westhills•1h ago•1 comments

A Complexity Theory of AI Value Accrual

https://twitter.com/hypersoren/status/2056866328003174707
3•pretext•1h ago•0 comments

Google infringed trademark allowing competitors use brand name as an ad keyword

https://economictimes.indiatimes.com/tech/technology/ettech-explainer-why-google-was-fined-rs-30-...
6•alok-g•1h ago•1 comments

Dell Confirms XPS Laptop with Nvidia N1X at Computex

https://videocardz.com/newz/dell-confirms-xps-laptop-with-nvidia-n1x-at-computex
4•theanonymousone•1h ago•0 comments

High Tech Heroes #37: Sherwin Gooch Interviews Jef Raskin (1989?)

https://www.youtube.com/watch?v=1qvrOEExlps
3•OhMeadhbh•1h ago•0 comments