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

"material deletion occurred" Sol wiped out user's home

https://twitter.com/mattshumer_/status/2075657271401390161
1•zxspectrumk48•9m ago•0 comments

Show HN: Token Time – Screen Time, but for your AI agent tokens

https://tokentime.bar
1•wzulfikar•11m ago•0 comments

Neobrowser AI has rediculously strong VPN builtin for FREE

https://neobrowser.ai/
1•burgeekingdom•11m ago•0 comments

Show HN: OpenThomas – weather trader agent for prediction markets

https://github.com/PredictionMarketTrader/openthomas
1•thomaslwang•11m ago•0 comments

Package Management as Org Chart

https://nesbitt.io/2026/07/10/package-management-as-org-chart.html
1•birdculture•13m ago•0 comments

Combinatorial Games in Lean

https://github.com/vihdzp/combinatorial-games
1•wertyk•13m ago•0 comments

Modern Implementation of Notational Velocity

https://nvnv.yoga/
1•sirodoht•14m ago•0 comments

New flapping robot swims and flies like a diving bird

https://news.mit.edu/2026/new-flapping-robot-swims-and-flies-like-diving-bird-0709
2•rodrodrod•14m ago•0 comments

What If It's Not the Phones?

https://www.theatlantic.com/technology/2026/07/phones-haidt-play-gray/687846/
2•voisin•25m ago•0 comments

RISCBoy is an open-source portable games console, designed from scratch

https://github.com/Wren6991/RISCBoy
2•mariuz•27m ago•0 comments

Rhode Island is regulating grocery checkout lines now

https://reason.com/2026/07/09/rhode-island-is-regulating-grocery-checkout-lines-now/
2•gmays•29m ago•1 comments

Never Built: Lockheed CL-1201

https://foundandexplained.com/2021/05/01/never-built-cl-1201/
1•yubblegum•29m ago•0 comments

Rubber ducking is a mirror that says nothing

https://pilgrima.ge/p/the-mirror-that-says-nothing
1•momentmaker•31m ago•0 comments

AI found a secret computer bug hidden for 15 years.

https://www.untempled.com/guilhermen/art/ai-found-a-secret-computer-bug-hidden-for-15-years-plus-...
1•glmnes•31m ago•0 comments

Gates Heir's Shopping App Claimed Sales It Didn't Drive

https://www.bloomberg.com/news/articles/2026-07-09/gates-heir-s-shopping-app-took-credit-for-sale...
2•imichael•37m ago•0 comments

Why 'com_maxfps 250x' uncaps Quake Live's frame rate

https://marco-nett.de/blog/why-com_maxfps-250x-uncaps-quake-lives-frame-rate/
2•hoechst•38m ago•0 comments

Two LLMs play live chess and rewrite their own brains after each game

https://aitradingcompetition.com/chess.html
1•chumzygood•40m ago•0 comments

Evilcharts

https://evilcharts.com/docs/sankey-chart/static
2•handfuloflight•40m ago•0 comments

Dez minutinhos set envolvente [video]

https://www.youtube.com/watch?v=mBFDmV0W_i4
1•gdss•43m ago•0 comments

Why we stopped using an automated SRE agent

https://blog.neatcontext.com/operations/2026/07/12/why-we-stopped-using-an-automated-sre-agent/
1•tanglearncode•44m ago•2 comments

Remembering Disney Legend Don Iwerks

https://thewaltdisneycompany.com/news/remembering-disney-legend-don-iwerks/
2•toomuchtodo•45m ago•1 comments

Cleanplanet

https://www.cleanplanet.co.jp/technology/
1•theendisney•48m ago•0 comments

Postgres Makes Transactions Atomic

https://brandur.org/postgres-atomicity
1•gurjeet•54m ago•0 comments

Bootstrapping a Post-Quantum Shadow Ledger via Op_return [pdf]

https://github.com/Blackcoin-Dev/Blackcoin/blob/main/doc/whitepaper-quantum-quasar.pdf
1•QQ_Blackcoin•54m ago•0 comments

530A Trump Accounts Guide

https://www.chase.com/personal/investments/learning-and-insights/article/trump-accounts-for-kids-...
2•firasd•55m ago•0 comments

Secret Claude tracker surprises users after Anthropic's anti-surveillance stance

https://www.theregister.com/ai-and-ml/2026/07/01/anthropic-is-removing-its-covert-code-for-catchi...
2•gnabgib•57m ago•0 comments

Screen Time extensions are Intermittent Reinforcement

https://agentzlerich.blogspot.com/2026/07/do-not-use-screen-time-extensions.html
1•RhysU•58m ago•0 comments

Agentic Memory Transparency

https://medium.com/@vektormemory/memory-transparency-why-vektor-slipstream-now-shows-you-exactly-...
1•vektormemory•1h ago•1 comments

Waymo called the cops on teen riders, raising privacy concerns

https://www.npr.org/2026/07/10/nx-s1-5886113/waymo-police-privacy-driverless-autonomous-vehicles
1•sxp•1h ago•2 comments

The Art of Asking Questions

https://asteriskmag.com/issues/04/the-art-of-asking-questions
1•andsoitis•1h ago•0 comments