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

I let an AI agent run my SEO site. It broke things. I published the bugs

https://tokenmaxxing.com/how-this-site-runs-itself
1•tremblinglemon•46s ago•0 comments

TrophyLab – Shared space for enemy weapons research

https://trophylab.mod.gov.ua/en/
2•enragebait•47s ago•0 comments

Supreme Court restricts use of geofence warrants

https://www.npr.org/2026/06/29/nx-s1-5844697/supreme-court-restricts-use-of-geofence-warrants
1•CharlesW•1m ago•0 comments

Low-cost Chinese AI models like DeepSeek gain traction in the U.S.

https://restofworld.org/2026/when-americans-choose-chinese-ai/
1•speckx•1m ago•0 comments

From Brain Waves to Words: Brain2Qwerty Offers a New Path to Communication

https://ai.meta.com/blog/brain2qwerty-brain-ai-human-communication/?_fb_noscript=1
1•tilt•2m ago•0 comments

We built FRQ-NC, your personalized podcast

https://frq-nc.com/
1•FRQ-NC•4m ago•0 comments

WSJ Article Claiming China Has Matched Anthropic Is Obvious Nonsense

https://thezvi.substack.com/p/wsj-article-claiming-china-has-matched
1•7777777phil•5m ago•0 comments

KEDA Audit Complete

https://ostif.org/keda-audit-complete/
1•helenOSTIF•8m ago•0 comments

Building AI Agents in Ruby with the Anthropic SDK

https://nsinenko.com/rails/ai-agents/architecture/2026/06/09/building-ai-agents-ruby-anthropic-sdk/
1•nikita-ruby•9m ago•0 comments

Neocolonialism

https://en.wikipedia.org/wiki/Neocolonialism
1•1equalsequals1•9m ago•0 comments

Notes from Bryan Cantrill's "Intelligence Is Not Enough"

https://blog.jim-nielsen.com/2026/intelligence-isnt-enough/
1•Brajeshwar•10m ago•0 comments

US Supreme Court rejects Trump's unprecedented bid to fire Fed's Cook

https://www.reuters.com/world/us-supreme-court-rejects-trumps-unprecedented-bid-fire-feds-cook-20...
2•kaycebasques•10m ago•0 comments

AI models' values are different from most people's

https://www.economist.com/briefing/2026/06/25/ai-models-values-are-very-different-from-most-peoples
1•andsoitis•10m ago•0 comments

AI Accountability in Justice and Medicine – Ethics and EU AI Act

https://neuralcoretech.com/ai-accountability-justice-medicine/
1•neuralcoretech•11m ago•0 comments

An agent opened this pull request. Nobody asked it to

https://www.marcoziccardi.com/blog/ai-agents-open-pr-autonomously
1•marcoziccardi•12m ago•0 comments

Distributism

https://en.wikipedia.org/wiki/Distributism
2•supermdguy•14m ago•1 comments

Universal Basic Income

https://en.wikipedia.org/wiki/Universal_basic_income
3•andsoitis•14m ago•0 comments

WATaBoy: JIT-Ing Game Boy Instructions to WASM Beats a Native Interpreter

https://humphri.es/blog/WATaBoy/
2•energeticbark•14m ago•0 comments

It's Linux, on a Sega Genesis

https://hackaday.com/2026/06/29/its-linux-on-a-sega-megadrive/
2•HardwareLust•15m ago•1 comments

WebGL Without a GPU

https://microlink.io/blog/webgl-without-a-gpu
3•Kikobeats•15m ago•0 comments

Rejection Emails Should Be Written Like Error Messages

https://landedstar.com/blog/posts/rejection-emails-should-be-written-like-error-messages/
1•lifefeed•15m ago•0 comments

Brain2Qwerty: Brain-to-text decoder by Meta

https://facebookresearch.github.io/brain2qwerty/
1•Sathwickp•15m ago•0 comments

Extracting standalone HTML files from Lovable, Figma make, Canva code and more

https://productnow.ai/blogs/extracting-html-from-ai-prototyping-tools
1•kadhirvelm•16m ago•0 comments

Did a bar scan your face this Pride weekend?

https://sfstandard.com/2026/06/29/catro-faceid-delete-patronscan/
1•tobadzistsini•16m ago•0 comments

Stop Paying More for Less Transit

https://ifp.org/stop-paying-more-for-less-transit/
1•surprisetalk•16m ago•0 comments

Brain2Qwerty v2

https://github.com/facebookresearch/brain2qwerty
1•ilreb•16m ago•0 comments

Infini – Audit your agent project for loop portability (0-100 score)

https://github.com/NickAiNYC/infini
1•alt313•20m ago•1 comments

Eyes Do Not Work the Way They Appear To

https://ishan.co/no-way/
1•speckx•20m ago•0 comments

Deezer's new tool can identify AI music from Spotify, Apple Music, and others

https://techcrunch.com/2026/06/11/deezers-new-tool-can-identify-ai-music-from-spotify-apple-music...
1•austinallegro•21m ago•0 comments

BT Group and Verizon to form joint venture

https://www.verizon.com/about/news/verizon-bt-group-international-joint-venture
2•qainsights•21m ago•0 comments