frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Why I eventually quit my successful (and profitable) YouTube channel

https://mikeshuey.com/i-quit-my-successful-youtube-channel/
1•BrunoBernardino•2m ago•0 comments

AiLock: Hide source from AI assistants while tests still run

https://github.com/lo2589/AILOCK
1•yoliliya•3m ago•0 comments

Chat Bar Isn't Lazy Design

https://metedata.substack.com/p/006-the-chat-bar-isnt-lazy-design
1•young_mete•4m ago•0 comments

Ask HN: What happened to Reactive Programming?

1•ashddev•11m ago•0 comments

Fix Your Asserts

https://kristoff.it/blog/fix-your-asserts/
3•mlugg•14m ago•0 comments

Vox Dictum, on-device transcription with speaker diarisation and AI summaries

https://cobaltinfx.com/
1•mozairr•16m ago•0 comments

Why is Lorem Ipsum Everywhere? [video]

https://www.youtube.com/watch?v=kL1PDqzqhM4
2•sevenpence•17m ago•0 comments

Equivalence, non-inferiority and superiority testing

https://rpsychologist.com/d3/equivalence/
1•leonry•17m ago•0 comments

Edging Toward Japan: The Japanese discovery of the colour blue (2025)

https://mainichi.jp/english/articles/20250531/p2a/00m/0op/007000c
4•rawgabbit•21m ago•0 comments

The Self-Evolving Model Router

https://vdf.ai/white-papers/the-self-evolving-model-router/
1•suhaselcuk•21m ago•0 comments

Mid-size local models are now competitive for AI Agents

https://srinathh.medium.com/mid-size-local-models-are-now-competitive-for-ai-agents-7696b2e8b535
1•sfifs•22m ago•0 comments

Commodore OS Basic V2 – Introduction

https://forum.commodoreos.net/viewtopic.php?p=8295
2•amichail•22m ago•0 comments

Teachers' Union Urges Schools to Curb A.I. Chatbots and Screen Time

https://www.nytimes.com/2026/05/27/technology/ai-screens-schools-weingarten.html
1•1vuio0pswjnm7•22m ago•0 comments

CHM Live – Steve Jobs in Exile: NeXT and the Making of a Comeback [video]

https://www.youtube.com/watch?v=gnNdb2wa_NE
1•felixding•22m ago•0 comments

A compressed-spring model of spiral galaxy formation

https://theeggandtherock.com/p/a-compressed-spring-model-of-spiral
3•cobbzilla•23m ago•0 comments

China and EU on brink of trade war

https://www.brusselstimes.com/2163961/china-and-eu-on-brink-of-trade-war
5•vrganj•23m ago•0 comments

The State of Open-Source EDA Tools: Breaking Open-EDA for ASIC Chip Flow

https://saadsiddiqui138117.substack.com/p/the-state-of-open-source-eda-tools
2•hasheddan•24m ago•0 comments

Tussle in Cyberspace

https://conferences.sigcomm.org/sigcomm/2002/papers/tussle.html
1•jruohonen•28m ago•0 comments

Human brains are misaligned, hallucinative, stochastic parrots

https://substack.com/@samuelfitoussi/p-191268395
5•samuelfitoussi•29m ago•4 comments

"Capitalism is not natural – it is enforced."

https://www.youtube.com/watch?v=9M_dq_0ljsc
1•28304283409234•29m ago•0 comments

DIY Bipedal Robot Used Pneumatic "Air-Muscles" Instead of Motors

https://spectrum.ieee.org/shadow-walker-biped-humanoid-robot
1•sohkamyung•30m ago•0 comments

AI content is great if you know it's AI

https://www.geekbeard.dev/p/cosplaying-humans
2•drunx•33m ago•0 comments

Octopus Energy meter and billing dashboard with EV charging

https://github.com/macsmax/maxihome-octopi
1•macsmax•34m ago•0 comments

Show HN: Stable Audio 3 – one-shot sample generator (110gb download)

https://github.com/shiehn/sas-sample-generator
2•stevehiehn•36m ago•0 comments

Ask HN: Anyone missing the human aspect of pre AI?

2•hnthrow10282910•36m ago•0 comments

Fan-made game remake of legendary PS1 Medal of Honor 1999

https://www.moddb.com/games/medal-of-honor-retro-remake/news/medal-of-honor-retro-remake-final-re...
1•HelloUsername•42m ago•0 comments

Puzzles about Digital Lipograms

https://logoggilo.substack.com/p/what-if-every-great-brand-had-its
1•gillesr•46m ago•1 comments

Remembering Dotcom, Pondering LLMs: Comparing Hypes and Bubbles

https://www.datagubbe.se/dhabi/
3•ingve•51m ago•0 comments

You Weren't Meant to Have a Boss (2008)

https://paulgraham.com/boss.html
3•downbad_•52m ago•1 comments

Show HN: Graph-Based Firebase Alternative with Real-Time Sync

https://linkedrecords.com/getting-started/
1•WolfOliver•57m ago•0 comments