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•7mo 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

Make Something Heavy

https://www.workingtheorys.com/p/make-something-heavy
1•herbertl•1m ago•0 comments

The Zurich Protocol

https://werd.io/the-zurich-protocol/
1•benwerd•2m ago•0 comments

Show HN: BmuS Backup tool now supports Docker

https://github.com/back-me-up-scotty/bmus
1•bmus•2m ago•0 comments

We can't have nice things because of AI scrapers

https://blog.metabrainz.org/2025/12/11/we-cant-have-nice-things-because-of-ai-scrapers/
1•LorenDB•3m ago•0 comments

Is it a joke?

https://novalis.org/blog/2025-11-06-is-it-a-joke.html
3•luu•5m ago•0 comments

Roadmap for using transcranial ultrasound to learn more about consciousness

https://news.mit.edu/2026/new-tool-could-tell-us-how-consciousness-works-0112
1•jjoe•5m ago•0 comments

An archaeology of tracking on government websites

https://www.flux.utah.edu/paper/singh-pets26
4•luu•5m ago•0 comments

Small Kafka: Tansu and SQLite on a Free T3.micro (AWS Free Tier)

https://blog.tansu.io/articles/broker-aws-free-tier
2•enether•6m ago•0 comments

Ford CEO Jim Farley Says Physical Buttons Still Being Figured Out

https://fordauthority.com/2026/01/ford-ceo-jim-farley-says-physical-buttons-still-being-figured-o...
1•bookofjoe•7m ago•1 comments

JVM Rainbow – Mixing Java Kotlin Scala Clojure and Groovy

https://github.com/Hakky54/java-tutorials/tree/main/jvm-rainbow
1•hakky54•7m ago•1 comments

Firefox DevTools Hides Unreferenced CSS Variables – Stefan Judis Web Development

https://www.stefanjudis.com/notes/firefox-devtools-unreferenced-css-variables/
3•janandonly•9m ago•0 comments

Categorical Foundations for Cute Layouts

https://arxiv.org/abs/2601.05972
1•zvr•9m ago•1 comments

Hegseth Wants to Integrate Grok into Pentagon Networks

https://arstechnica.com/ai/2026/01/hegseth-wants-to-integrate-musks-grok-ai-into-military-network...
2•zelon88•9m ago•0 comments

Giving coding agents situational awareness (from shell prompts to agent prompts)

https://dave.engineer/blog/2026/01/agent-situations/
1•dave1010uk•10m ago•1 comments

Running Lean at Scale

https://harmonic.fun/news#blog-post-lean
5•eab-•10m ago•0 comments

Atheist's Wager

https://en.wikipedia.org/wiki/Atheist%27s_wager
1•olalonde•11m ago•0 comments

Could police crackdowns help criminal networks?

https://phys.org/news/2025-12-police-crackdowns-criminal-networks.html
1•PaulHoule•12m ago•0 comments

A brilliant warning about the gamification of everyday life

https://www.theguardian.com/books/2026/jan/06/the-score-by-c-thi-nguyen-review-a-brilliant-warnin...
1•herbertl•12m ago•0 comments

2026 Internet Blackout in Iran

https://en.wikipedia.org/wiki/2026_Internet_blackout_in_Iran
2•pykello•13m ago•0 comments

Epic accuses Health Gorilla of improperly accessing medical records

https://www.channel3000.com/news/epic-accuses-silicon-valley-based-network-of-allowing-improper-a...
1•primitivesuave•13m ago•0 comments

Meta Unveils Nuclear-Power Plan to Fuel Its AI Ambitions

https://www.wsj.com/tech/ai/meta-unveils-sweeping-nuclear-power-plan-to-fuel-its-ai-ambitions-65c...
1•gmays•14m ago•0 comments

We built the "Excel of Finance Apps," but the growth isn't there. Next move?

1•caoxhua•14m ago•3 comments

We Synchronize .NET's Virtual Monorepo

https://devblogs.microsoft.com/dotnet/how-we-synchronize-dotnets-virtual-monorepo/
1•jayd16•15m ago•0 comments

Navigating the volatile silicon market: updates on memory and storage pricing

https://frame.work/de/en/blog/updates-on-memory-pricing-and-navigating-the-volatile-memory-market
1•layer8•16m ago•0 comments

Premeditatio Malorum and Anxiety

https://jondeaton.github.io/post/premeditatio_malorum/
2•semiinfinitely•17m ago•0 comments

How does Golang know time.Now?

https://tpaschalis.me/golang-time-now/
1•fanf2•19m ago•0 comments

Bevy 0.18

https://bevy.org/news/bevy-0-18/
3•_han•19m ago•0 comments

StudentRisk AI – Predicting student dropout and wellbeing using AI and analytics

https://studentrisk.admnwizard.com/dashboard
1•sureshwin•21m ago•1 comments

Show HN: DeepFace now supports DB-backed vector search for face recognition

https://sefiks.com/2026/01/01/introducing-brand-new-face-recognition-in-deepface/
1•serengil•23m ago•0 comments

Give the Internet an Infinite Word Search and the Internet Will Draw Dicks on It

https://gizmodo.com/give-the-internet-an-infinite-word-search-and-the-internet-will-draw-a-dick-o...
1•yathern•25m ago•0 comments