frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Brume is a 24-voice multi-timbral desktop synth for the CM5

https://brume.aftertone.co/
1•oceanwaves•47s ago•1 comments

Overreact – Survival Game

https://absurd.website/overreact/
1•jawns•3m ago•0 comments

Show HN: Agents ship diffs. Visr keeps trajectories

https://visr.dev/changelog/keep-the-trajectory
1•sourishkrout•5m ago•0 comments

New diabetes pill burns fat without the downsides of Ozempic

https://www.sciencedaily.com/releases/2026/06/260603015541.htm
1•amichail•5m ago•0 comments

Collage – Making web 1.0 style websites slightly easier

https://codeberg.org/stringbone/collage
1•jawns•6m ago•0 comments

CIYA – 91.53% token reduction, private hardware, no wrappers

https://iiio.co
2•iiiiiiiiio•9m ago•1 comments

Introduction to Bibliographic Data Science

https://pkiraly.github.io/introduction-to-bibliographic-data-science/
1•greenie_beans•10m ago•0 comments

Fedora 43 Upgrade revealed 20 years old Outlook Security Bug

https://fedoramagazine.org/fedora-43-upgrade-revealed-20-years-old-outlook-security-bug/
1•speckx•11m ago•0 comments

The Next Generation of High-Performance Explosives

https://losalamosreporter.com/2019/08/30/bom-the-next-generation-of-high-performance-explosives-d...
1•Teever•11m ago•0 comments

SnapcalAI

https://snapcalai-beryl.vercel.app/website
1•farazrizvii•11m ago•1 comments

Viète's Formula

https://en.wikipedia.org/wiki/Vi%C3%A8te%27s_formula
1•kjhughes•11m ago•0 comments

Building iOS Apps with Doom Emacs

https://wassimans.com/blog/building-ios-apps-with-doom-emacs/
1•wassimans•11m ago•0 comments

Automated Fault Injection Attack Framework Released

https://github.com/Geeoon/Fault-Injection-Finder
1•skril•12m ago•0 comments

A Functional Taxonomy of World Models by Fei-Fei Li

https://twitter.com/drfeifei/status/2062247238143996275
1•dmarcos•14m ago•0 comments

Can Snowflake users get Photon-like Spark performance with Quanton?

https://quanton.dev/docs/guides/snowflake/
1•sivabalan•16m ago•0 comments

Young adults are more perfectionistic than ever before

https://www.apa.org/news/press/releases/2026/05/young-adults-perfectionistic
2•littlexsparkee•16m ago•0 comments

Why Kernel-Level eBPF Is Replacing User-Space Agents for Security Observability

https://www.infoq.com/articles/ebpf-for-security-observability/
2•tanelpoder•17m ago•0 comments

Transient improvement in Alzheimer's disease following psilocybin administration

https://www.frontiersin.org/journals/neuroscience/articles/10.3389/fnins.2026.1813281/full
2•MrJagil•18m ago•1 comments

Internet Archive is temporarily offline

1•1vuio0pswjnm7•19m ago•0 comments

Is it possible to send a message in Morse code by un-following someone on x.com?

3•savhascelik•19m ago•3 comments

Subconscious Cache for Agent Inference

https://www.subconscious.dev/blog/subconscious-cache-reliably-capture-your-agent-context
1•hyluo•21m ago•0 comments

Claude Code vs. Codex

3•bicepjai•23m ago•0 comments

F-15E pilot downed over Iran had been shot down a month prior

https://thehighside.substack.com/p/pilot-of-f-15e-downed-over-iran-had
1•iancmceachern•23m ago•0 comments

ABI arguments: struct returns, C++ this, and JNIEnv

https://lospino.so/blog/abi-series/hidden-arguments-are-everywhere/
2•jalospinoso•23m ago•0 comments

A new sensor could enable earlier detection of bladder cancer

https://news.mit.edu/2026/new-sensor-could-enable-earlier-detection-bladder-cancer-0528
1•gmays•24m ago•0 comments

What we learned mapping a year's worth of AI-enabled cyber threats

https://www.anthropic.com/news/AI-enabled-cyber-threats-mitre-attack
1•pretext•25m ago•0 comments

You Don't Need an Outbox

https://docs.eventsourcingdb.io/blog/2026/06/04/you-dont-need-an-outbox/
1•goloroden•25m ago•0 comments

Claude please rack me a datacenter, make no mistakes

https://blog.railway.com/p/datacenter-no-mistakes
2•ndneighbor•26m ago•0 comments

The Lipogram in the Digital Age

https://medium.com/@gui__/from-pindar-to-pixels-the-lipogram-in-the-digital-age-e897c52eb1dd
1•gillesr•26m ago•0 comments

I got tired of Dependabot alerts breaking my tests

https://zorv.openyf.dev
1•youelfedr•30m ago•0 comments