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

Documentation is still in your Mum's filing cabinet

https://gerireid.com/blog/organising-documentation-for-humans-and-ai/
1•mooreds•34s ago•0 comments

30papers.com – Ilya's 30 essential ML papers, in a beginner friendly format

https://30papers.com/
1•notmcrowley•41s ago•0 comments

Show HN: Threes with Bot Game

https://crates.io/crates/threes-with-bot
2•alfanick•2m ago•0 comments

Thinkslop and all this is true because it is AI

https://substack.com/@fpjunqueira/note/c-289733073
2•fpj•2m ago•1 comments

Learn Nix where it breaks

https://www.labcraft.dev/blog/introducing-labcraft
2•anandsuresh•3m ago•0 comments

Show HN: DreamX-World, Alibaba's new realtime world model

https://twitter.com/reactorworld/status/2074516290442592418
2•hmprt•3m ago•0 comments

Lexxy – A modern rich text editor for Rails

https://lexxy.dev/
2•tortilla•3m ago•0 comments

Show HN: ZeroGate – An API gateway to scale cloud GPUs to zero when idle

https://zerogate.cloud
2•ngarner•3m ago•0 comments

Adding UI for replies between blogs

https://multiline.co/mment/2026/07/adding-ui-for-replies/
2•nate•4m ago•0 comments

Parachute use to prevent death: a review of Randomized Controlled Trials

https://pmc.ncbi.nlm.nih.gov/articles/PMC300808/
2•compiler-guy•5m ago•1 comments

Sites that block AI training crawlers mostly ignore the answer time bots

https://sitedex.dev/insights/robots-txt-2023-war-memorial
2•zeppelin_7•6m ago•0 comments

GPU-accelerated context memory for on-device AI agents on Apple Silicon

https://github.com/christopherkarani/ContextCore
1•christkarani•6m ago•1 comments

Better Auth is joining Vercel

https://better-auth.com/blog/better-auth-joins-vercel
10•sync•6m ago•0 comments

Show HN: Refloow Geo Forensics 1.4 – Local EXIF extraction and timeline mapping

https://github.com/Refloow/Refloow-Geo-Forensics
1•refloow•7m ago•0 comments

Reversible Computing

https://en.wikipedia.org/wiki/Reversible_computing
1•tristenharr•9m ago•0 comments

Show HN: Interactive Short Story Collection

https://jordanjordanjordan.com/
1•jordan9001•9m ago•0 comments

WhatsApp Business for iOS Crashes After 16 Seconds When Companion Is Connected

https://granot.io/whatsapp-business-for-ios-sucks/
1•tomgs•10m ago•0 comments

Show HN: DoodleMeme – Animate Hand Drawings Without Generative AI

https://doodlemate.com/meme
1•hjessmith•10m ago•0 comments

After defying Pope Leo and causing schism, SSPX defends its actions

https://www.ncronline.org/vatican/after-defying-pope-leo-and-causing-schism-sspx-defends-its-actions
1•firasd•11m ago•0 comments

Classical computing, quantum computing, and Shor's factoring algorithm (1999)

https://www.alphaxiv.org/abs/quant-ph/9903008
1•measurablefunc•12m ago•0 comments

Show HN: Reins – let coding agents drive your real, logged-in browser

https://reins.karnstack.com
2•karngyan•13m ago•0 comments

Landauer's Principle

https://en.wikipedia.org/wiki/Landauer%27s_principle
1•tristenharr•13m ago•0 comments

Phonebloks: A global campaign to bring to life a modular phone to reduce e-waste

https://www.onearmy.earth/project/phonebloks
1•Jomal_HN•16m ago•0 comments

I Bought a Sony Walkman

https://82mhz.net/posts/2026/07/i-bought-a-sony-walkman/
1•edward•16m ago•0 comments

If an AI can do no harm, then it can do no good

https://higashi.blog/2026/06/26/safety/
2•yuedongze•18m ago•0 comments

Buzzword Driven Development: Stop Talking About the CAP theorem

https://nextpath.substack.com/p/stop-talking-about-the-cap-theorem
3•code_pig•20m ago•0 comments

Keet – Encrypted peer to peer messaging

https://keet.io/
2•rickcarlino•20m ago•0 comments

Why we built yet another Postgres connection pooler

https://pgdog.dev/blog/why-yet-another-connection-pooler
1•levkk•22m ago•0 comments

Probes.dev Is Released

https://limeleaf.coop/blog/probes-is-released/
2•blainsmith•22m ago•0 comments

Together for a Healthier Clippy

https://blog.rust-lang.org/inside-rust/2026/07/06/unite-for-clippy/
1•birdculture•22m ago•0 comments