frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•11mo 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

List of people imprisoned for editing Wikipedia

https://en.wikipedia.org/wiki/List_of_people_imprisoned_for_editing_Wikipedia
1•lr0•52s ago•0 comments

Phantom Camerawork: Star Wars: Episode I – The Phantom Menace (1999)

https://theasc.com/magazine/sept99/phantom/index.htm
1•exvi•1m ago•0 comments

SpaceX Files FCC Complaint over Ariane 64 Amazon Leo Launch

https://europeanspaceflight.com/spacex-files-fcc-complaint-over-ariane-64-amazon-leo-launch/
1•tcp_handshaker•3m ago•0 comments

The AI stack trap: the hidden cost of overbuilding with AI

https://www.forbes.com/sites/abdoriani/2026/01/24/the-ai-stack-trap-the-hidden-cost-of-overbuildi...
1•DrZootron•4m ago•0 comments

Welcome to the Machine: The Matrix (1999)

https://theasc.com/magazine/apr99/matrix/index.htm
1•exvi•4m ago•0 comments

4-bit floating point FP4

https://www.johndcook.com/blog/2026/04/17/fp4/
1•chmaynard•7m ago•0 comments

Comparing GPT-5.4, Opus 4.6, GLM-5.1, Kimi K2.5, MiMo V2 Pro and MiniMax M2.7

https://www.codejam.info/2026/04/comparing-gpt-5-4-opus-4-6-glm-5-1-kimi-k2-5-mimo-v2-pro-and-min...
1•funkyval•10m ago•0 comments

Two $20B: OpenAI and Nvidia in a 'Reasoning Battle'

https://jianshiapp.com/two-20-billion-openai-and-nvidia-in-a-reasoning-battle/
1•ninjahawk1•12m ago•0 comments

Graphs That Explain the State of AI in 2026

https://spectrum.ieee.org/state-of-ai-index-2026
1•bryanrasmussen•15m ago•0 comments

Poetical: AI Poetry Feed

https://apps.apple.com/ro/app/poetical-ai-poetry-feed/id6761653704
1•mening12001•15m ago•0 comments

Unobtrusive inference of diurnal rhythms from smartphone data

https://www.nature.com/articles/s41746-025-02254-1
1•bryanrasmussen•16m ago•0 comments

Show HN: WebGL Liminal Space

https://liminal-dwsw5.ondigitalocean.app/
1•5fc3b4•17m ago•0 comments

Rail: A self-hosting language that speaks TLS alone

https://github.com/zemo-g/rail
1•zem0g•18m ago•0 comments

SDF Based Chess Rendering

https://github.com/Janos95/onion
1•janos95•24m ago•1 comments

Does Your Poop Float?

https://buildojas.substack.com/p/does-your-poop-float
2•rohan_shah•25m ago•1 comments

The quest to measure our relationship with nature

https://www.technologyreview.com/2026/04/16/1135245/measure-relationship-with-nature-index/
1•joozio•25m ago•0 comments

An Agentic Home Bioreactor

https://chillphysicsenjoyer.substack.com/p/an-agentic-home-bioreactor
1•crescit_eundo•26m ago•0 comments

URLmind – Turn any business URL into structured context for AI agents

https://urlmind.com
1•urlmind•28m ago•0 comments

Crystal 1.20.0 Is Released

https://crystal-lang.org/2026/04/16/1.20.0-released/
1•ksec•31m ago•0 comments

Open-source isolated runtime for AI agents

https://github.com/CelestoAI/SmolVM
2•theaniketmaurya•32m ago•3 comments

A Simple Guide to Porting Your Basic

https://permacomputer.solarpunk.au/?p=181
1•akkartik•34m ago•0 comments

Blade Runner Cinematography (1999)

https://theasc.com/magazine/mar99/blade/
3•exvi•36m ago•0 comments

Godzilla Cinematography (1998)

https://theasc.com/magazine/jun98/godzilla/
1•exvi•36m ago•0 comments

PgQue: Zero-Bloat Postgres Queue

https://github.com/NikolayS/pgque
1•gmcabrita•37m ago•0 comments

867-5309: Famous '80s song phone number now directs to cancer support line

https://thehill.com/blogs/in-the-know/5787896-867-5309-cancer-hotline/
2•rolph•40m ago•0 comments

Tangled Newsletter 01 – Hello

https://blog.tangled.org/newsletter-01/
1•birdculture•41m ago•0 comments

White House probes wave of missing or dead American scientists

https://www.foxnews.com/video/6393235356112
14•genphy1976•42m ago•0 comments

EsoNatLangs: Esolangs that embrace the complexities of natural language

https://esoteric.codes/blog/five-esonatlangs
3•xpointer•44m ago•0 comments

How to Build an Agent Or: The Emperor Has No Clothes (2025)

https://ampcode.com/notes/how-to-build-an-agent
1•tehnub•47m ago•0 comments

Sidephone: A minimalist Android phone with swappable USB keypads

https://www.sidephone.com/
1•phantomathkg•47m ago•0 comments