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 Epanorthosis: Why LLMs overuse a classical rhetorical figure

https://arxiv.org/abs/2607.21498
1•geox•2m ago•0 comments

Don't change a Win32 static control's style after creation

https://devblogs.microsoft.com/oldnewthing/20261105-00/?p=112835/
1•ibobev•2m ago•0 comments

Richard Lloyd, Torrential Guitarist of Television, Has Died

https://www.nytimes.com/2026/11/07/arts/music/richard-lloyd-dead.html
1•coloneltcb•4m ago•0 comments

There are things with ranks, but it's not always clear what the ranks mean

https://devblogs.microsoft.com/oldnewthing/20261104-00/?p=112830/
2•ibobev•6m ago•0 comments

Why AI Will Not End Scholarly Publishing (and the Publish-or-Perish Institution)

https://nicolaijfoss.substack.com/p/why-ai-will-not-end-scholarly-publishing
1•jruohonen•6m ago•1 comments

Hiding prompt injections in PDFs, and six judges that catch them

https://tomclancy.info/joshua-judges-ruth.html
1•tclancy•7m ago•0 comments

Free OKR Spreadsheet Template for Google Sheets and Excel

https://effortbox.com/blog/okr-spreadsheet/
1•textwriter•7m ago•0 comments

Show HN: I built a free trivia hosting app with no accounts or subscriptions

https://quiztoolkit.com/
1•thepolymoth•9m ago•0 comments

A Portrait of the Luddite as a Young Man

https://shipwrecklibrary.com/the-modern-word/pynchon/sl-paper-gibbs/
1•measurablefunc•10m ago•0 comments

Vasomechanic treatment associated with increased efflux of human brain proteins

https://www.nature.com/articles/s41467-026-78894-y
2•bookofjoe•11m ago•0 comments

Day AI: Context Graph and Agent Control Plane for GTM

https://day.ai/
1•handfuloflight•11m ago•0 comments

The Microcontroller Inside a LoRa Chip

https://hackaday.com/2026/11/07/the-hidden-microcontroller-inside-a-lora-chip/
1•andrewstuart•19m ago•0 comments

York teenager invents device to stop rats damaging railway

https://www.bbc.com/news/articles/cqz0vnle17rzo
1•Tomte•21m ago•0 comments

We're bringing back the HN meeting in Mexico City

4•ysangkok•26m ago•1 comments

Sama Wants You to Have More RAM, Not Less, Changes Name to "RAM Altman"

https://www.gadgetreview.com/sam-altman-says-he-wants-you-to-have-even-more-ram-not-less-changes-...
1•Bluestein•26m ago•0 comments

Show HN: Spiral Nest – an ant colony simulation inside a bubble chamber

https://johnveds15-spiral-nest.static.hf.space/index.html
1•johnveds15•27m ago•0 comments

From the server to SQLite to reactive Svelte state

https://www.milieu.cloud/blog/from-the-server-to-sqlite-to-reactive-svelte-state
1•joeldrapper•30m ago•1 comments

Flash C – Open-source C Compiler and (Turbo-C like) IDE for Linux x86-64

https://github.com/dilshan/flash-c
1•peter_d_sherman•30m ago•0 comments

A bash script that emails Sam Altman once a day to report the RAM he missed

https://ram-altman.lol/
3•cstuder•32m ago•0 comments

Some thoughts on AI, scientific papers, and peer review

https://www.alekpetty.com/blog/ai_in_science.html
2•jruohonen•34m ago•0 comments

NASA accepting astronaut applications until December 3

https://www.nasa.gov/news-release/nasa-seeks-next-generation-of-explorers-to-join-astronaut-corps/
4•armcat•35m ago•0 comments

Learn C++ Before You Learn What It Costs You

https://fagnerbrack.com/learn-c-before-you-learn-what-it-costs-you-d254d484dbff
2•fagnerbrack•35m ago•0 comments

Retro Bowl

https://poki.com/en/g/retro-bowl
2•TED1•37m ago•0 comments

How we built Render OIDC

https://render.com/blog/how-we-built-render-oidc
2•anurag•37m ago•0 comments

Tell HN: HN Is Wrong

7•npguy•39m ago•6 comments

Show HN: Agent Manager – keyboard-first workflow for running many coding agents

https://github.com/wainmann/agent-manager
3•yoanwaidev•40m ago•0 comments

Drawably creates animated, hand-drawn UI controls with randomized sketches

https://github.com/danielwh2/drawably
3•javatuts•41m ago•0 comments

Webframe runs web pages as CLI programs using a hidden system web view

https://github.com/tractordev/webframe
1•javatuts•41m ago•0 comments

The Death of the Natural Soundscape

https://psuvanguard.com/the-death-of-the-natural-soundscape/
2•jruohonen•41m ago•0 comments

Fixing IDN hostname validation in a Java JSON Schema library (IDNA2003 → 2008)

1•rravimeena•46m ago•0 comments