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

FocusGolf – a swing-analysis app I'm building as an HCP36 amateur

https://play.google.com/store/apps/details?id=com.mode.golf.app&hl=en
1•dmitrijsc•2m ago•0 comments

Pine64 launch $50 smart speaker for Home Assistant tinkerers

https://www.omgubuntu.co.uk/2026/06/pine64-pinevoice-riscv-smart-speaker-launch
1•edward•2m ago•0 comments

Apple accelerates app development with new intelligence frameworks

https://www.apple.com/in/newsroom/2026/06/apple-aids-app-development-with-new-intelligence-framew...
1•adithyaharish•3m ago•0 comments

Trap–Bath Split

https://en.wikipedia.org/wiki/Trap%E2%80%93bath_split
1•YeGoblynQueenne•4m ago•0 comments

I built a native iOS video player for local media and SMB/Plex

https://apps.apple.com/us/app/lux-video-player-hd-media/id6762520464
1•Moonarkh•11m ago•0 comments

AI Engineering Roadmap

https://aiengineeringfromscratch.com/prereqs.html
1•rohitghumare•11m ago•0 comments

Using a local iPhone MCP server to plan Apple Watch workouts with Codex

https://bernhardhering.de/blog/ask-my-health-codex-workout-plan/
1•boernei•13m ago•0 comments

AI Agent vs. Cron

1•vasanthps•14m ago•0 comments

Show HN: LokalBot – meetings, notes, and autocomplete that never leave your Mac

https://www.lokalbot.com/
1•stevyhacker•14m ago•0 comments

GLM-5.2's Code Reviews Are Only as Good as Your Prompt

https://blog.kilo.ai/p/glm-52s-code-reviews-are-only-as
1•justiceforsaas•18m ago•0 comments

Why averaging LLM benchmark scores is fundamentally broken

https://arxiv.org/abs/2605.11205
1•testofschool•19m ago•0 comments

Perseverance Finds Complex Organic Matter on Mars

https://www.sci.news/space/perseverance-complex-organic-matter-mars-14882.html
1•wasting_time•20m ago•0 comments

Ditching Claude for OpenCode and OpenRouter

https://www.ianwootten.co.uk/2026/07/01/ditching-claude-for-opencode-and-openrouter/
3•jandeboevrie•20m ago•0 comments

Show HN: Bol.ai – Extract structured data from Bills of Lading

https://bol.ai/
1•dutchcode•20m ago•0 comments

Show HN: Pokayoke – turn repo conventions into deterministic checks for agents

https://pokayoke.codes
1•sarreph•23m ago•0 comments

How can we make Twitter friendlier

3•RoastSlop•31m ago•1 comments

Dynamo Draughts. 10x10 game for DOS, open source

https://orac81.itch.io/dynamo-draughts
2•orac81•32m ago•0 comments

Show HN: Petabyte-scale storage for AI agent sandboxes

https://twitter.com/aniketmaurya/status/2072249879573754225
3•theaniketmaurya•34m ago•1 comments

Solar Panels: AC vs. DC (2008)

https://rimstar.org/renewnrg/solarpwr.htm
1•tetris11•35m ago•0 comments

Google Gemini Claims to be "structurally protective" of Donald Trump

https://www.thatprivacyguy.com/blog/google-ai-guardrails-protect-trump/
3•AlexanderHanff•37m ago•1 comments

Single Dose of Frog-Derived Gut Bacterium Eradicates 100% of Tumors in Mice

https://www.thefocalpoints.com/p/new-study-frog-derived-gut-bacterium
3•mpweiher•38m ago•0 comments

Vast Majority support clampdown on social media to protect children

https://www.ippr.org/media-office/vast-majority-support-clampdown-on-social-media-to-protect-chil...
1•vrganj•43m ago•0 comments

I'm Building an App to make $10k/month and I'm Recording the whole thing

https://twitter.com/jomatech/status/2071774976173355221
1•rzk•45m ago•0 comments

Show HN: Fail2ban-Dashboard

https://github.com/webishdev/fail2ban-dashboard
2•musicmatze•46m ago•0 comments

The evolution of window and class extra bytes in Windows

https://devblogs.microsoft.com/oldnewthing/20260629-00/?p=112484
1•Stratoscope•46m ago•0 comments

Building AI for Production Requires More Engineering Than AI

https://geekyants.com/blog/the-hidden-cost-of-delaying-ai-product-modernization-in-enterprise-bus...
2•Max536752•46m ago•0 comments

Bloomberg: Spain Built Too Much Solar. Investors Want Out

https://www.bloomberg.com/news/articles/2026-06-29/spain-s-solar-and-wind-power-boom-is-an-invest...
3•vblanco•49m ago•2 comments

Scientists say most people need more protein than current guidelines suggest

https://www.sciencedaily.com/releases/2026/06/260622091429.htm
2•bushwart•50m ago•2 comments

What If a City Ran on UTC for Two Weeks?

https://zulu.sekor.eu.org/
1•modinfo•54m ago•0 comments

Getty Images Plans to End Shutterstock Deal After U.K. Imposes Conditions

https://www.wsj.com/business/getty-images-plans-to-end-shutterstock-deal-after-u-k-imposes-condit...
1•thm•54m ago•0 comments