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

How do I justify spending time to create a world in the first place?

https://worldbuilding.stackexchange.com/questions/124317/how-do-i-justify-spending-time-to-create...
1•joebig•46s ago•0 comments

Ottoman-Era Data Visualizations

https://casualarchivist.substack.com/p/poetic-justice
1•samtheDamned•59s ago•0 comments

Lost Bytes at the Crossroads Between User- and Kernel-Level Memory Allocation [pdf]

https://www.ibr.cs.tu-bs.de/vss/Publications/2026/fistanto_26_lost_bytes.pdf
1•matt_d•1m ago•0 comments

Show HN: AIDemo.Video – turn website into a product demo video in one click

https://www.aidemo.video/
1•distartin•1m ago•0 comments

The Externalities of Airports and Immigrants

https://www.betonit.ai/p/the-externalities-of-airports-and
1•paulpauper•1m ago•0 comments

NIXI has killed the "Dot In" domain name

https://www.naavi.org/wp/nixi-has-killed-the-dot-in-domain-name/
1•pkd•2m ago•1 comments

Sourcerer: New version 1.0.15 is available

https://www.sourcererapp.com/
1•dezelin•3m ago•0 comments

It's Not Just Flock. Police Can't Be Trusted with Our Data

https://truthout.org/articles/its-not-just-flock-police-cant-be-trusted-with-our-data/
3•chaps•7m ago•0 comments

Wall Street banks push Big Law to cut fees because of AI

https://www.ft.com/content/5240a6ac-b2e8-4897-a0a4-cbc7fc283bc9
3•paulpauper•8m ago•0 comments

Show HN: Devbar – Point at what to change. Leave a comment. Your agent ships it

https://devbar.sh
1•linesofcode•9m ago•0 comments

GPT-6-Astra: infinitely pairs of consecutive primes with distance at most 186

https://github.com/openai/PrimeGaps186
4•simonpure•9m ago•0 comments

Perceptron Ships 36B Robot Weights Under Apache-2.0

https://topicqueue.substack.com/p/perceptron-ships-36b-robot-weights
2•DISCURSIVE•11m ago•0 comments

The asteroid currently hitting front end web development

https://nolanlawson.com/2026/08/23/the-asteroid-currently-hitting-frontend-web-development/
4•codechicago277•11m ago•2 comments

Need to connect with like minded peeps

1•galaba•12m ago•0 comments

Rogue Verbs: The Situation of Chinese Culture in the 2020s

https://newleftreview.org/issues/ii160/articles/jian-mao-rogue-verbs
3•devonnull•12m ago•0 comments

Tailscale Aperture GA

https://tailscale.com/blog/aperture-ga
1•hmokiguess•13m ago•0 comments

Five AI systems, one message: one cloned the repo and ran the check

https://github.com/LAWLESS1987/covenant/blob/main/docs/CASE_STUDY_SELF_REPORT.md
1•Lawless1987•13m ago•0 comments

Zuckerberg said national AI regulator was flawed idea in secret call with Trump

https://www.politico.com/news/2026/09/03/mark-zuckerberg-said-a-national-ai-regulator-was-a-flawe...
2•thm•13m ago•0 comments

Uber to Cut 10% of Jobs, or 3,300 Roles, to Slash Bureaucracy

https://www.bloomberg.com/news/articles/2026-09-02/uber-to-cut-3-300-jobs-in-company-overhaul-to-...
4•saikatsg•14m ago•0 comments

Data centres are booming in Australia – but at what cost?

https://www.bbc.com/news/articles/cgl3we7wdr3o
3•billybuckwheat•14m ago•0 comments

Thoughts on Vibe Coding

https://getstream.io/blog/vibe-coding-80-20/
2•martinmitrevski•14m ago•0 comments

Where receipt scanning apps send your data

https://getdropsheet.com/where-receipt-apps-send-your-data
3•mjprintz•15m ago•0 comments

New Teardown: Combination Lock

https://mechanical-pencil.com/products/lock
2•crescit_eundo•16m ago•0 comments

Interactive demo of MINIX1-like O/S on emulated CPU

https://swtos.softwarewrighter.com/
1•softwarewright•16m ago•1 comments

Nybble – Describe a binary format in a small DSL and watch it parse live

https://trynybble.com/
1•bitcask•16m ago•0 comments

RSA-260 Factored

https://www.johndcook.com/blog/2026/09/03/new-rsa-number-factored/
4•floxy•17m ago•0 comments

Arrested for a Late Manuscript: Seicho Matsumoto's 'Tokyo Express'

https://www.millersbookreview.com/p/arrested-for-a-late-manuscript-seicho-matsumoto-tokyo-express
2•benbreen•17m ago•0 comments

'Fakers' by Rory Cormac Review

https://www.historytoday.com/archive/review/fakers-rory-cormac-review
2•pepys•18m ago•0 comments

Every Novel Is Boring–Until It Isn't

https://www.publicbooks.org/every-novel-is-boring-until-it-isnt/
2•samclemens•18m ago•0 comments

Understanding Rust's Pin Type

https://gmcgoldr.github.io/2026/08/27/pin-in-rust.html
1•garrinm•19m ago•0 comments