frontpage.
newsnewestaskshowjobs

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

Phrack Loopback

https://phrack.org/issues/49/phrack-loopback
1•ronfriedhaber•1m ago•0 comments

SaaA: Software as an Art

https://allstead.dev/blog/software-as-an-art
1•willio58•1m ago•0 comments

Goofymacs Make the ARP table at your IX a little weirder

https://goofymacs.net/
1•nu11r0ut3•2m ago•0 comments

If I were diagnosed with cancer today, here's what I'd do

https://killingdave.substack.com/p/if-i-were-diagnosed-with-cancer-today
3•Matrixik•4m ago•0 comments

Treat People as Flowers

https://www.autodidacts.io/treat-people-as-flowers/
1•Curiositry•6m ago•0 comments

Meditations on Moloch

https://www.slatestarcodexabridged.com/Meditations-On-Moloch
1•moononite•9m ago•0 comments

Nvidia prepares to fire CEO Jensen Huang, WSJ reports

https://twitter.com/watcherguru/status/2120645607866188008
4•alexmolas•9m ago•0 comments

LZ Sees Surprising Result in Search for Dark Matter

https://www.bnl.gov/newsroom/news.php?a=123133&utm_source=join1440&utm_medium=email&utm_placement...
1•gmays•9m ago•0 comments

93% of Paint Splatters Are Valid Perl Programs (2019)

https://www.mcmillen.dev/sigbovik/
5•zenincognito•11m ago•1 comments

Independent interferometric observable confirms black hole shadow in M87

https://www.nature.com/articles/s41586-026-11241-9
1•sohkamyung•12m ago•0 comments

Nvidia Is Preparing to Oust Nvidia CEO Jensen Huang

https://www.wsj.com/business/nvidia-is-preparing-to-oust-nvidia-ceo-jensen-huang-30f421ad
47•jbredeche•15m ago•16 comments

I'm Just a Meat Proxy

https://justin.searls.co/posts/im-just-a-meat-proxy/
1•searls•15m ago•0 comments

Think of an Apple – A Case for Agent Memory

https://nishantjosh.dev/blogs/think-of-an-apple/
1•cat-whisperer•15m ago•0 comments

How to Become a Lost

https://www.l3r8y.ru/2026/01/11/how-to-become-lost-developer
4•l3r8y•15m ago•0 comments

Jensen Huang had a second affair – with an employee

https://www.cnbc.com/2026/11/11/nvidia-jensen-huang-affair-employee.html
3•justswim•16m ago•0 comments

On Fearing the Whispering Earring

https://tomjohnell.com/on-fearing-the-whispering-earring/
1•tjohnell•16m ago•0 comments

Retractions of old papers are on the rise: when should bad science be culled?

https://www.nature.com/articles/d41586-026-03624-9
1•bookofjoe•16m ago•1 comments

Even with Explicit Rules and Accurate Task Rewards, RL Learns to Violate Them

https://xinjie-shen.com/post/rlmisalignment/
2•faxipay349•18m ago•1 comments

Debug a failed deploy with Claude: from red build to fixed release

https://railyard.run/blog/debug-failed-deploy-with-claude/
1•RailyardRun•19m ago•0 comments

Gferm

1•roccodina•21m ago•0 comments

Show HN: Cryptography Playground, a Rust/Tauri notebook for toy ciphers

https://github.com/zevarix/cryptography-playground
2•zevarix•25m ago•0 comments

SkillOpt: Self-Evolving Agent Skills with Zero Inference Overhead

https://github.com/microsoft/skillopt
1•allinonai•26m ago•0 comments

Google Maps Now Requires Sign in to Read All Reviews and More

https://www.seroundtable.com/google-maps-account-reviews-42186.html
3•DeepLogin•26m ago•0 comments

Words of warning about radiocarbon dating medieval human bones

https://www.nature.com/articles/s40494-026-02958-x
3•gumby•27m ago•0 comments

CodeGraphy v2.1: 11 MCP tools, interactive architecture graph, -85% LLM tokens

https://github.com/Vindettobkb/CodeGraphy-Desktop
1•vindet1o•28m ago•0 comments

Lock Your GitHub Actions

https://hugovk.dev/blog/2026/lock-github-actions/
21•gslin•29m ago•5 comments

HackerTube, HackerBooks, and HackerBlogs are not 3 but 1 > HacksMedia

1•abhijitdalal•30m ago•0 comments

HuggingFace/Kernels: 200 WebGPU Kernels for Local AI

https://huggingface.co/blog/webgpu-kernels
2•gmays•33m ago•0 comments

Relax – a JIT for Rust that runs Cargo packages before it is done compiling

https://makepad.github.io/relax/
1•rikarendsmp•34m ago•0 comments

Adventures in Weight Space Programming

https://www.withbeaker.ai/blog/weight-space-programming
3•VictorSh•35m ago•1 comments