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

PostgreSQL 18.7, 17.12, 16.16, 15.20, 14.25, and 19 RC 2 Released

https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/
1•plaur782•28s ago•0 comments

New Study Rewrites the Rules of the Blood-Brain Barrier

https://www.sciencealert.com/study-rewrites-the-rules-of-the-blood-brain-barrier-including-protei...
1•gmays•1m ago•0 comments

Don't build your own harness: lessons from building Paywalls AI Editor

https://www.revenuecat.com/blog/engineering/lessons-paywalls-ai-editor
1•azvaliev•1m ago•0 comments

Tell HN: I'm working on practical implementations of tag-based file organization

1•prmph•2m ago•0 comments

Writing with AI – Tales and Tips

https://www.juriopitz.com/2026/11/12/ai-assissted-writing-tales-and-tips.html
1•juopitz•4m ago•0 comments

Kazakhstan-linked hackers used AI agent to spy on Central Asian governments

https://therecord.media/kazakhstan-hackers-central-asia
1•waximabbax•5m ago•0 comments

Abandoned Quake 4 expansion finished by modders and now playable

https://www.moddb.com/mods/openq4/downloads/openq4-0141-windows-x64
2•klaussilveira•7m ago•0 comments

Antibody-specific 65M model vs. general 650M model: a tie in the lab

https://www.cradle.bio/blog/fab-test
1•pranxxter•7m ago•0 comments

Simple 8085 Computer

https://www.hackster.io/mit41301/simple-8085-computer-9fe156
2•AlexeyBrin•7m ago•0 comments

Jensen Huang Resigns as Nvidia CEO After Affairs

https://www.nytimes.com/live/2026/11/12/business/nvidia-jensen-huang-resigns
6•speckx•8m ago•0 comments

Wikipedia: Musical scores are temporarily disabled due to a security issue

https://en.wikipedia.org/wiki/Help:Score
1•isolli•8m ago•0 comments

Show HN: Datatomcp – AI agents propose business definitions, a person approves

https://datatomcp.com/
2•Killian1603•8m ago•0 comments

Why I'm calling your contribution "slop"

https://lukeplant.me.uk/blog/posts/why-im-calling-your-contribution-slop/
1•lumpa•9m ago•0 comments

20 Years of Pyrolog

https://pypy.org/posts/2026/11/20-years-of-pyrolog.html
2•lumpa•10m ago•0 comments

Venture Is Dead (Again)

https://colossus.com/article/venture-is-dead-again/
1•rafaelc•10m ago•0 comments

Google Intelligent Eyewear

https://blog.google/innovation-and-ai/technology/xr-ar/google-intelligent-eyewear-collections-pre...
1•acossta•11m ago•0 comments

Elon Musk, Bill Ackman and online bots defend Jensen Huang online

https://www.washingtonpost.com/technology/2026/11/12/elon-musk-bill-ackman-online-bots-defend-jen...
4•reaperducer•12m ago•0 comments

Show HN: MacRun, dedicated Mac Minis you can rent by the day

https://macrun.dev
1•xoail•12m ago•0 comments

Talking Zen 6 with Mike Clark at AMD In-Depth

https://chipsandcheese.com/p/talking-zen-6-with-mike-clark-at
2•dverlaeckt80•13m ago•0 comments

What a week of Claude Code holds: the usage meter, per token type

https://atlas-ade.dev/docs/plan-usage-burn-data/
2•meekoAMH•13m ago•0 comments

CCW treaty needs a lock. No one built it. The builder is being metered out

https://osf.io/75gtn/files/qu9zj
1•jaisupreme•13m ago•0 comments

Nvidia CEO Jensen Huang resigns, Colette Kress named interim chief

https://www.cnbc.com/2026/11/12/nvidia-jensen-huang-ceo-live-updates.html
3•shinryudbz•13m ago•0 comments

Libreagi – Save OSS Models

https://libreagi.com/
1•satuke•13m ago•0 comments

Computing with CSS Layout

https://noscript.ing/compute
2•speckx•14m ago•0 comments

ExecuTorch WebGPU: PyTorch Models on the GPU, in the Browser

https://pytorch.org/blog/executorch-webgpu-pytorch-models-on-the-gpu-in-the-browser/
2•wondersky•16m ago•0 comments

Show HN: Applygate, stop coding agents from running Terraform destroy in prod

https://github.com/Flurit/applygate
1•sumantth•17m ago•0 comments

Zero-Initialisation Shenanigans

https://napcakes.nekoweb.org/posts/zero-init/
1•dverlaeckt80•19m ago•0 comments

Electric Ship Batteries Promise Compact, Cooler Power

https://spectrum.ieee.org/electric-ship-batteries
2•rbanffy•19m ago•0 comments

Jane Street – Our software engineering interviews are changing (a little)

https://blog.janestreet.com/software-engineering-interviews-are-changing-a-little/
2•maitland•20m ago•0 comments

Testing a Trash Can Faraday Cage

https://www.jefftk.com/p/testing-a-trash-can-faraday-cage
1•torutofu•21m ago•1 comments