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

Now Hiring: Senior Open Source Maintainer

https://nesbitt.io/2026/08/28/now-hiring-senior-open-source-maintainer.html
2•rapnie•2m ago•0 comments

Global Trade and the United States Navy

https://acoup.blog/2026/08/28/collections-global-trade-and-united-states-navy/
1•Pwntheon•2m ago•0 comments

A simple "copy this code" button in JavaScript

https://shkspr.mobi/blog/2026/08/a-simple-copy-this-code-button-in-javascript/
1•Brajeshwar•2m ago•0 comments

AULA Factory Tour: How Mechanical Keyboards Are Made [video]

https://www.youtube.com/watch?v=UTonUNfe0WY
1•skibz•2m ago•0 comments

Backlash Against AI Data Centers Is Real, Organic, Widespread

https://www.yahoo.com/news/politics/articles/backlash-against-ai-data-centers-115222320.html
2•newsomix9xl•5m ago•0 comments

Agentic SQL for Free: Qwen3.8 27B and DuckDB

https://motherduck.com/blog/Agentic-SQL-for-Free-with-Qwen3.8-27B-and-DuckDB/
1•1egg0myegg0•7m ago•0 comments

Musk says Grok's political lean is 'a function of SF Bay Area political views'

https://tokenstead.ai/guides/musk-grok-politics-bay-area-views
1•cdnsteve•9m ago•0 comments

I'm teaching an introductory 12 week course on Quantum Oracle Engineering

https://shukla.io/quantum-oracle-engineering/
2•BinRoo•15m ago•0 comments

Show HN: Visual workspace to design and operate daily multi-agent workflows

https://github.com/ringlochid/oh-my-subagents
1•ringlochid•16m ago•0 comments

Sabine Hossenfelder on "Extraordinary claims require extraordinary evidence"

https://twitter.com/skdh/status/2093615046244884953
1•mellosouls•16m ago•0 comments

Build your web-based game with AI

https://quetab.com/games
1•firasabb•20m ago•0 comments

How Boris Uses Claude Code

https://howborisusesclaudecode.com
2•Fake4d•21m ago•0 comments

Google Showing Fewer PDF Files in Search

https://www.seroundtable.com/google-search-fewer-pdf-files-41946.html
1•rdmuser•21m ago•0 comments

Positorium: Database with features from RDBMS, graph, columnar, name-value DBs

https://github.com/roenbaeck/positorium
2•thunderbong•21m ago•0 comments

30% on AR-AGI-1 at $0.0007 per task

https://arxiv.org/abs/2608.09888
2•randomizedalgs•22m ago•0 comments

Intoxication Culture

https://theanarchistlibrary.org/library/flower-bomb-intoxication-culture
2•choutos•23m ago•0 comments

Alt text passes automated checks. That doesn't mean it's any good

https://github.blog/engineering/user-experience/your-alt-text-passes-automated-checks-that-doesnt...
2•torutofu•24m ago•0 comments

Show HN: Turn mineral collections into 3D virtual museums

1•dinarino•24m ago•0 comments

I Let Google's Personal Intelligence Access My Life–and It's a Help

https://www.wsj.com/tech/ai/google-personal-intelligence-dreambeans-gemini-review-81f12a16
1•doener•28m ago•0 comments

Ask AI buttons like social media links for webpages

https://llmcheck.app/ai-ask-buttons/
1•loudsilence•28m ago•0 comments

Yap: A Particular Kind of Slop

https://mckayla.blog/posts/yap.html
1•eric_h•29m ago•0 comments

StateUI

https://github.com/idexus/StateUI
1•frizlab•30m ago•0 comments

FOSDEM 2026 – Mainline kernel for Fairphones – 2026 update [video]

https://www.youtube.com/watch?v=UnvKm3mzasI
1•pizzaiolo•30m ago•0 comments

Godot Sandbox: The Answer is 42

https://libriscv.no/blog/godot-sandbox-fortytwo/
1•fwsgonzo•33m ago•0 comments

Rig – Agentic Workflows in Rust

https://github.com/0xplaygrounds/rig
3•monneyboi•35m ago•0 comments

Cancer is a Quantum System

https://www.cuimc.columbia.edu/news/cancer-quantum
1•alephnerd•37m ago•0 comments

Show HN: The impact that made the Moon, 262k particles in a browser tab

https://gaploid.github.io/cosmic-collisions/
1•gaploid•37m ago•0 comments

7th Circuit Rules AI-Generated CSAM Is Protected Speach

https://media.ca7.uscourts.gov/cgi-bin/OpinionsWeb/processWebInputExternal.pl?Submit=Display&Path...
2•piker•40m ago•0 comments

For better or worse, Yayoi Kusama's Infinity Rooms reshaped the world

https://www.cnn.com/2026/08/28/style/yayoi-kusama-infinity-mirrors-art-impact
2•reconnecting•40m ago•1 comments

Give Coding Agents Permission, Not Just Prompts

https://engineeringspec.org/blog/give-coding-agents-permission-not-just-prompts/
1•mak8•44m ago•0 comments