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

Homeric Question

https://en.wikipedia.org/wiki/Homeric_Question
1•thunderbong•1m ago•0 comments

Eye Tracking on Your Cellphone

https://gazecapture.csail.mit.edu/
1•soupspaces•2m ago•0 comments

Expect More Data Center Moratoriums – and Slower Growth

https://www.bloomberg.com/opinion/articles/2026-07-20/new-york-data-center-moratorium-friction-sl...
1•petethomas•3m ago•0 comments

Industrial DevOps

https://itrevolution.com/product/industrial-devops-book/
1•firesteelrain•5m ago•0 comments

Absurdity and hypocrisy in war, Celine [pdf]

https://neoalchemist.wordpress.com/wp-content/uploads/2012/06/louis-ferdinand-celine-journey-to-t...
1•DaveZale•13m ago•0 comments

Anthropic's Landmark $1.5B Copyright Settlement Is Approved

https://techcrunch.com/2026/07/20/anthropics-landmark-1-5b-copyright-settlement-is-approved/
2•golly_ned•22m ago•2 comments

The Rise (and Fall?) Of Palantir [video]

https://www.youtube.com/watch?v=SfGUzSYEqY0
2•figmert•26m ago•0 comments

Official Package Registry of Veryl

https://veryl-lang.org/blog/official-package-registry/
2•dalance•27m ago•2 comments

Cairn|personal finance your own AI can read over MCP, read-only by construction

https://cairn.nnnsightnnn.com/dashboard
2•kautryii•29m ago•0 comments

Sharon Stone on Quitting Weed

https://variety.com/2026/film/columns/sharon-stone-quitting-weed-stopping-stroke-medication-like-...
3•andsoitis•31m ago•1 comments

Show HN: How to Get a Fable CoT for the Jacobian Conjecture Refutation

3•SonOfLilit•34m ago•0 comments

Show HN: I made email signatures less boring

https://esigna.app
4•rodgetech•38m ago•4 comments

Emily Wilson on Translations and Language (Ep. 63)

https://conversationswithtyler.com/episodes/emily-wilson/
2•paulpauper•42m ago•1 comments

How To Choose A Subproblem

https://millicosm.substack.com/p/how-to-choose-a-subproblem
4•paulpauper•42m ago•0 comments

On Being a Conservative

https://casssunstein.substack.com/p/on-being-a-conservative
2•paulpauper•42m ago•0 comments

OneCLI Is Live on the 1Password Marketplace

https://onecli.sh/blog/onecli-1password-marketplace
3•Jonathanfishner•43m ago•0 comments

Turning robot video into training-ready data

https://www.eventual.ai/blog/announcing-daft-physical-ai
1•DISCURSIVE•49m ago•0 comments

Show HN: AI Secretary – Stop checking your phone "just in case"

https://github.com/mathigatti/telegram-ai-secretary
1•mathigatti•54m ago•0 comments

Show HN: Yaml2json.com, YAML/JSON converter that runs in the browser

https://yaml2json.com
1•zacattack8•54m ago•1 comments

Generative Bionics launches Gene.01 ahead of shipyard welding trials

https://runtimewire.com/article/generative-bionics-gene01-tactile-humanoid-shipyard-trials
1•ryanmerket•54m ago•0 comments

FDE Interview Questions

https://superml.org/tutorials/fde-interview-questions
2•bps1418•56m ago•0 comments

With the Help of Codex: A Reproducible Proof Against the Jacobian Conjecture

https://blog.clidey.com/a-reproducible-proof-against-the-jacobian-conjecture/
2•hemangkandwal•57m ago•0 comments

Show HN: Agent Search Engine – an independent index of 247 AI agents

https://agentsearchengine.app
1•ASE-APP•58m ago•0 comments

Flathub's AI slop ban looks like it was the right call

https://www.omgubuntu.co.uk/2026/07/flathub-ai-slop-ban-data
6•csmantle•1h ago•0 comments

Huawei Just Built an Impossible Chip [video]

https://www.youtube.com/watch?v=8ekndZwyOzo
3•binyu•1h ago•1 comments

Show HN: Ekko – post-quantum E2EE layer for Instagram, WhatsApp, Telegram Web

https://useekko.app/
3•kvasilev•1h ago•0 comments

A Meta-Epistemological Reason for Rejecting AI-Written Philosophy

https://dailynous.com/2026/07/16/a-meta-epistemological-reason-for-rejecting-ai-written-philosophy/
1•zetamax•1h ago•0 comments

Flock Credibility Lost as It Repeatedly Lies to City Councils, Police, & Public

https://www.aclu.org/news/privacy-technology/tracking-alpr-cameras/flock-safety-credibility-lost-...
25•StatsAreFun•1h ago•0 comments

The surprising benefits of red light

https://www.economist.com/science-and-technology/2026/07/20/the-surprising-benefits-of-red-light
1•andsoitis•1h ago•0 comments

Quickly rewrite Git repository history

https://github.com/newren/git-filter-repo
2•modinfo•1h ago•0 comments