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

Canada holds first defense talks with China in more than 8 years

https://www.scmp.com/news/china/diplomacy/article/3366477/canada-and-china-thaw-continues-militar...
1•ilamont•35s ago•0 comments

Thames Tunnel

https://en.wikipedia.org/wiki/Thames_Tunnel
1•thunderbong•3m ago•0 comments

Create Passkey After Account Recovery Due to Forgotten Password

https://www.passkeycentral.org/design-guidelines/optional-patterns/create-passkey-after-account-r...
1•mooreds•4m ago•0 comments

"Everything's a Challenge" ADHD Individuals in the Midst of Rx Shortages

https://pmc.ncbi.nlm.nih.gov/articles/PMC11585964/
2•sans_souse•6m ago•0 comments

Jellyfin 12.0 Released

https://github.com/jellyfin/jellyfin/releases/tag/v12.0
1•cdrnsf•7m ago•0 comments

OpenClaw Is Open Source

https://github.com/openclaw/openclaw
1•noobplus•8m ago•0 comments

DSL Mania

https://astledsa.substack.com/p/dsl-mania
1•astledsa•13m ago•0 comments

AI cancer cures slowed by chip shortage, says Arm boss

https://www.bbc.com/news/articles/c0m39g7xzevo
1•dabinat•13m ago•0 comments

TeamAI by Tencent

https://github.com/Tencent/teamai-cli
1•handfuloflight•17m ago•0 comments

Hollywood's Box Office Boom Comes with 248M Missing Tickets

https://www.nytimes.com/interactive/2026/09/07/business/media/summer-movies-box-office.html
1•ChrisArchitect•22m ago•1 comments

The Weather Is the Plan: Crossing Lake Michigan

https://sailandsavor.blog/2026/09/07/the-weather-is-the-plan-crossing-lake-michigan-part-2/
1•mekdoonggi•22m ago•0 comments

I Couldn't Play Guitar, So I Spent 6 Years Building a Guitar Robot [video]

https://www.youtube.com/shorts/XgJjdkYOKz8
2•kristianpaul•26m ago•1 comments

The robots.txt user-agent lines that do not name what they look like

https://ai-visibility.lastminutedealshq.com/robots-txt-user-agent-tokens
1•reesecalder•28m ago•0 comments

There's a new "Google Jail" for independent wikis

https://weirdgloop.org/blog/google-jail
1•pizzaiolo•28m ago•0 comments

Giving Minecraft Infinite Time to Beat Itself [video]

https://www.youtube.com/watch?v=9t2fV52jMA8
1•nstents•28m ago•0 comments

Jellyfin 12.0

https://jellyfin.org/posts/jellyfin-release-12.0/
53•0xC0ncord•29m ago•10 comments

Terence Tao – Reflections on the Foundations of Interpretability Workshop

https://www.youtube.com/watch?v=AXlif6z9a2A
1•twoodfin•30m ago•0 comments

Show HN: Froogle – a search engine portal in one HTML file

1•scosman•32m ago•0 comments

Vagrant is approaching EOL. No more "Docker for VMs"

https://developer.hashicorp.com/hcp/docs/vagrant/hcp-vagrant-eol
1•stasge•34m ago•0 comments

Mathematical Cranks

https://en.wikipedia.org/wiki/Mathematical_Cranks
1•_ttg•35m ago•0 comments

DUPR (pickeball rating system) outage: 3rd day and no explanation

https://www.reddit.com/r/Pickleball/comments/1w9iroh/the_dupr_situation_its_bad/
1•gbin•35m ago•0 comments

My business partner sent a 5K vibe-coded PR that he didn't even test

https://ycj.bearblog.dev/ai-again/
2•yhcj•37m ago•2 comments

Anthropic Said to Walk Away from $6B Decart Acquisition

https://www.bloomberg.com/news/articles/2026-09-08/anthropic-said-to-walk-away-from-6-billion-dec...
2•mfiguiere•38m ago•0 comments

Monero is our most-used crypto at NanoGPT

https://reddit.com/r/Monero/comments/1w9my20/monero_is_our_mostused_crypto_at_nanogpt_were_now/
2•Cider9986•38m ago•1 comments

OpenAI and the Wiki Incident

https://thezvi.substack.com/p/openai-and-the-wiki-incident
1•Khaine•38m ago•0 comments

Release pnpm 11.26 · pnpm/pnpm

https://github.com/pnpm/pnpm/releases/tag/v11.26.0
1•kyisaiah47•39m ago•0 comments

Show HN: Termjack – blackjack in the terminal with a built-in strategy trainer

https://github.com/eddietex/termjack
1•esdrasevt•41m ago•1 comments

LLM Guided Evolution for Circle Packing: Breaking 10 Packomania Records for $28

https://arxiv.org/abs/2609.05093
1•practicalsystem•42m ago•0 comments

I killed every houseplant I owned, so I built an app to stop doing that

1•gongshaojie12•43m ago•1 comments

Show HN: Gorilla Quake

https://github.com/duncancarroll/gorillaquake
2•duncancarroll•45m ago•0 comments