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

The day Amazon selected their favorite fake customer reviews (2013)

https://idle.slashdot.org/story/13/08/15/2212210/amazon-selects-their-favorite-fake-customer-reviews
1•MilnerRoute•17s ago•0 comments

Show HN: Namastack – Reliable event processing for Spring Boot

https://github.com/namastack/namastack-outbox
1•rolandbeisel•1m ago•0 comments

Show HN: I made my first extension

https://www.gistbox.pro/
1•sahil423•1m ago•0 comments

Show HN: Made my first web extension which exports AI chats as diff files

https://chromewebstore.google.com/detail/gistbox/jkbbahoipdpcoickbplejfkkebcnpocg
1•sahil423•2m ago•0 comments

I came to write THAT paper with Leslie Lamport

https://lawrencecpaulson.github.io/2026/08/21/Lamport.html
1•rbanffy•3m ago•0 comments

Show HN: FERS Annuity Calculator – sick-leave conversion using OPM's Chart 2

https://solederlego8-a11y.github.io/fers/
1•naoK3•5m ago•0 comments

Quantum Computing for Software Engineers – Leanpub

https://leanpub.com/quantum-computing-for-software-engineers
1•rbanffy•7m ago•0 comments

Otium – an overnight job-application pipeline that runs on your Mac

https://github.com/HarshVirani914/otium
1•harshvirani914•9m ago•0 comments

JDF – An open JSON document format with a reader, CLI and PDF import

https://jdf.dev
1•latenightfounde•9m ago•0 comments

Modern JavaFX CSS theme collection with additional controls

https://github.com/mkpaz/atlantafx
1•saikatsg•10m ago•0 comments

Under 30 Hall of Shame

https://www.forbes.com/sites/alexyork/2026/11/29/30-under-30-hall-of-shame/
2•taubek•11m ago•0 comments

The Software-Defined Mirage and the Alien Worlds of Socket Cores and OS Kernels

https://www.nextplatform.com/control/2026/11/27/the-software-defined-mirage-and-the-alien-worlds-...
1•rbanffy•12m ago•0 comments

Diagramming app Scapple updated for Windows and macOS

https://www.literatureandlatte.com/scapple/overview
1•ooloncoloophid•13m ago•0 comments

The Water Mantle

https://medium.com/luminasticity/the-water-mantle-de1dd56527f7
1•bryanrasmussen•14m ago•0 comments

AWS Launches Quick Docs, Sheets and Slides

https://www.aboutamazon.com/news/aws/aws-quick-ai-for-work
7•onza•16m ago•1 comments

Offshoring: A Corporate War Story

https://michael-lewis.com/posts/offshoring-a-corporate-war-story/
1•m-i-l•16m ago•0 comments

Little Language Model: The Eliza Effect

https://neil-vass.com/little-language-model-the-eliza-effect/
1•matthewsinclair•17m ago•0 comments

Just Pick the Smarter Model

https://www.seangoedecke.com/just-pick-the-smarter-model/
1•8by3•22m ago•0 comments

Show HN: KeepSurviv /001 – 39KB offline SVG shelter guide and 26mm brick

https://keepsurviv.eu/001
1•mosidze•23m ago•0 comments

Textpattern 4.9.3

https://textpattern.com/weblog/textpattern-493-released-security-fixes-squashed-bugs-and-tweaks
1•petecooper•25m ago•0 comments

Wada-Wayfinder

https://github.com/cvanelteren/wada-wayfinder/tree/main
1•cvanelteren•30m ago•1 comments

Valkey vs. Redis benchmark: Valkey 9.2.0 against Redis 8.12.0 on the same work

https://thestacksentinel.com/lab/valkey-vs-redis/
1•nspkord•33m ago•1 comments

What Criminologists Don't Say, and Why

https://www.city-journal.org/article/what-criminologists-dont-say-and-why
3•barry-cotter•44m ago•0 comments

Let you agents run anything, just not on your machine

https://mcprush.com/dhruvil-codes/airgap-mcp
1•bydhruvil•49m ago•0 comments

Can a Model Edit Its Own Weights? A Preliminary Study

https://morethanamachine.com/posts/can-a-model-edit-its-own-weights/
1•reddmachine•53m ago•0 comments

Kavach AI – Offline, sub-16ms PR security scanner with 1-click patches

https://github.com/marketplace/actions/kavach-ai-security-inspector
1•rajrajak99•56m ago•0 comments

Nature: Has AI just cracked Internet encryption?

https://www.nature.com/articles/d41586-026-03875-6
4•dn2k•59m ago•0 comments

Geneva plans cocaine prescription trial for crack addicts

https://www.swissinfo.ch/eng/various/geneva-is-trialling-the-prescription-of-cocaine-for-crack-ad...
2•extasetoi12•1h ago•0 comments

A little robot for your website, with a brain of his own

https://github.com/erdemozkan/boxnib
1•serdemozkan•1h ago•0 comments

Early Signs Point to a Super El Niño Collapse and a Shift to La Niña in 2027

https://www.severe-weather.eu/long-range-2/super-el-nino-collapse-la-nina-forecast-2027-seasonal-...
2•xbmcuser•1h ago•0 comments