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

Ask HN: What Hacker News comments have you bookmarked?

1•chistev•1m ago•0 comments

Kairo: Open-source project memory for understanding how a repo evolved

https://github.com/ElhamdevelopmentStudio/kairo
1•elhamdev•1m ago•0 comments

Good LLM development and usage patterns

https://blog.bluebyday.com/posts/good-llm-dev-and-usage/
1•_QrE•2m ago•0 comments

From Specialists to Builders: How AI Agentic Coding Is Reshaping Software Teams

https://aliparnan.com/blog-specialists-to-builders.html
1•Alpn13•3m ago•0 comments

Agent payments reach 3.1M x402 transactions in 30 days

https://cryptobriefing.com/agent-payments-growth-x402/
2•alexreysa•4m ago•0 comments

Mirror's Edge Catalyst Glass City as a navigable 3D atlas in the browser

https://glassgallery.me/
1•justsomehnguy•4m ago•0 comments

China's lab-grown diamonds emerging as a surprising beneficiary of the AI boom

https://www.bloomberg.com/news/articles/2026-06-02/china-s-lab-grown-diamonds-emerge-as-unlikely-...
1•victormustar•5m ago•0 comments

Why Janet?

https://ianthehenry.com/posts/why-janet/
3•yacin•5m ago•0 comments

The Unreasonable Effectiveness of Mathematics in the Natural Sciences(1960)[pdf]

https://www.hep.upenn.edu/~johnda/Papers/wignerUnreasonableEffectiveness.pdf
1•Quizzical4230•6m ago•0 comments

You Don't Love Systemd Timers Enough

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
1•yacin•6m ago•0 comments

Official MCP servers ship known-vulnerable dependencies at install time

https://bindfort.com/research/mcp-supply-chain-scan
1•Bindfort•6m ago•0 comments

Programming as Theory Building, Naur (1985). PDF-Link

https://pages.cs.wisc.edu/~remzi/Naur.pdf
1•birdculture•6m ago•0 comments

Supply Chain DLP: Stop Leaked .env Files, Credentials, SSH Keys, and API Tokens

https://scdlp.io/
1•ronreiter•7m ago•0 comments

Mqtt-dashboard – A self-hostable MQTT dashboard/explorer for IoT developers

https://github.com/jmischler72/mqtt-dashboard
1•jmischler72•7m ago•0 comments

uLisp

http://www.ulisp.com/
1•tosh•9m ago•0 comments

Show HN: Logic Designer – Digital Logic SIM Tool

https://logic-designer.github.io/logic-designer-main/
1•logic-designer•10m ago•0 comments

The AI output was 94% accurate

https://brunelly.com/
1•rihabz•11m ago•0 comments

A virtual tomato training arena for harvesting robots

https://www.omu.ac.jp/en/info/research-news/entry-111907.html
2•JeanKage•12m ago•0 comments

Show HN: CPU-only fact-check, summarize, explain, translate anything

https://github.com/kouhxp/fftext
1•mrkn1•15m ago•0 comments

The Art and Engineering of Silpheed

https://fabiensanglard.net/silpheed/index.html
2•jatwork•15m ago•0 comments

Health Care Index by Country 2026

https://www.numbeo.com/health-care/rankings_by_country.jsp
1•simonebrunozzi•16m ago•0 comments

Google Is Killing "Gemini Code Assist on GitHub"

https://developers.google.com/gemini-code-assist/docs/deprecations/consumer-code-review
2•javiercr•17m ago•0 comments

Nvidia CEO Jensen Huang Keynote at Computex 2026

https://www.youtube.com/watch?v=gxgi6D-Cf9I
2•simonsan•17m ago•3 comments

In the Beginning Was the Command Line

https://en.wikipedia.org/wiki/In_the_Beginning..._Was_the_Command_Line
2•tosh•18m ago•0 comments

Paperly – A 100% offline native iOS document scanner

https://apps.apple.com/us/app/paperly-scanner-pdf-editor/id6770937257
1•Sahil0804•19m ago•0 comments

Lettera – AI Cover Letter Generator (3 Free Uses, No Signup)

https://lettera-chi.vercel.app/
1•checkcheck•19m ago•1 comments

First undersea data center powered by offshore wind is online

https://newatlas.com/energy/china-underwater-data-center-opens/
4•robtherobber•20m ago•0 comments

Lattice Deduction Transformers

https://arxiv.org/abs/2605.08605
1•44za12•22m ago•0 comments

Worker Killed at SpaceX, a Monopoly Long Accused of Neglecting Safety

https://theworker.news/2026/05/31/fall-kills-spacex-worker-a-monopoly-long-accused-of-neglecting-...
1•robtherobber•22m ago•0 comments

Quality in the Age of AI Slop

https://sinclairtarget.com/blog/2026/06/01/quality-in-the-age-of-slop/
2•berlianta•26m ago•0 comments