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

Canon-A controlled English for model prompting and agent-to-agent communication

https://github.com/sanshagn/Canon/tree/main
1•sanshagn•58s ago•0 comments

Sit through 15 hours of opera

https://www.economist.com/culture/2026/08/05/why-you-should-sit-through-15-hours-of-opera
1•andsoitis•1m ago•0 comments

Show HN: RankParse – An SEO and backlink data API built from Common Crawl

https://rankparse.com
1•abhibavishi•2m ago•0 comments

Inferring a solar eclipse's ground track from Spanish hotel price surges

https://medium.com/vortechsa/inferring-orbital-mechanics-from-hotel-pricing-3a62f042dc45
1•tachyon5•5m ago•0 comments

Ask HN: What can I do with a single R9700?

1•scott01•8m ago•0 comments

DeepSeek V4-Flash released: 284B params, 1M-token context, free to use

https://ainexusdaily.vercel.app
1•qrify_app•9m ago•0 comments

Program images and portable Scheme back ends for Jolt

https://yogthos.net/posts/2026-08-07-portable-jolt.html
2•yogthos•13m ago•0 comments

Sensitive Info Goes into 'No Reply' Emails Constantly. This Guy Sees It All

https://www.wired.com/story/sensitive-info-goes-into-no-reply-emails-constantly-this-guy-sees-it-...
3•sbulaev•19m ago•0 comments

UK charities count the cost of Beacon CRM cyberattack

https://www.theregister.com/security/2026/08/05/uk-charities-count-the-cost-of-beacon-crm-cyberat...
2•jstanley•20m ago•0 comments

Don't use your phone while you poop

https://nate.spot/no-phone-while-poop/
3•ExMachina73•20m ago•2 comments

At the altar of AI capex, Google is sacrificing the golden goose

https://twitter.com/MaxAnderson/status/2080229375773941871
3•wyclif•22m ago•0 comments

We mapped every data centre on Earth [video]

https://www.youtube.com/watch?v=8M3MciEmC5c
1•skibz•23m ago•0 comments

I built a voice agent that resolves IT/HR support issues end-to-end

https://www.youtube.com/watch?v=GffeCdNQ5JQ
1•ManoBharathi93•23m ago•0 comments

Prinevo Memory: A Domain-Pluggable Context Graph for Long-Term Agent Memory

https://drive.google.com/file/d/1dqX6t-r03SKalM9Fcvz6g0Ixp-8QLXqZ/view?usp=sharing
1•sohitkeshri•25m ago•0 comments

Gentoo bugzilla closed due AI bot scraper overload

https://social.treehouse.systems/@mgorny/117058483039362779
11•happosai•30m ago•0 comments

Banning data centers would blow up the U.S. economy

https://www.noahpinion.blog/p/banning-data-centers-would-blow-up
3•nedruod•33m ago•2 comments

Which editing tool using in 2026?

1•karam_hn•37m ago•1 comments

AI-generated stories rated better quality than human-written ones, study finds

https://www.theguardian.com/technology/2026/aug/05/ai-generated-stories-rated-better-quality-than...
2•Risse•38m ago•0 comments

Show HN: Sovereign Engine – Local-first intent engine in Rust and Tauri

https://github.com/Sovereign34/sovereign-engine
1•Sovereign34•38m ago•0 comments

The National Design Studio Became a DOGE Landing Pad. Now 'Big Balls' Is Hiring

https://www.wired.com/story/national-design-studio-doge-recruiting/
1•robbiet480•38m ago•0 comments

The Microstructure of Wealth Transfer in Prediction Markets

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7217640
2•jonbecker•45m ago•0 comments

AI's Latest Rocket Ship Is an Old School, 28-Year-Old Data Company

https://www.forbes.com/sites/iainmartin/2026/08/06/ais-latest-rocket-ship-is-an-old-school-28-yea...
2•Michelangelo11•46m ago•0 comments

The Last New Word

https://www.lucasfcosta.com/fiction/the-last-new-word
2•lucasfcosta•51m ago•0 comments

Triton: DirectX 11 Driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
2•electricant•53m ago•0 comments

A private curl-to-Python converter that runs in the browser

https://www.endpoint51.com/curl-to-python/
1•endpoint51•56m ago•1 comments

I run a 9-model LLM council to write a financial newsletter. What breaks

https://marketdaily.ai/blog/eng-llm-council-judge-en-202608
2•delvinchang•56m ago•0 comments

Voyager 1 FDS Computer Emulator

https://zaneham.github.io/voyager-fds-emulator/
5•rahen•58m ago•0 comments

A domain can now say it is for sale, in DNS

https://specification.website/spec/foundations/for-sale-dns/
23•shaunpud•59m ago•5 comments

Show HN: Patchward-check – list the test expectations a diff removes

https://pypi.org/project/patchward-check/
1•kolesnikov-arch•1h ago•0 comments

A Generation on Antidepressants Searches for the Exit

https://www.nytimes.com/2026/08/07/opinion/antidepressants-ssris-side-effects-drugs-maha.html
3•bookofjoe•1h ago•1 comments