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

TriFlow: Artist-Like 3D Mesh Topology via Nearest-Vertex Vector Fields [video]

https://www.youtube.com/watch?v=Nl57QcuKkeA
1•surprisetalk•45s ago•0 comments

Code Is Clay Now

https://www.albertodenia.com/writing/code-is-clay-now
1•albertodenia•1m ago•0 comments

Feds Suspect Ransom Negotiator Ran ShinyHunters Extortion Site

https://krebsonsecurity.com/2026/10/feds-suspect-ransom-negotiator-ran-shinyhunters-extortion-site/
1•speckx•2m ago•0 comments

Show HN: YouLangTube – YouTube subtitles that fade out as your level improves

https://www.youlangtube.com
1•emersonalmeidax•5m ago•0 comments

What Is RTMP? A Beginner's Guide to the Video Streaming Protocol

https://www.red5.net/blog/what-is-rtmp-streaming-protocol/
1•mondainx•5m ago•0 comments

Ask HN: Why HN dosen't have bot problem?

1•solarpunk_enthu•6m ago•0 comments

Molagri raises $5.8M to build 'updatable' biopesticides

https://agfundernews.com/molagri-raises-5-8m-to-build-updatable-biopesticides
1•gmays•6m ago•0 comments

Musk pledges a share of his SpaceX company to 'every kid in America'

https://abcnews.com/Technology/wireStory/musk-pledges-share-spacex-company-kid-america-137374394
1•bookofjoe•7m ago•0 comments

Ontology-Driven Observability: Building an End-to-End Knowledge Graph at Netflix

https://netflixtechblog.com/ontology-driven-observability-building-an-end-to-end-knowledge-graph-...
2•tosh•10m ago•0 comments

AI Assistance Reduces Persistence and Hurts Independent Performance

https://arxiv.org/abs/2604.04721
2•njrc•10m ago•0 comments

Big Tech Oligarchs Have a Terrible Plan for Humanity

https://www.theatlantic.com/ideas/2026/10/ai-regulation-transhumanism-oligarchs/689013/
5•01-_-•13m ago•0 comments

Uncut: Open-source video editor where Claude Code edits the timeline

https://uncut.video/
3•blazejkustra•14m ago•0 comments

My Year of O.C.D.

https://www.newyorker.com/culture/the-weekend-essay/my-year-of-ocd
4•bookofjoe•14m ago•1 comments

WFP stops provision to half a million people in Gaza over lack of funding

https://www.middleeasteye.net/news/world-food-programme-stops-funding-half-million-people-gaza-ov...
7•paimapi•14m ago•1 comments

Show HN: LexFrame – Break the ceiling of Anthropic's J-lens in reading LLMs

https://pypi.org/project/lexframe/
2•jianguda•15m ago•0 comments

Everything is Nix if you squint hard enough

https://jrdsgl.com/everything-is-nix-if-you-squint-hard-enough/
3•artogahr•17m ago•0 comments

I created a tools for devs and users with AuDHD issues to have friendly UIs

https://github.com/Greyland-Fireworks/audhd-ui-guide/tree/main
2•fashiontechguru•18m ago•3 comments

Subscribe and Save items have a price increase

3•newsoftheday•20m ago•2 comments

Playdate's update interface takes charge

https://unsung.aresluna.org/playdates-update-interface-takes-charge/
4•surprisetalk•20m ago•0 comments

Code Like a Pilot

https://www.bananacurvingmachine.com/articles/code-like-a-pilot
3•treesenthusiast•22m ago•0 comments

Run LLM Locally – which open model fits your GPU or Mac, and how fast

https://www.runllmlocally.com/en
3•schamy•22m ago•2 comments

AI hotel receptionist that books rooms by voice and confirms on multiple channel [video]

https://www.youtube.com/shorts/RhUKlcKoqqE
2•harpreetseehra•23m ago•0 comments

Tenstorrent raises $1.5B Series E at $6.2B valuation

https://tenstorrent.com/en/newsroom/tenstorrent-announces-series-e
4•ismailmaj•23m ago•0 comments

The immortal jellyfish can beat ageing

https://www.bbc.com/future/article/20261016-the-rejuvenating-secrets-of-the-immortal-jellyfish
2•saikatsg•24m ago•0 comments

Show HN: Buddylist – Coding agents in an MSN-style messenger

https://buddylist.dev/
2•safaelmali•26m ago•0 comments

One Manhattan power room took down FAA air traffic control in 1991

https://matthorn.io/posts/2026-10-18-33-thomas-street/
2•spectraldrift•28m ago•0 comments

Agentic Monitoring

https://benjamincongdon.me/blog/2026/10/19/Agentic-Monitoring/
2•bcongdon•28m ago•0 comments

Everything Is a Leaky Abstraction

https://elijahpotter.dev/articles/everything-is-a-leaky-abstraction
2•chilipepperhott•28m ago•0 comments

Copy Cats

https://edthemiddleagedhipster.substack.com/p/i-roll-a-stoney
1•ed_the_hipster•29m ago•0 comments

Is Python the favorite language of LLMs?

https://www.zansara.dev/posts/2026-10-19-is-python-the-favorite-language-of-llms/
3•zansara•29m ago•1 comments