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

Otis – a minimal AI agent that runs local models out of the box

https://triangllabs.ai/otis
1•petrenk0n•2m ago•1 comments

Researchers have created a mouse with a partly human brain

https://www.economist.com/science-and-technology/2026/09/16/researchers-have-created-a-mouse-with...
1•sbulaev•2m ago•0 comments

Duotone icon library with 1k icons and 250 flags for React with RTL support

https://github.com/andrsrxn/icons
1•andrsrxn•4m ago•0 comments

Show HN: Nullsec – server-blind encrypted paste

https://nullsec.pntr.dev
1•NevskyNull•6m ago•0 comments

Future of computing is here – OmaVision on Omarchy [video]

https://www.youtube.com/watch?v=shNPZSCICJE
1•shellkr•7m ago•1 comments

Paramount 'Leaks' Study Saying California Will Suffer If Its Merger Is Blocked

https://www.techdirt.com/2026/09/16/paramount-funds-leaks-dodgy-study-saying-california-will-suff...
3•hn_acker•8m ago•1 comments

Mockfreeli – paste a YouTube link, get 5 license-free songs that sound like it

https://mockfreeli.org/
1•ianhil•15m ago•0 comments

The US Gov Graph – a complete map of the federal government

https://graph.civlab.org/us
1•m_adams•16m ago•1 comments

What If You Could Do It All Over?

https://www.newyorker.com/magazine/2020/12/21/what-if-you-could-do-it-all-over
1•samclemens•27m ago•1 comments

Permission to Live (In Japan)

https://buttondown.com/whatever_jamie/archive/finally-permission-to-live-in-japan/
1•LinguaBrowse•29m ago•1 comments

SpaceX's next Starship launch is Sept. 22, aims to reach orbit for first time

https://www.space.com/space-exploration/launches-spacecraft/spacexs-next-starship-launch-will-lif...
1•gmays•29m ago•0 comments

The End of Verygoodsoftwarenotvirus.ru

https://blog.verygoodsoftwarenotvirus.dev/posts/2026/09/12/the-end-of-verygoodsoftwarenotvirus-do...
2•birdculture•32m ago•0 comments

Asking Authors About Their Own Papers

https://medium.com/@TmlrOrg/asking-authors-about-their-own-papers-3d2e04e5dee0
1•stefanpie•38m ago•0 comments

Next-gen gravitational wave detectors could spot the first black holes

https://phys.org/news/2026-09-gen-gravitational-detectors-black-holes.html
3•MarcoDewey•42m ago•0 comments

US interest rates raised for first time in three years

https://www.bbc.com/news/articles/cw4gmlyvj422o
2•higginsniggins•44m ago•0 comments

My website charged AI agents a penny per page. I watched Claude pay it

https://suganthan.com/blog/x402-pay-per-crawl/
3•gmays•47m ago•1 comments

Show HN: Helping agents break out of their sandboxes in a monitorable way

https://sparrowsystems.co/
1•why_only_15•47m ago•0 comments

Encouraging Deception in Compaction Summaries

https://alignment.openai.com/misalignment-reports/encouraging-deception-in-compaction-summaries/
1•aesthesia•48m ago•0 comments

vLLM: Jev-like mode for the DiffusionGemma model

https://github.com/vllm-project/vllm/pull/57250
1•mmastrac•49m ago•0 comments

DeepSeek's Parent Company

https://www.high-flyer.cn/sociology/
1•E-Reverance•49m ago•0 comments

The Flask Mega-Tutorial, Part I: Hello, World

https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
3•timmytoughtknuc•53m ago•0 comments

Typesafe.ai Jev Open Source Alternative Qwen-2.5-1B-RLCD

https://huggingface.co/spaces/drinkmoonshine/parallel-constrained-decoding
1•nthypes•53m ago•0 comments

AI Debt vs. Treasuries

https://www.ft.com/content/033b21e7-b5d5-4511-ae01-53edaa4e051e
1•toomuchtodo•54m ago•1 comments

"WeWorm": Zero-click worm could have taken over all WeChat accounts

https://www.heise.de/en/news/WeWorm-Zero-click-worm-could-have-taken-over-all-WeChat-accounts-114...
1•Topfi•55m ago•0 comments

Dwarf Star Support for Qwen3.8 Flash Next

https://github.com/antirez/ds4/pull/991
1•macote•55m ago•0 comments

YuE2 – Frontier music generation with editable scores

https://github.com/multimodal-art-projection/YuE
2•modinfo•55m ago•0 comments

Pactora – AI contract review built by a lawyer, not engineers

https://www.pactora.uk/
1•reasonfreefromp•59m ago•0 comments

Automattic says CEO Mullenweg was gone and back inside 33 hours. What happened?

https://thenewstack.io/automattic-mullenweg-boardroom-reversal/
1•_djo_•59m ago•0 comments

OpenSpec – A lightweight and configurable AI spec framework

https://openspec.dev/
29•etoxin•1h ago•7 comments

Calculator for Australian take-home pay, tax and super

https://auspaycalculator.org/
1•seoskillsai•1h ago•0 comments