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

BigKeyRing – Physical Key Management

https://bigkeyring.com/
1•Kroopo•2m ago•0 comments

Avatoon – React Three Fiber component for audio-synced 3D avatar lip-sync

https://github.com/khaledalam/avatoon
1•KhaledAlam•4m ago•1 comments

A non-partisan map of how Congress votes and who donates

https://anaximander.us
1•Vavnik•5m ago•0 comments

The Birth of Prolog (1996)

https://dl.acm.org/doi/10.1145/234286.1057820
1•Jtsummers•6m ago•0 comments

The AI Codebase

https://swapnilchauhan.com/blog/the-ai-codebase/
1•swapxstar•7m ago•1 comments

How An Adolescent's Brain Reacts to Faces May Predict Their Social Future

https://www.ucdavis.edu/health/news/how-adolescents-brain-reacts-faces-may-predict-their-social-f...
1•gmays•9m ago•0 comments

PrimeTask – an offline-first workspace with local data and no subscription

https://www.primetask.app
1•vxvaptor•10m ago•0 comments

Using asteroid early orbital data for rapid Mars missions

https://www.sciencedirect.com/science/article/pii/S0094576526002456
1•andsoitis•12m ago•0 comments

The Isomorphic Labs Drug Design Engine unlocks a new frontier beyond AlphaFold

https://www.isomorphiclabs.com/articles/the-isomorphic-labs-drug-design-engine-unlocks-a-new-fron...
2•andsoitis•13m ago•0 comments

The Largest Vocabulary in Hip Hop (2017)

https://pudding.cool/2017/02/vocabulary/index.html
1•cdrnsf•13m ago•0 comments

Show HN: Qwen3.6-35B-A3B on a 16 GB M1 Pro with SSD-streamed MoE

https://github.com/andreaborio/ds4
1•andreaborio•19m ago•0 comments

NASA Taps SpaceX's Starlink to Deliver Artemis III Imagery from Orion

https://www.nasa.gov/blogs/missions/2026/07/16/nasa-taps-spacexs-starlink-to-deliver-artemis-iii-...
4•connicpu•21m ago•0 comments

Maybe dark energy doesn't need to exist after all

https://www.ucdavis.edu/blog/taking-dark-energy-out-equation
2•gumby•22m ago•0 comments

'See the whole world in lichens,' the marvels that grow anywhere

https://www.seattletimes.com/pacific-nw-magazine/see-the-whole-world-in-lichens-the-marvels-that-...
2•cainxinth•23m ago•0 comments

What a Monopoly importer learned when it tried to make things in the USA

https://www.npr.org/2026/07/12/nx-s1-5887378/monopoly-tariffs-china-manufacturing-made-inusa
3•hhs•24m ago•0 comments

Brazilian scientist propose a "shortcut" to Mars in just 7 months

https://en.clickpetroleoegas.com.br/brazilian-scientist-uses-asteroid-data-and-artificial-intelli...
1•evo_9•25m ago•1 comments

Plumbing Homebrew into the Vulnerability Ecosystem

https://nesbitt.io/2026/07/17/plumbing-homebrew-into-the-vulnerability-ecosystem.html
1•chmaynard•25m ago•0 comments

HanToggle – Toggle selected Chinese text between Simplified and Traditional

https://github.com/minorole/HanToggle
1•minorole•25m ago•1 comments

What Early Hackers Understood That We've Forgotten [video]

https://www.youtube.com/watch?v=XHeMsXDyw2A
1•phenrys•25m ago•0 comments

What is a bio-metal? Exploring the metallic mystery of an ancient maw

https://publishing.aip.org/publications/latest-content/what-is-a-bio-metal-exploring-the-metallic...
2•hhs•28m ago•0 comments

What have note-taking PKMs accomplished, really?

https://brennan.day/what-have-note-taking-pkms-accomplished-really/
1•ExMachina73•30m ago•0 comments

LG monitors installing adware on Windows PCs

https://www.techradar.com/televisions/lgs-gaming-monitors-and-tvs-are-facing-a-user-revolt
6•0xC0ncord•30m ago•3 comments

Problematic Social Media Use and ADHD Symptoms in Adolescents

https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2851740?guestAccessKey=9298d7c8-e27e...
1•bookofjoe•32m ago•0 comments

Sensing warm and cool: how the body detects temperature changes

https://news.uq.edu.au/2026-07-sensing-warm-and-cool-how-body-detects-temperature-changes
2•hhs•33m ago•0 comments

The Most Powerful People in A.I

https://observer.com/list/2026-ai-power-index/
2•andsoitis•34m ago•0 comments

Show HN: Poems, an .ISO Puzzle

http://wii.sjmulder.nl/2026/poems/
1•sjmulder•35m ago•0 comments

One year of Kiro: a look back, and a look ahead

https://kiro.dev/blog/one-year/
1•mariuz•37m ago•0 comments

Ableton Live 12, Max for Live and Push on Linux

https://github.com/shibco/ableton-linux
1•ta988•42m ago•0 comments

Building Systems That Build Systems: Setting Up the SDLC in LangGraph

https://mattmccormick.ca/building-systems-that-build-systems-setting-up-the-sdlc-in-langgraph/
1•mattm•44m ago•0 comments

Value Polymorphism in Rust

https://remy.wang/blog/value-polymorphism.html
1•remywang•49m ago•0 comments