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

Lutnick's old firm pumps $10M into super PAC led by Tether executive

https://www.citationneeded.news/commerce-secretary-howard-lutnicks-old-firm-pumps-10-million-into...
1•petethomas•22s ago•0 comments

US, EU move toward landmark biometric data sharing deal

https://www.biometricupdate.com/202603/us-eu-move-toward-landmark-biometric-data-sharing-deal
1•peq42•57s ago•0 comments

A privacy-first QR code generator (100% client-side, PNG and SVG export)

https://atomnyx.com/tools/qr-code-generator
1•RuBekOn•1m ago•0 comments

TCode: An AI Coding Agent Leverages Neovim and Tmux

https://www.binwang.me/2026-04-12-TCode-An-AI-Coding-Agent-Leverages-Neovim-and-Tmux.html
1•wb14123•1m ago•0 comments

Reed Hastings to Step Down as Netflix Chair

https://www.nytimes.com/2026/04/16/business/media/reed-hastings-netflix-chair.html
1•psychanarch•1m ago•0 comments

Frontier Coding Agents Built a Video Diffusion Pipeline on Max

https://www.modular.com/blog/how-frontier-coding-agents-built-a-video-diffusion-pipeline-on-max
1•visheshdembla•2m ago•0 comments

Scientists Just Created Super-Strong Steel That Never Rusts

https://www.popularmechanics.com/science/green-tech/a70977124/3d-printed-steel/
2•bookofjoe•3m ago•1 comments

The Beginning of Scarcity in AI

https://tomtunguz.com/ai-compute-crisis-2026/
1•gmays•7m ago•0 comments

Mechanical Sympathy

https://vickiboykis.com/2026/04/13/mechanical-sympathy/
1•sebg•7m ago•0 comments

Neuromorphic Event-Based Camera Achieves Kilohertz Vascular Imaging

https://bioengineer.org/neuromorphic-event-based-camera-achieves-kilohertz-vascular-imaging-and-f...
2•geox•8m ago•0 comments

Accelerate building an independent European social web

https://fund.eurosky.tech/https://whydonate.com/en/fundraising/AcceleratebuildinganindependentEur...
1•doener•10m ago•0 comments

Packrat Parsing at the Speed of Wasm [video]

https://www.youtube.com/watch?v=C2QxWtqlq9E
1•matt_d•12m ago•0 comments

Has New Music Become Less Popular?

https://www.statsignificant.com/p/has-new-music-become-less-popular
1•dpee123•13m ago•0 comments

Let sleeping CPUs lie: S0ix

https://freebsdfoundation.org/our-work/journal/browser-based-edition/laptop-desktop/let-sleeping-...
1•fanf2•14m ago•0 comments

JavaScript Promise.all() and Promise.allSettled() in Practice

https://www.jamdesk.com/blog/javascript-promise-all
1•gbourne1•16m ago•0 comments

GitHub Copilot Chat 0.44.1 – Possible Malicious Release

2•warhorse10_9•18m ago•0 comments

We Took $10k from MKBHD's Locked iPhone

https://twitter.com/veritasium/status/2044466849308414117
1•apparent•18m ago•1 comments

Changing leafcutter ants' food reshapes their microbial gardens, scientists find

https://phys.org/news/2026-03-leafcutter-ants-food-reshapes-microbial.html
1•PaulHoule•18m ago•0 comments

Sweden's schools cutting back on digital learning

https://www.bbc.com/news/articles/cly0vk77vdko
1•bidikburger•22m ago•1 comments

Ask HN: Why Hasn't Clojure Caught On?

3•uxcolumbo•22m ago•4 comments

Estimating π with a Coin

https://arxiv.org/abs/2602.14487
1•sebg•23m ago•0 comments

Show HN: King Louie a desktop AI with 20 agent tools, no cloud required

https://github.com/the-banana-tool/king-louie
1•sethito•24m ago•1 comments

The "Passive Income" trap ate a generation of entrepreneurs

https://www.joanwestenberg.com/the-passive-income-trap-ate-a-generation-of-entrepreneurs/
9•devonnull•25m ago•2 comments

Timeplus Released AgentGuard – Real-Time Security Detection for AI Agents

https://www.timeplus.com/post/agentguard
1•gangtao•25m ago•0 comments

The Rise of Marketing Speak

https://sustainableviews.substack.com/p/the-rise-of-marketing-speak
1•rzk•26m ago•0 comments

Break Bricks on Any Webpage

https://github.com/canalun/brick-break-anywhere
1•indigodaddy•26m ago•0 comments

The Mystery in the Medicine Cabinet

https://asteriskmag.com/issues/14/the-mystery-in-the-medicine-cabinet
1•downsplat•26m ago•1 comments

SEC's Power to Force Fraudsters to Disgorge Gains Returns to U.S. Supreme Court

https://www.law.com/nationallawjournal/2026/04/16/secs-power-to-force-fraudsters-to-disgorge-gain...
1•1vuio0pswjnm7•29m ago•0 comments

Doom with LaTex

https://julienlargetpiet.tech/articles/dissecting-latex-revenge-four-years-later.html
2•random__duck•29m ago•0 comments

Netflix Chair Reed Hastings to Leave Board in June

https://www.wsj.com/business/media/netflix-chair-reed-hastings-to-leave-board-in-june-6d887c27
2•fortran77•32m ago•1 comments