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

Archive.org in need of large hard drives

https://mastodon.archive.org/@textfiles/117220856033120449
1•happosai•1m ago•0 comments

Show HN: Kaden – Linux Terminal where Ctrl+C copies

https://github.com/glitcher255/Kaden-Terminal
1•Glitcher255•5m ago•0 comments

Nimvarya – Let AI coding agents control Chrome without stealing focus

https://github.com/Basiliskin/nimvarya
1•dimitrykatz•6m ago•0 comments

Derick Nwasor, Nigeria – Just Add Water – Quantum Regenerative Fuelcell

https://africaprize.raeng.org.uk/2026-cohort/derick-nwasor/
1•thunderbong•8m ago•0 comments

The SimCity Planning Commission Handbook (2024)

https://www.thomas-huehn.com/simcity/
1•Tomte•9m ago•0 comments

From all-or-nothing to task-based OAuth consent

https://blog.cloudflare.com/task-based-oauth-consent/
1•officekamiya•15m ago•0 comments

Python sets and dictionaries can have quadratic-time performance

https://lemire.me/blog/2026/09/03/python-sets-and-dictionaries-can-have-quadratic-time-performance/
2•signa11•22m ago•1 comments

Handoru: AI customer conversation agents for service businesses

https://handoru.ai/
1•Zabrodsk•23m ago•1 comments

Knowing Where to Type 'Zero' (2015)

https://randomascii.wordpress.com/2015/01/19/knowing-where-to-type-zero/
1•signa11•23m ago•0 comments

Writing Docs in LLMese

https://passo.uno/write-docs-llms-language/
1•theletterf•26m ago•0 comments

AI Programming: A Layered Model

https://lemire.me/blog/2026/09/05/ai-programming-a-layered-model/
1•signa11•29m ago•0 comments

Play GTA III in the Browser

https://quenq.com/apps/vice-city-online/
1•rzk•33m ago•0 comments

Notey and Noisy: A Sound Science Mathemusical

https://malwebb.com/notnoi.html
1•_kb•37m ago•0 comments

Show HN: Blunderbase: A Personal Chess Database

https://github.com/philphilphil/blunderbase
1•philphilphil•45m ago•0 comments

Isar Aerospace reaches orbit and deploys payloads on second flight

https://isaraerospace.com/press/history-for-european-spaceflight-isar-aerospace-reaches-orbit-and...
1•mpweiher•45m ago•1 comments

An Open Letter to Bernie Sanders: Regulate AI's Dangers, Don't Ban Its Promise

https://www.unite.ai/an-open-letter-to-bernie-sanders-regulate-ais-dangers-dont-ban-its-promise/
1•50kIters•50m ago•0 comments

GPT-6 Astra Plays Portal

https://www.youtube.com/watch?v=g5u2y0BwRJ0
2•liminal-dev•51m ago•0 comments

"Catching Crumbs from the Table"

https://www.nature.com/articles/35014679
2•stefanpie•51m ago•0 comments

How to Name Things

https://kolemannix.com/blog/how-to-name-things/
1•theanonymousone•58m ago•0 comments

US troops can still be tracked by purchased location data, and Congress wants

https://www.theregister.com/public-sector/2026/09/06/us-troops-can-still-be-tracked-by-purchased-...
4•sbulaev•59m ago•0 comments

Debian Code Search: Fast TurboPFor with Go SIMD

https://michael.stapelberg.ch/posts/2026-09-06-dcs-fast-turbopfor-go-simd/
2•secure•1h ago•0 comments

Agriculture relies on fossil fuels. It's costing us

https://www.technologyreview.com/2026/09/03/1143320/fertilizer-prices-fossil-fuels/
3•joozio•1h ago•0 comments

Show HN: I built a small arena where AI write robot and then fight each other

https://github.com/nigrosimone/llms-robot-arena
3•nsimone•1h ago•0 comments

The Pelican Collection – Simonw Pelican Bicycle Gallery (2024-2026)

https://pelican-model-gallery.alienfluid.chatgpt.site/
3•dv35z•1h ago•0 comments

Hot Chips 2026: Irrational Recap

https://irrationalanalysis.substack.com/p/hot-chips-2026-irrational-recap
4•akshayt•1h ago•0 comments

CobaltC Programming Language Specification

https://strawberry9.github.io/the-wrong-memory/Appendix_06.html
2•VolatileRegiste•1h ago•0 comments

Celebrating Kazakhstan's first wild-born Przewalski's horse in 200 years

https://www.fauna-flora.org/news/celebrating-kazakhstans-first-wild-born-przewalskis-horse-in-200...
7•thunderbong•1h ago•1 comments

MCP server for 340k SVG icons

https://github.com/LeulAria/Aria-Icons
5•leularia•1h ago•0 comments

Our Suggestion Box

https://medium.com/luminasticity/our-suggestion-box-247d754ae1ad
2•bryanrasmussen•1h ago•0 comments

Show HN: Slock – A one-bit messenger inside your capslock key

https://github.com/jonaraphael/slock
4•jonaraphael•1h ago•2 comments