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

Cursor Origin

https://twitter.com/cursor_ai/status/2089399057659596847
1•flurly•34s ago•0 comments

Mecca and the Mall

https://aeon.co/essays/my-pilgrimage-to-mecca-in-the-age-of-the-golf-cart-and-mall
1•herbertl•45s ago•0 comments

Did a climber leave his girlfriend to die at the top of a mountain?

https://www.newyorker.com/magazine/2026/07/06/did-a-climber-leave-his-girlfriend-to-die-at-the-to...
1•flycatcha•3m ago•0 comments

Developing Doom and Quake on NeXTSTEP (Dec 2006)

https://rome.ro/news/2016/2/14/apple-next-merger-birthday
1•y1n0•3m ago•0 comments

GitHub Online Services SLA

https://github.com/customer-terms/github-online-services-sla
1•er0k•6m ago•0 comments

AI;DR (AI; Didn't Read)

https://www.rickmanelius.com/p/aidr-ai-didnt-read
2•mooreds•8m ago•0 comments

What.CD

https://en.wikipedia.org/wiki/What.CD
1•cainxinth•8m ago•0 comments

XMPP Instead of Mail for Forgejo

https://xn--gckvb8fzb.com/teaching-an-old-dog-new-tricks-forgejo-xmpp/
1•slayernominee•9m ago•0 comments

If A.I. Takes the Jobs of Young People, How Will They React?

https://www.newyorker.com/news/fault-lines/if-ai-takes-the-jobs-of-young-people-how-will-they-react
3•TimTheTinker•11m ago•0 comments

Detecting goroutine leaks with synctest/pprof

https://antonz.org/detecting-goroutine-leaks/
1•jamesog•11m ago•0 comments

Canadian Columnist Boosting Data Centres Has Ties to AI Industry

https://www.desmog.com/2026/08/17/canadian-columnist-boosting-data-centres-has-ties-to-ai-industry/
1•Teever•12m ago•0 comments

Hacker claims 3.6M Azure account records stolen from major companies

https://www.bleepingcomputer.com/news/security/hacker-claims-36-million-azure-account-records-sto...
2•DemiGuru•13m ago•0 comments

Three Minutes of Sprinting Beats 90 Minutes of Moderate Exercise

https://www.cell.com/cell-reports-medicine/fulltext/S2666-3791(26)00405-2?_returnURL=https%3A%2F%...
2•bcaulfield•13m ago•0 comments

Magic Grants Monero FCMP++ Crypto Security Assessment [pdf]

https://github.com/trailofbits/publications/blob/master/reviews/2026-07-magicgrants-monerofcmp++c...
1•Cider9986•13m ago•0 comments

Show HN: Yet Another OpenCode Plugin

https://github.com/smokeeaasd/yet-another-opencode-plugin
2•smokeeaasd•15m ago•0 comments

Japan Aims for the Moons of Mars

https://www.yahoo.com/news/science/articles/japan-aims-moons-mars-021058808.html
1•Stratoscope•16m ago•0 comments

Dyna explains how they trained Dyna-2 on over 1M hours of ego video

https://www.dyna.co/research/dyna-2-infrastructure
1•ceith•17m ago•0 comments

A tabbed desktop workspace for Claude Code

https://github.com/inkshell/inkshell/
1•rodorgas•19m ago•0 comments

Wiki for Pet Projects with Clojure and Polylith

https://snyssfx.com/blog/wiki_for_pet_projects.html
2•snyssfx•21m ago•0 comments

Are Microsoft's AI plans being held back by a shortage of chips?

https://www.theguardian.com/technology/2026/aug/17/are-microsofts-ai-plans-being-held-back-by-a-s...
3•billybuckwheat•21m ago•0 comments

The Real Animals of the World

https://decodingvibes.com/blog/the-real-animals-of-the-world/
1•altmanaltman•22m ago•0 comments

AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Design

https://arxiv.org/abs/2608.13560
1•matt_d•22m ago•0 comments

Trump sends the US Navy back to the steam age

https://www.theregister.com/offbeat/2026/08/14/trump-sends-the-us-navy-back-to-the-steam-age/5287936
6•joebuckwilliams•22m ago•1 comments

Stract Search Engine: Deactivated in Early June

https://rbfirehose.com/2026/08/17/stract-search-engine-deactivated-in-early-june/
1•rdmuser•24m ago•0 comments

The People Building a Way to Slow Down the AI Race

https://time.com/article/2026/08/16/ai-race-slowdown-data-center-verification/
1•reasonableklout•24m ago•0 comments

How I Under-Engineered My Book

https://chriskiehl.com/article/how-i-under-engineered-my-book
2•goostavos•24m ago•0 comments

DeepSeek V4 J-Space Capability Realization-Report

https://github.com/Tiger3807861189/DeepSeek-V4-J-Space-Capability-Realization-Report
1•Herrera•25m ago•0 comments

Eigendrum: A Study of the Vibrating Plane

https://eigendrum.com/
1•mooreds•25m ago•0 comments

Version Control for Everything

https://tyoverby.com/posts/version-control-for-everything-else/
1•evakhoury•26m ago•0 comments

The World Builds with Bazel

https://webazel.dev/
1•sluongng•28m ago•0 comments