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

A tour inside my software restaurant

https://thenickhuber.com/vibe-coding-my-favorite-defunct-game/
1•nhuber•2m ago•0 comments

Robust AI Security and Alignment: A Sisyphean Endeavor?

https://arxiv.org/abs/2512.10100
1•joshcsimmons•4m ago•0 comments

Go core team: a more robust proposal process

https://github.com/golang/go/discussions/80580
1•bigwhite•12m ago•0 comments

Building Glimt

https://glimt.online/
1•Glimtonline•17m ago•0 comments

Math. Premium

https://calc.company
1•souvlakee•18m ago•0 comments

Show HN: Free ad-headline generator that labels the persuasion technique used

https://adcreator-ai.com/free/headline-generator
2•scholarnet-AI•26m ago•0 comments

Show HN: Modern C++ Build Tools for Module Feature

https://github.com/mcpp-community/mcpp
2•sunrisepeak•28m ago•0 comments

Show HN: Free 2-minute OSHA HazCom self-audit, no signup

https://sdsentry.0xpi.com/hazcom-self-audit.html
2•scholarnet-AI•29m ago•0 comments

Message your other Claude Code sessions

https://code.claude.com/docs/en/cross-session-messaging
1•adamfeldman•30m ago•0 comments

Hacked Amazon Echo Dot 2 and can run LLMs locally

https://www.reddit.com/r/homeassistant/s/X13006g0tS
1•albertoZurini•31m ago•0 comments

Black Hat USA 2026: The OpenAI–Hugging Face Incident [video]

https://www.youtube.com/watch?v=87DyyMV0kCY
2•mellosouls•34m ago•0 comments

Ginear – A Linear-like UI using GitHub Issues and Projects as the back end

https://github.com/leonschwanitz/ginear
1•leonschwanitz•35m ago•1 comments

A 15-minute backup audit for self-hosted homelabs

https://scholar.0xpi.com/blog/homelab-backup-audit-checklist
1•scholarnet-AI•37m ago•0 comments

I Built an MCP Server for JMeter Docs

https://qainsights.com/i-built-an-mcp-server-for-jmeter-docs-heres-how-to-connect-your-ai-agent-t...
1•qainsights•41m ago•1 comments

Cloudflare launches Kitesurf, a browser built for AI agents

https://techcrunch.com/2026/08/07/cloudflare-launches-kitesurf-a-browser-built-for-ai-agents/
2•justworks•43m ago•0 comments

Skill.md vs. Llms.txt: What Each File Does and When You Need Both

https://docsalot.dev/blog/skill-md-vs-llms-txt
1•mooreds•44m ago•0 comments

How to Support Rural Oregon Businesses Affected by Wildfire

https://reinventingrural.substack.com/p/how-to-support-rural-oregon-businesses
2•mooreds•46m ago•0 comments

MegaDev AI Workshop

https://mega.dev
1•beverett•52m ago•1 comments

Long Dark Blues

https://longdarkblues.com/
2•unacorner•53m ago•0 comments

Should AI labs be treated like the owners of dangerous animals?

https://www.economist.com/science-and-technology/2026/08/06/should-ai-labs-be-treated-like-the-ow...
13•reasonableklout•56m ago•10 comments

What counts as cooking? In defense of the store-bought sauce

https://iza.ac/posts/2026/06/what-counts-as-cooking/
1•mooreds•58m ago•0 comments

When Matt Taibbi Met Mike Benz

https://agentsofinfluence.substack.com/p/when-matt-taibbi-met-mike-benz
1•hn_acker•1h ago•0 comments

Classifying Capabilities (Extended Version)

https://arxiv.org/abs/2607.24504
2•matt_d•1h ago•0 comments

Annessaia – a sandboxed WASM app runtime with its own UI toolkit

https://github.com/vm100900/annessaia
1•virenmane•1h ago•0 comments

Is the IDE Dead?

https://textlog.cc/post/251
2•s-xyz•1h ago•0 comments

Solving Legal Problems with Dags

https://lexifina.com/blog/solving-legal-problems-with-dags
3•alansaber•1h ago•0 comments

Project Lana attempts to formalize hard to understand Mochizuki's IUT in Lean

https://anabelian.org/
2•ur-whale•1h ago•1 comments

Simplest CMS you'll ever need. Manage content right in your GitHub repository

https://pagescms.org/
3•Leftium•1h ago•0 comments

Atlas of Surveillance

https://www.atlasofsurveillance.org/
2•bookofjoe•1h ago•0 comments

The worlds longest song makes a chord change

https://www.msn.com/en-us/music/news/the-worlds-slowest-organ-concert-makes-a-chord-change/vi-AA2...
3•thatxliner•1h ago•0 comments