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•10mo 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

Student Developer and GSoC '25 Contributor Seeking Intern/Junior Roles

1•Akshat67•2m ago•0 comments

Eddy Chen on the Laws of Physics (2024) [pdf]

https://www.eddykemingchen.net/uploads/4/6/1/3/46137503/chen_laws_of_physics_sep2023.pdf
1•3willows•3m ago•1 comments

Show HN: I built a macOS cleanup tool that finds 17 types of developer junk

https://deepclean.app
1•jimsojim•3m ago•0 comments

Age of Invention: Why Scotland Succeeded

https://www.ageofinvention.xyz/p/age-of-invention-why-scotland-succeeded
1•RickJWagner•4m ago•0 comments

Trial by Fire Onboarding

https://yusufaytas.com/trial-by-fire/
1•tanepiper•5m ago•0 comments

Show HN: How do you manage multiple AI agents? We built a tmux-based in Rust

https://lukan.ai
1•enzovn•7m ago•0 comments

Ubuntu now has higher system hardware requirements than Windows 11

https://documentation.ubuntu.com/release-notes/26.04/
2•bundie•8m ago•0 comments

DeepFocus-BP: Adaptive backpropagation reducing FLOPs by 66% with accuracy gain

https://zenodo.org/records/19247967
1•sunbagger•10m ago•0 comments

Factoring is not a good benchmark to track Q-day

https://bas.westerbaan.name/notes/2026/04/02/factoring.html
1•strangecasts•11m ago•0 comments

Chip-8 Emulator from Spec

https://log.beshr.com/chip8-emulator-from-spec/
2•beshrkayali•12m ago•0 comments

Google Unveils Restoration of Hangar One in Mountain View

https://www.mv-voice.com/environment/2026/03/20/google-unveils-historic-restoration-of-hangar-one...
2•geox•14m ago•0 comments

An AI website that tells you what to wear at 0 cost somehow

https://what2wear-two.vercel.app
2•COOLmanYT•14m ago•1 comments

Service Monitoring of Your Bike

https://mbike.cc/
3•marqn•15m ago•0 comments

After 17 years, AO3 is exiting open beta

https://www.transformativeworks.org/ao3-is-exiting-open-beta/
2•rajayonin•17m ago•0 comments

Names of Easter

https://en.wikipedia.org/wiki/Names_of_Easter
3•throw0101c•20m ago•0 comments

Ireland Tests Digital ID to Verify Age of Social Media Users

https://www.bloomberg.com/news/articles/2026-04-03/ireland-tests-digital-id-to-verify-age-of-soci...
2•Brajeshwar•21m ago•0 comments

Show HN: X·y=k powers decentralized exchanges – AMM math and interactive viz

https://krishbaidya.me/blog/how-a-single-equation-powers-crypto-exchanges
2•KrishBaidya•24m ago•0 comments

What Hath Tim Berners-Lee Wrought?

https://www.newcartographies.com/p/what-hath-tim-berners-lee-wrought
3•MindGods•26m ago•0 comments

AI Image Upscaler – Enhance Blurry Images Online

https://imgupscaleai.com/
2•feixiangfly•26m ago•0 comments

The War Against Misinformation Is Over. The Lies Won

https://thewalrus.ca/the-war-against-misinformation-is-over-the-lies-won/
3•pseudolus•28m ago•0 comments

Slap: Functional Concatenative Language with a Borrow Checker?

https://taylor.town/slap-000
2•surprisetalk•29m ago•0 comments

Idiomatic Lisp and the Nbody Benchmark

https://www.stylewarning.com/posts/nbody/
4•signa11•32m ago•0 comments

Everyone Wants Ukraine's Drones

https://www.rferl.org/a/ukraine-germany-drone-production/33723276.html
4•akeck•32m ago•1 comments

We chose Positron's Python type checker

https://positron.posit.co/blog/posts/2026-03-31-python-type-checkers/
1•ocamoss•33m ago•0 comments

Notes on going solo: celebrating 6 years of Studio Self

https://www.joanwestenberg.com/notes-on-going-solo-celebrating-6-years-of-studio-self/
1•surprisetalk•33m ago•0 comments

Lower Price for ChatGPT Business

https://help.openai.com/en/articles/8792828-what-is-chatgpt-business
3•alxthm•33m ago•0 comments

Fashion Command-Line Tool

https://melomac.com/posts/introducing-fashion-command-line-tool/
1•melomac•34m ago•1 comments

PatchPal: Affordable tool-free pothole patches [video]

https://www.youtube.com/watch?v=gtVQ_GE7HKo
1•surprisetalk•34m ago•0 comments

10 Questions We Always Ask Founders

https://www.the-founders-corner.com/p/10-questions-we-always-ask-founders
1•mgav•34m ago•0 comments

LLM Drift in Long Sessions: Claude 60% vs. 85% Integrity After 25 Turns

https://calmkeep.ai/codetestreport
1•calmkeepai•35m ago•0 comments