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

Caddy – an open source modular viewer for 3D Gaussian Splatting models

https://github.com/emiryuksel02/Caddy
1•emiryuksel•1m ago•0 comments

General Intuition's $2.3B bet that video games can train AI agents

https://techcrunch.com/2026/06/25/general-intuitions-2-3b-bet-that-video-games-can-train-ai-agent...
1•lairv•1m ago•0 comments

Looking for a partner from US/Canada/EU – part-time work

https://www.indiehackers.com/post/looking-for-a-partner-from-us-canada-eu-part-time-work-e859a45ff8
1•topdeveloper424•1m ago•0 comments

Grotesque 'zombie squirrels' with oozing flesh pods spark alarm across the US

https://www.dailymail.com/sciencetech/article-15929639/zombie-squirrels-sores-florida-north-carol...
1•Bender•2m ago•0 comments

Self-accelerating R&D – Mirendil $200M Seed Raise

https://a16z.com/announcement/investing-in-mirendil/
1•ageofattention•3m ago•0 comments

Ask HN: How to Germinate Ideas?

1•bhollan•3m ago•0 comments

"Your role has been made redundant"

https://aayushsahu.com/blog/layoffs
1•speckx•4m ago•0 comments

Xonotic (arena FPS) in a web browser

https://www.xonotic.gg/
3•astlouis44•4m ago•0 comments

Show HN: Retrace fork a failed AI agents run, replay it, prove the fix

https://retraceai.tech
1•Yashwanthbogam•4m ago•0 comments

Fruit fly sperm are almost as the the fly. How do they stay untangled?

https://www.nytimes.com/2026/06/24/science/giant-fruit-fly-sperm-untangled.html
1•marojejian•4m ago•1 comments

PixelSmash – Critical FFmpeg Vulnerability

https://jfrog.com/blog/pixelsmash-critical-ffmpeg-vulnerability-turns-media-files-into-weapons/
2•stymaar•5m ago•0 comments

Tesla, Sunrun team up on 16 GW virtual power plant for data centers

https://electrek.co/2026/06/24/tesla-sunrun-16gw-vpp-data-centers/
1•dakna•7m ago•0 comments

Politico owner Axel Springer doubles down on corporate principles

https://jewishinsider.com/2026/04/politicos-owner-axel-springer-doubles-down-on-corporate-princip...
2•Tomte•8m ago•0 comments

Show HN: Pythond, Persistent Python daemon where state survives across calls

https://pythond.sh/
1•rangersui•10m ago•0 comments

Deploying AI at a $2B fraud fighting Unicorn

https://aibuilderseries.substack.com/p/lessons-on-deploying-ai-at-scalehttps://aibuilderseries.su...
1•seantheviking•10m ago•0 comments

Build a Cult

https://build-a-cult.com/
1•tcp_handshaker•10m ago•0 comments

Podman 6 Configuration File Changes

https://blog.podman.io/2026/06/podman-6-configuration-file-changes/
1•mroche•10m ago•0 comments

Quarterly planning is an outdated scarcity ritual

https://readtheinference.substack.com/p/quarterly-planning-is-a-scarcity
2•mmayernick•10m ago•0 comments

Creating SVGs with AI

https://furstenheim.substack.com/p/creating-svgs-with-ai
1•furstenheim•10m ago•1 comments

More billing options and lower service fees on Google Play

https://android-developers.googleblog.com/2026/06/play-expanded-billing.html
2•mtlebe•13m ago•0 comments

The Dumb House: In Praise of an Analog Home

https://www.architecturaldigest.com/story/in-praise-of-a-dumb-house
2•speckx•14m ago•0 comments

Hoisting Expressions

https://blog.yoshuawuyts.com/hoisting-expressions/
1•dabinat•14m ago•0 comments

Medicare's ACCESS model: outcome-based payment for health technologies

https://phti.org/cms-access-model-in-context/
1•brandonb•14m ago•0 comments

The Great Moon Hoax of 1835: Where "Fake News" Began

https://www.openculture.com/2026/06/the-great-moon-hoax-of-1835-where-fake-news-began.html
1•Brajeshwar•14m ago•0 comments

A Dusty Gaming PC and a 2AM Basement Spiral

https://www.droppedasbaby.com/posts/hl1/
1•offbyone42•15m ago•0 comments

Protecting Supabase projects from NPM supply chain attacks

https://supabase.com/blog/protecting-your-supabase-projects-from-npm-supply-chain-attacks
1•andrewstetsenko•15m ago•0 comments

My Advertising Is So Efficient It No Longer Works (2017) [video]

https://www.youtube.com/watch?v=ZtCG-Jo51d4
1•1317•18m ago•0 comments

Steam Machine Vs $770 Gaming Laptop [video]

https://www.youtube.com/watch?v=7wVPRVjxm1I
1•joe_mamba•18m ago•0 comments

Masayoshi Son dismisses Musk's idea for orbital data centers

https://www.japantimes.co.jp/business/2026/06/23/companies/softbank-dismissal-musk-idea-data-cent...
2•mudil•18m ago•1 comments

Being introverted isn't an excuse to be socially inept

https://harsehaj.substack.com/p/being-introverted-isnt-an-excuse
1•harsehaj•20m ago•0 comments