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

Congressional Ratification of President Trump's Corporatism

https://ronpaulinstitute.org/congressional-ratification-of-president-trumps-corporatism/
1•metanoia_•59s ago•0 comments

I built a no-signup solar cost and payback calculator

https://sunmetriclab.com/
1•georgejr•1m ago•0 comments

Jovita one AI hub instead of five subscriptions

https://usejovita.com
1•Ayo245•1m ago•0 comments

Fibonacci's Liber Abaci [pdf]

https://www.mifami.org/eLibrary/Fibonacci-LiberAbaci-QuadClass-2pp.pdf
1•jruohonen•3m ago•0 comments

Weather App Could Soon Develop Blind Spots

https://www.bloomberg.com/opinion/articles/2026-07-14/your-weather-app-could-soon-develop-blind-s...
1•littlexsparkee•4m ago•1 comments

Tokenomics: View token usage, costs, and rate-limit metrics

https://github.com/skuznetsov/tokenomics-viewer
1•samaysharma•5m ago•0 comments

Migrate from Datadog to Grafana

https://shiftmetrics.com/
1•gunapologist99•6m ago•1 comments

Long Covid May Affect Motivation and Memory by Injuring Brain's Dopamine System

https://www.discovermagazine.com/long-covid-may-affect-motivation-and-memory-by-injuring-the-brai...
1•amichail•7m ago•1 comments

Korea Financial Telecommunications Files Patent for Won Stablecoin System

https://en.sedaily.com/finance/2026/06/19/korea-financial-telecommunications-files-patent-for-won
1•mushstory•8m ago•0 comments

Harness Engineering for Self-Improvement

https://lilianweng.github.io/posts/2026-07-04-harness/
1•gmays•8m ago•0 comments

Another Entry in the "Stuff Im Glad Im Not Responsible for" Ledger

https://blog.cloudflare.com/dnssec-nta-ede-33/
1•c_f_•9m ago•0 comments

AI makes learning feel too easy

https://blog.danielyj.com/blog/ai-makes-learning-feel-easy
1•bear_with_me•10m ago•0 comments

Generative AI Is an Engineering Disaster

https://www.theatlantic.com/technology/2026/07/generative-ai-engineering-disaster/687901/
2•Jtsummers•11m ago•1 comments

show hn: 1d data to 3D topology, AI deepfakes to protien folding

https://github.com/bitofabluetit/knotreel
1•bitofabluetit•11m ago•1 comments

Cyclist disqualified for using video-recording sunglasses

https://www.bikeradar.com/news/cyclist-disqualified-for-using-video-recording-sunglasses-calls-ou...
1•cainxinth•13m ago•0 comments

I used to believe in Andrew Kelley

https://liamswayne.github.io/andrew.html
1•liamswayne•15m ago•0 comments

Litert.js, Google's High Performance Web AI Inference

https://developers.googleblog.com/litertjs-googles-high-performance-web-ai-inference/
1•impostervt•15m ago•0 comments

Mise – swipe to discover recipes, get a handled grocery list and meal plan

https://www.themiseapp.com
1•brycehenley•16m ago•0 comments

One issue every 62 lines: 21.6M lines of AI-generated code, scanned

https://github.com/qualityclouds/state-of-ai-code-2026-
3•albertfranquesa•16m ago•0 comments

Apple Is Suing OpenAI for Allegedly Stealing Hardware Secrets

https://www.wired.com/story/apple-sues-openai-allegedly-stealing-ip-hardware/
3•1vuio0pswjnm7•17m ago•1 comments

AI agent for Skylight Calendar Chore chart [video]

https://www.youtube.com/watch?v=EHghXf1IIo4
1•timliu9•18m ago•0 comments

Crates.io: Development Update

https://blog.rust-lang.org/2026/07/13/crates-io-development-update/
2•birdculture•20m ago•0 comments

Meta's Pursuit of the *Careless People* Author Is Relentless and Self-Defeating

https://www.wired.com/story/metas-pursuit-of-the-careless-people-author-is-relentless-and-self-de...
1•1vuio0pswjnm7•20m ago•0 comments

Show HN: Automagically synchronize subtitles with video, in-browser clientside

https://smacke.net/ffsubsync/
1•smacke•21m ago•0 comments

Show HN: Pullrun – Run One OCI Image as a Container, Firecracker, or Apple VM

https://github.com/pullrun/pullrun
2•pullrun•22m ago•0 comments

Microsoft Reports Maasive 25 Percent Jump in Emissions

https://www.wired.com/story/microsoft-25-percent-jump-in-carbon-emissions/
3•1vuio0pswjnm7•22m ago•1 comments

Ask HN: Advice for first-year CS students?

4•jassembk•22m ago•2 comments

Show HN: Unlock Claude Sonnet 5's original reasoning

https://thinking-signature-demo-829446634001.asia-east1.run.app/
1•bayes-song•22m ago•0 comments

Show HN: I built a micro-temporal transaction velocity baseline filter

https://github.com/damariushayes/time-series-velocity-baseline
1•Zie_Mordecai•25m ago•1 comments

Show HN: I made my note-taking system self-hosted after HN asked

https://withdocket.com/self-hosted
1•davnicwil•27m ago•0 comments