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

View from the Shifting Mound

https://thesolarprincess.github.io/blog/en/shiftingmound.html
1•paulpauper•1m ago•0 comments

Contributor Visualization for Superset: top contributors own 90% of lines

https://twitter.com/Principal_ADE/status/2073853855545143427
1•fernando-ram•2m ago•0 comments

Social media management for AI Agents

https://schedpilot.com/
1•schedpilot•3m ago•0 comments

Eclipse Enclave

https://projects.eclipse.org/projects/ecd.enclave
1•Tomte•3m ago•0 comments

A 3D-printed Raman spectrometer

https://hackaday.com/2026/07/05/2026-frikkin-lasers-challenge-a-3d-printed-raman-spectrometer/
1•ikbdsk•5m ago•0 comments

CommaAgents V2 Sharable Agent Orchestrator Release Candidate

https://github.com/CloAI/CommaAgents
1•NateAGeek•9m ago•1 comments

Turn Your AI Agent into an MCP Server for ChatGPT, Claude and Cursor

https://quickchat.ai/post/expose-ai-agent-as-mcp-server
1•piotrgrudzien•11m ago•0 comments

The full stack of terminals explained

https://ahmadawais.com/the-full-stack-of-terminals-explained-terminal-shell-tty-console-posix-ans...
1•ludicrousdispla•12m ago•0 comments

Large planets lighter than cotton candy

https://www.cbsnews.com/news/super-puff-planets-lighter-than-cotton-candy-found/
1•gmays•12m ago•0 comments

We'll fight the platform war against big AI

https://www.anildash.com/2026/06/23/fight-ai-platform-war/
1•bnj•13m ago•0 comments

Raylib 6.x gamejam – Make a 720x720 wasm game with raylib in 6 days

https://itch.io/jam/raylib-6x-gamejam
1•vyrotek•17m ago•0 comments

Group project, but make it 1776 – Google Workspace ad [video]

https://www.youtube.com/watch?v=Q3RjZY-rSsc
1•ChrisArchitect•20m ago•0 comments

Delta flight hit by firework while landing at Midway Airport on Fourth of July

https://www.nbcchicago.com/news/local/delta-flight-hit-by-firework-while-landing-at-midway-airpor...
2•randycupertino•20m ago•0 comments

Show HN: TrainSim – a browser train tycoon

https://aashishh15.github.io/3DTrainSim/
1•aashishharishch•22m ago•1 comments

Can AI do fact-checking?

https://www.wired.com/story/fact-checking-ai/
1•simianwords•22m ago•0 comments

Show HN: Make No Mistakes – AI coding agents must prove their work

https://github.com/momomuchu/make-no-mistakes
1•mohamedmaache•24m ago•0 comments

Tanenbaum–Torvalds Debate

https://en.wikipedia.org/wiki/Tanenbaum%E2%80%93Torvalds_debate
1•chistev•24m ago•0 comments

OpenCQRS 2.0: Tests That Read Like the Domain

https://docs.eventsourcingdb.io/blog/2026/07/06/opencqrs-20-tests-that-read-like-the-domain/
2•goloroden•25m ago•0 comments

AI Workflows Need Topological Sort

https://arpitbhayani.me/blogs/ai-topological-sort/
1•ashutosh-aanand•26m ago•0 comments

How is Zig working out after 3 years and 100k lines of game code? [video]

https://www.youtube.com/watch?v=HXpUShkr2VQ
1•roflcopter69•26m ago•0 comments

Low-level is easy (2008)

https://yosefk.com/blog/low-level-is-easy.html
1•downbad_•26m ago•0 comments

Outgrowing the Chat Box

https://www.nnehdi.me/p/outgrowing-the-chat-box
1•nnehdi•31m ago•0 comments

Small Penis Rule

https://en.wikipedia.org/wiki/Small_penis_rule
9•chistev•34m ago•1 comments

Robots Are Coming for All Jobs [video]

https://www.youtube.com/watch?v=qCsYVL-v-3A
1•Bender•36m ago•0 comments

Mastgate – Fediverse Relay Filter

https://github.com/ahmed-debbech/mastgate
1•bhhhhhhcc•37m ago•0 comments

Describing All My Photos

https://alexwlchan.net/2026/describing-my-photos/
1•Tomte•37m ago•0 comments

Ghosts of Our Lives: On Ryan Armand, Tronicbox and Occasional Immortality

https://morbidcuriosity.substack.com/p/ghosts-of-our-lives
1•pnwpnw•37m ago•1 comments

America's 250th became a test of AI-powered Collective Intelligence

https://venturebeat.com/technology/how-americas-250th-birthday-became-a-test-of-ai-powered-collec...
2•hogwash•39m ago•0 comments

French wildfires force officials to ban public from Tour de France's third stage

https://www.reuters.com/business/environment/french-wildfires-jeopardise-finish-line-tour-de-fran...
2•geox•42m ago•0 comments

Meta-access problem faced by academics – and how to solve it

https://hookproductivity.com/solutions/hookmark-for-academics/
2•LucCogZest•46m ago•0 comments