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

Over 20k precolonial earthworks in the Southwest Amazonia

https://www.nature.com/articles/s41586-026-10835-7
1•wslh•1m ago•0 comments

LLMs reward expertise

https://www.seangoedecke.com/llms-reward-expertise/
3•MaxMussio•2m ago•0 comments

Rhine falls to record low levels as drought strains Europe's rivers

https://www.bbc.com/news/articles/c78gn8zvrx4o
1•ijidak•2m ago•0 comments

Net Revenue Tracker

https://sidepop.io
1•ecaglar•2m ago•0 comments

Show HN: Yaka Clothing

https://www.instagram.com/reel/DblcZc_NbN5/
1•dp-hackernews•3m ago•0 comments

I downloaded and reviewed NYC's grocery store RFP

https://twitter.com/nickkokonas/status/2084312689682108669
1•rmason•5m ago•0 comments

Show HN: Peko, an End-to-End Platform for Shipping Native Apps

https://pekoui.com
1•IAmPrestonBrown•9m ago•0 comments

I got tired of the endless 'news' barrage

https://flowinfo.co/
1•flowinfo•10m ago•1 comments

When Cloud AI Escapes: OpenAI and Anthropic Models Breach Live Networks

https://blog.neutrontech.ai/2026/08/03/when-cloud-ai-escapes-openai-anthropic-models-breach-live-...
2•NeutronTech_ai•10m ago•0 comments

The State of Chez Scheme in Debian

https://weinholt.se/articles/state-of-chezscheme-in-debian/
1•birdculture•11m ago•0 comments

Google dev kit spurs first-ever agent-on-agent violence

https://www.theregister.com/security/2026/08/03/google-dev-kit-spurs-first-ever-agent-on-agent-vi...
2•hacker_nows•12m ago•0 comments

A Claude Skill that runs a skeptical-VC teardown on your startup idea

https://github.com/zszendro/vc-teardown
1•zszendro•13m ago•0 comments

The Patreon Problem

https://www.pleasehustleresponsibly.com/p/the-patreon-problem
1•angelahollowell•15m ago•1 comments

Connecting an LLM to Your Data Is the 21% Solution

https://optimaflo.io/blog/connect-llm-to-your-data
1•evan_rosa•15m ago•0 comments

Company Offering Printed Books to Train AI Stops After 404 Media Coverage

https://www.404media.co/ai-company-training-scanning-books-database-isbndb/
2•Jimmc414•17m ago•0 comments

Abridge a code diff into a reading diff

https://meat.dev
1•keleftheriou•17m ago•0 comments

Demand from AI data centers drives up computer memory prices

https://www.npr.org/2026/07/30/nx-s1-5909318/massive-demand-from-ai-data-centers-drives-up-comput...
2•Jimmc414•17m ago•0 comments

Used Claude to make a screen time app that let's me exclude certain apps

https://github.com/DaanyaalSobani/truescreentime
1•daanyaalss•17m ago•1 comments

The SpaceX Falcon 9 Moon Crash Is a Warning for Lunar Bases

https://www.wired.com/story/spacex-falcon-moon-crash-warning-for-lunar-bases/
3•ojosilva•18m ago•1 comments

The System That Turned Paper Charts into Digital Medical Records

https://spectrum.ieee.org/ieee-milestone-digital-medical-records
1•Jimmc414•18m ago•0 comments

Show HN: Svelte-rs – a Svelte compiler in Rust

https://github.com/MrWaip/svelte-rs
2•mrwaip•19m ago•0 comments

Observational planning for the 2026 August 5 Falcon 9 Upper Stage lunar impact

https://arxiv.org/abs/2607.14625
1•wertyk•19m ago•0 comments

Show HN: Poker and Liar's Dice over Bluetooth Low Energy

https://testco.de/airplane-mode-games
1•yincrash•19m ago•0 comments

Show HN: Dashboard for UniFi Up-AirQuality Sensor

https://github.com/bsidio/unifi-protect-airquality-dashboard
1•humbfool2•20m ago•0 comments

No data centers in my backyard

https://jasmi.news/p/no-data-centers-in-my-backyard
2•annapowellsmith•20m ago•1 comments

Rider on the Storm (2011)

https://www.damninteresting.com/rider-on-the-storm/
1•EndXA•21m ago•0 comments

Code Scan Challenge

https://codedelta.app/article-scan-challenge.html
1•code-delta-app•21m ago•0 comments

Boomers Are Leaving Behind More Art Than Anyone Wants

https://www.bloomberg.com/news/features/2026-07-31/the-great-wealth-transfer-includes-1-trillion-...
2•lispybanana•22m ago•0 comments

Eating less protein could help you live longer (mouse study)

https://www.scientificamerican.com/article/eating-less-protein-could-help-you-live-longer/
1•abawany•22m ago•0 comments

Scaling Agents for Computer Use

https://openreview.net/challenge?redirect=%2Fforum%3Fid%3Deve4jBYa8D%26noteId%3D1ibCP6aCv6%26refe...
2•taro666•22m ago•0 comments