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

Causal: From Idea to Acquisition

https://taimur.me/blog-posts/causal-from-idea-to-acquisition
1•bombastic311•33s ago•0 comments

Show HN: High-Performance Reverse SOCKS5, UDP and MTProto Proxy Cluster in Go

https://github.com/zenkdom/reverse-socks-go
1•zenkdom•2m ago•0 comments

Transformer Digit Reversal

https://singhcoder.github.io/ai-engineering/digit-reversal/
1•vismit2000•4m ago•0 comments

Catching crumbs from the table (2000) [pdf]

https://mark-kramer.github.io/JHU-553-696/Readings/Chiang_2000.pdf
1•sgwooduk•6m ago•0 comments

A crowdsourced swarm working on P versus NP

https://proofswarm.dakota-lock.chatgpt.site/notebook?note=n-8528bdf62194b361107aa356c691acfb
2•LateLordFrey•14m ago•1 comments

Show HN: Rindraw – drawing and animation app for iPad, iPhone and Mac

https://rindraw.com/
1•sawirricardo•16m ago•0 comments

2200 year old Celtic coin stash discovered at Hungarian construction site

https://www.livescience.com/archaeology/2-200-year-old-celtic-silver-coin-hoard-unearthed-at-cons...
1•MassPikeMike•17m ago•0 comments

The short age of dragon riders

https://atilloy.com/2026/11/16/the-short-age-of-dragon-riders/
1•synapsomorphy•19m ago•0 comments

Facebook Video Downloader

https://socialsaver.net/facebook-downloader
1•M_Saqlain•19m ago•0 comments

ChittiOS – an OS where the agent is the driver

https://chittios.com/
1•thomas536•19m ago•1 comments

The End of Insight

https://johnhorgan.org/cross-check/the-end-of-insight
2•akbarnama•24m ago•0 comments

VDraw – With Preloaded Templates, opinionated defaults and privacy baked in

https://vdraw.netlify.app
1•rammy1234•26m ago•0 comments

Blaming the Neighbours: What Europe Called Syphilis

https://odon.at/en/data-stories/what-europe-called-syphilis/
1•stared•27m ago•0 comments

Show HN: Kavach AI – Sub-16ms AST security gate with 0% false positives

https://github.com/rajrajak99/kavach-ai
1•rajarajak99•28m ago•0 comments

GLM-5.4 is now available to all GLM Coding Plan users

https://twitter.com/ZixuanLi_/status/2124719275864670681
6•markasoftware•30m ago•1 comments

Realtime, non-newline-delimited Regex filter pipelines in Bash

https://www.autodidacts.io/realtime-streaming-regex-filters-in-bash-pipeline-solve-sed-buffering-...
1•Curiositry•41m ago•0 comments

How We Got from There to Here: A Story of Real Analysis

https://milneopentextbooks.org/contextual-introduction-to-real-analysis/
1•akshatjiwan•41m ago•0 comments

Blocked for AI Reply

https://blockedforaireply.levels.io
1•nreece•46m ago•0 comments

San Francisco is enjoying an AI boom, but worries about a crash are growing

https://www.bbc.com/news/articles/cqe9k09j9jv4o
3•saikatsg•46m ago•0 comments

Show HN: I built a marketing kit with 500 skills and 56 plugins

https://cmokit.co/
2•mohitvaswani•49m ago•0 comments

Show HN: Statnest

https://statsnest.app/
1•ranwhatcom•49m ago•0 comments

Ask HN: Just heard two rounds of large caliber rifle fire

1•Choad_20261104•50m ago•0 comments

Yes, 17M lines of Lean is a lot

https://micjm.com/blog/yes-17m-lines-of-lean-is-a-lot/
2•seizethecheese•51m ago•0 comments

Researchers send an unblockable message using gravity

https://news.uq.edu.au/2026-11-uq-researchers-send-unblockable-message-using-gravity
3•geox•55m ago•0 comments

Esperanto

https://lernu.net/esperanto
2•minimal3•56m ago•0 comments

A honeypot that prints receipts

https://honeyprinter.com/
2•robbieo•59m ago•0 comments

A Partial Evaluator for C

https://phoenix.labri.fr/software/tempo/
7•measurablefunc•1h ago•0 comments

Mass destruction of weapons

https://computer.rip/2026-11-22-mass-destruction-of-weapons.html
8•firloop•1h ago•3 comments

A Healthy Society Falls Apart

https://www.honest-broker.com/p/how-a-healthy-society-falls-apart
3•paulpauper•1h ago•1 comments

Two missing pieces in the AI safety discussion

https://www.noahpinion.blog/p/two-missing-pieces-in-the-ai-safety
1•paulpauper•1h ago•0 comments