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

Aztec Experiments

https://github.com/vbuterin/aztec_experiments
1•plastic3169•3m ago•0 comments

Milk-V Jupiter2: RVA23-Compliant RISC-V SBC

https://milkv.io/jupiter2
1•dingi•3m ago•0 comments

Coding agents read your code (and how to write for them)

https://modem.dev/blog/how-coding-agents-read-your-code
1•TheFutureIsNear•3m ago•0 comments

A vibe-coded alternative to YieldGimp

https://mazzo.li/posts/vibe-coded-gilts.html
1•speckx•5m ago•0 comments

Prompting was middle management – loops fired you and sent you the bill

https://readtheinference.substack.com/p/prompting-was-middle-management
1•mmayernick•8m ago•0 comments

Show HN: I made a Free, on sign up, C

1•yurimhln•9m ago•1 comments

Zenzic VS Code – Deterministic Markdown Analysis via LSP

https://zenzic.dev/blog/2026/07/18/zenzic-vs-code-extension/
1•PythonWoods-Dev•10m ago•0 comments

Ontario prison AI assigns black prisoners harsher living conditions

https://breachmedia.ca/black-prisoners-are-assigned-harsher-living-conditions-in-ontario-jails-th...
1•hn_acker•10m ago•2 comments

Fertility is collapsing because motherhood is zero-status

https://twitter.com/JohannKurtz/status/2079218735915860441
2•bilsbie•10m ago•1 comments

Type Safe Servant Auth Roles

https://blog.cofree.coffee/2026-07-20-servant-auth-roles/
1•solomonb•10m ago•0 comments

AliExpress fined €550M by EU for failing to stop sale of illegal and fake goods

https://www.theguardian.com/business/2026/jul/20/aliexpress-fined-by-eu-sale-of-illegal-fake-goods
2•atombender•12m ago•1 comments

Laws of Tech: Commoditize Your Complement

https://gwern.net/complement
1•kblissett•12m ago•0 comments

Why Did We Let Big Tech Take over Education?

https://www.afterbabel.com/p/sophie-winkleman-edtech-rollback-2026
1•paulpauper•13m ago•0 comments

EU to give industry more time to pollute and more funds to clean up

https://www.ft.com/content/c3c33e7b-8faf-4f06-b281-112117aeeb5a
1•alephnerd•13m ago•0 comments

Over 30% of new ArXiv submissions now read as AI-written

https://unslop.run/blog/measuring-ai-writing-on-arxiv
2•dopamine_daddy•13m ago•1 comments

GNOME Changes Security Disclosure Policies Due to AI-Generated Reports

https://blogs.gnome.org/mcatanzaro/2026/07/20/some-changes-to-gnome-security-tracking/
2•Erenay09•14m ago•0 comments

Intel Arc G3 Low Power Core Scheduling

https://www.lttlabs.com/articles/2026/07/18/intel-arc-g3-extreme-ibc-v35
1•LorenDB•15m ago•0 comments

Server Migration

https://lmnt.me/blog/server-migration.html
3•speckx•16m ago•0 comments

Admin officials kill proposed rules for PFAS-contaminated sewage fertilizer

https://www.theguardian.com/environment/2026/jul/20/trump-pfas-sewage-farm-fertilizer
3•howard941•17m ago•0 comments

Das starts up and loads 700 background activities

https://eclecticlight.co/2026/07/20/how-das-starts-up-and-loads-700-background-activities/
1•Brajeshwar•18m ago•0 comments

ProEnhanceX – A 100% local, on-device AI photo studio for Android

https://play.google.com/store/apps/details?id=com.enhancex.aistudio&hl=en_US
1•swawon•18m ago•0 comments

Launch HN: Bloomy (YC S26) – AI-powered mastery learning for K-12

2•alexsouthmayd•18m ago•4 comments

Train a Harness to improve model/env-agnostic capabilities with PyTorch-like API

https://github.com/workofart/harness-training
1•megadragon9•19m ago•0 comments

A Power Trip

https://hackerfactor.com/blog/index.php?/archives/1099-On-a-Power-Trip.html
3•speckx•23m ago•0 comments

There have only been 5 ethical NBA champions in the last 25 years

https://pudding.cool/2026/06/ethical-champions/
4•gmays•25m ago•0 comments

Open Minis Is the iOS Agent I Wish Siri AI Could Be

https://www.macstories.net/reviews/open-minis-is-the-ios-agent-i-wish-siri-ai-could-be/
3•ExMachina73•26m ago•0 comments

Show HN: Take a break, play some puzzles

https://gridmino.com/
3•marko-projects•28m ago•0 comments

Yet another take on layout breakouts

https://noahliebman.net/2024/05/yet-another-take-on-layout-breakouts/
3•ankitg12•28m ago•0 comments

Made a quick quiz to check if your AI project triggers EU AI Act rules

https://tally.so/r/7Rg2y2
2•Safwane•28m ago•0 comments

Anatomy of a Room

https://eviltrout.com/blog/2026-03-23-anatomy-of-a-room/
2•chunkycapybara•28m ago•0 comments