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

Artificial and Fake Eggs: Dance of Death

https://www.researchgate.net/publication/281149909_Artificial_and_Fake_Eggs_Dance_of_Death
1•ms7892•4m ago•0 comments

The Programming Wars: How Microsoft Crushed Borland

https://www.youtube.com/watch?v=AQiULz4Z4TQ
1•cable2600•5m ago•0 comments

14× faster embeddings: how we rebuilt the ONNX path in Manticore

https://manticoresearch.com/blog/onnx-embeddings-speedup/
1•snikolaev•6m ago•0 comments

DGX station and "frontier" models, my hunt for answers

https://www.atcyrus.com/stories/dgx-station-local-frontier-ai-memory
1•connorturland•7m ago•1 comments

Surge will do marketing for you

https://www.surgeos.app/
1•yernururu•8m ago•0 comments

How the Big Four's wheels fell off Down Under

https://www.ft.com/content/f0f852ef-637e-4be7-8eee-e3ad2b767cf4
1•petethomas•9m ago•0 comments

June heatwave may have killed around 20k people in Europe

https://www.newscientist.com/article/2532825-june-heatwave-may-have-killed-around-20000-people-in...
2•littlexsparkee•17m ago•1 comments

Show HN: Dabs spawns dumb agents in boxes for free

https://github.com/jjmerino/dabs
1•jjmerino•17m ago•0 comments

BitTorrent's disastrous, legendary, and controversial story

https://www.theverge.com/tech/959848/bittorrent-story-25-years-piracy
1•aarvin_roshin•18m ago•1 comments

In Defense of AI Mandates

https://charity.wtf/2026/07/02/in-defense-of-ai-mandates-xpost/
1•backlit4034•21m ago•0 comments

Show HN: Imagent – agentic image/video/speech generation

https://github.com/unliftedq/imagent
1•unliftedq•24m ago•0 comments

Spotify deletes streams of chart-topping song after suspicious Kalshi bets

https://www.ft.com/content/2e10851c-9f47-410d-b46e-2a617118b05a
2•thm•26m ago•0 comments

Qwicut – A Desktop App to Turn Any Selection into Intelligence

https://www.qwicut.com
1•yukidkwlbn•31m ago•0 comments

Reducing AI costs with smart pricing

1•millereffect•36m ago•0 comments

AI coding is a nightmare. Am I the only one experiencing this?

1•sollawen•37m ago•1 comments

Four graphs to visualize the unprecedented scale of France's June 2026 heatwave

https://www.lemonde.fr/en/les-decodeurs/article/2026/07/03/four-graphs-to-visualize-the-unprecede...
2•pier25•40m ago•0 comments

Stop Asking "Saga or 2PC." Start Asking What Each Operation Needs

https://medium.com/@pivotfakie/stop-asking-saga-or-2pc-start-asking-what-each-operation-needs-78c...
2•feeblefakie•40m ago•0 comments

Mr. Baby Paint and accidentally discovering a new cellular automata

https://tekstien-marginaalien-keskus.aalto.fi/residenssi/heikki/blog/004-december-2/
3•jfil•42m ago•0 comments

Micro Instrumentation and Telemetry Systems

https://www.abortretry.fail/p/micro-instrumentation-and-telemetry
2•BirAdam•45m ago•0 comments

California votes to ruin 3D printing right after voting to keep killing games [video]

https://www.youtube.com/watch?v=_GIigWnNRVg
6•givemeethekeys•51m ago•0 comments

Proving Claude Knows You by Your Code Style: Author2Vec

https://author2vec.com/
4•tristenharr•53m ago•1 comments

Ask HN: Is this type of writing is compelling, or over rated

3•Daniel-Pan•56m ago•2 comments

Fire and Coast Fire Tracker · Streamlit

3•Rossklot•56m ago•0 comments

U.S. Department of Energy Delivers Third Advanced Reactor Criticality

https://www.energy.gov/articles/us-department-energy-meets-president-trumps-goal-delivers-third-a...
5•simonpure•1h ago•0 comments

Moneyball for Physical AI

https://praxiscurrents.substack.com/p/moneyball-for-physical-ai
3•gmays•1h ago•0 comments

OpenUI: Open Standard for Generative UI

https://www.openui.com
2•handfuloflight•1h ago•0 comments

The delicious irony of Anthropic bemoaning distillation

https://twitter.com/ejzim/status/2072692694036660517
3•MrBuddyCasino•1h ago•0 comments

Lotus: Optimized Agentic and LLM Bulk Processing

https://github.com/lotus-data/lotus
2•handfuloflight•1h ago•0 comments

The end of paper retirement processing at the Office of Personnel Management

https://twitter.com/spikebrehm/status/2072422555101561154
4•MrBuddyCasino•1h ago•0 comments

Hackers On Planet Earth is back in Manhattan next month

https://www.hope.net/
3•fashiontechguru•1h ago•2 comments