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

Technical leaders should have the largest AI exhaust

https://schipper.ai/posts/technical-leaders-should-have-the-largest-ai-exhaust/
1•schipperai•41s ago•0 comments

I still hand write my commit messages

https://www.jvt.me/posts/2026/08/17/hand-write-commits/
1•birdculture•4m ago•0 comments

NASA estimates the size of the hole SpaceX made in the moon

https://www.theregister.com/offbeat/2026/08/19/nasa-estimates-the-size-of-the-hole-spacex-made-in...
1•Bender•5m ago•0 comments

ASML tries to keep employees until 2030 with €20K stock

https://www.dutchnews.nl/2026/07/asml-staff-get-e20000-in-shares-if-they-stay-until-2030/
1•jbverschoor•5m ago•1 comments

The Point

https://jamie.ideasasylum.com/2026/08/19/the-point
2•mooreds•7m ago•0 comments

NASA's rescue mission for the Swift space telescope has failed

https://www.scientificamerican.com/article/nasa-calls-off-rescue-mission-for-its-falling-swift-sp...
1•sohkamyung•8m ago•0 comments

"Half-Day": 0-Day in the Age of AI

https://margin.re/2026/08/introducing-the-half-day-0-day-in-the-age-of-ai/
1•aaronsdevera•9m ago•0 comments

SvelteKit 3 puts heat on Next.js with approach to RPCs

https://www.theregister.com/devops/2026/08/19/sveltekit-3-puts-heat-on-nextjs-with-radical-approa...
2•Bender•9m ago•0 comments

Drivers are so used to speeding many ignore posted limits, study finds

https://www.freep.com/story/news/local/michigan/2026/08/18/speeding-drivers-traffic-deaths/913503...
1•mandaroVH•12m ago•1 comments

Solving the Flat Cube

https://mathenchant.wordpress.com/2026/08/19/solving-the-flat-cube/
1•jamespropp•14m ago•1 comments

Jason Kelce pleads with NFL fans to send urine to AI data centers

https://www.themirror.com/sport/american-football/jason-kelce-pee-garage-beers-1989324
1•farrisa•14m ago•0 comments

Threshold Schnorr signs in 3ms, threshold ECDSA in 5s

https://808bits.com/articles/the-ecdsa-tax/
1•meehow•15m ago•1 comments

Automated 500 to PR with Hermes and Buzz

https://twitter.com/chadarimura/status/2090208429264826560
1•carimura•15m ago•0 comments

Rick Scott Walked Away from $1.7B Health Care Fraud Case, Then Got a Senate Seat

https://www.uncensoredobjection.com/p/senator-rick-scott-walked-away-from
3•petethomas•21m ago•0 comments

I had to unplug from AI to rediscover my love of writing

https://www.science.org/content/article/i-had-unplug-ai-rediscover-my-love-writing
1•prabal97•21m ago•0 comments

The Future of CSS: Target Multiple Classes with the Class Prefix Selector

https://www.bram.us/2026/08/20/the-future-of-css-target-multiple-classes-with-the-class-prefix-se...
1•cdrnsf•22m ago•0 comments

Digging Out of a Deep Hole: Saving Billions on 125th Street

https://www.etany.org/reports/digging-out-deep-hole-sas-west
1•petethomas•24m ago•0 comments

From Quantum Relative Entropy to the Semiclassical Einstein Equations

https://journals.aps.org/prl/abstract/10.1103/lmq8-nsty
1•dayve•25m ago•0 comments

Dear researchers: Is AI all you've got?

https://austinhenley.com/blog/dearresearchers.html
1•jermaustin1•26m ago•0 comments

Agent Swarms

https://av.codes/blog/on-agent-swarms/
1•everlier•27m ago•0 comments

Aegis Ada

https://aegisada.com/
1•Tolu1011•27m ago•0 comments

User Awareness in Frontier Models

https://www.alignmentforum.org/posts/kfunjXeaRTpkT5RAF/user-awareness-in-frontier-models
1•matheusmoreira•27m ago•0 comments

Gramsci Theme Parks

https://summerlightning.substack.com/p/gramsci-theme-parks
1•jger15•29m ago•0 comments

Is Cloudflare Pro Worth It?

https://blog.fernvenue.com/archives/is-cloudflare-pro-worth-it/
2•fernvenue•31m ago•0 comments

Framework responds to complaints that BIOS update bricks Ryzen 7040 laptops

https://arstechnica.com/gadgets/2026/08/framework-responds-to-complaints-that-bios-update-bricked...
1•starkparker•35m ago•1 comments

Show HN: Hack Club Folktale: Learn Python, Make a Game, Get Free Stickers

https://folktale.hackclub.com/
2•breynard•35m ago•1 comments

BPW34 and CsI(Tl)

https://www.madexp.it/2024/03/30/bpw34-csitl/
1•joebig•36m ago•0 comments

Hacking SAML with Claude Code

https://oblique.security/blog/hacking-saml/
1•ericchiang•39m ago•0 comments

Semantica, the Open Source Palantir for AI Agents

https://github.com/semantica-agi/semantica
2•jinqueeny•44m ago•0 comments

Show HN: FerrumPix Photo/RAW-Editor, Viewer, Gallery, Immich & Nextcloud Client

https://github.com/Bitpainter75/FerrumPix
1•Bitpainter•50m ago•0 comments