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

Show HN: Brf.it – Extracting code interfaces for LLM context

https://github.com/indigo-net/Brf.it
1•jeff-lee•1m ago•0 comments

Ask HN: How do you enforce guardrails on Claude agents taking real actions?

1•uchibeke•6m ago•0 comments

Show HN: Bulk Image Generator – Create AI variations and remove bg in batch

https://bulkimagegenerator.app/
2•fairyFayra•7m ago•0 comments

Alt+Shift+Y to Strip Away Distractions

https://github.com/uscne/Yumi-Reader
1•uscneuscne•8m ago•1 comments

500 days of rdigest – a "feeds digest" CLI tool

https://notes.druchan.com/500-days-of-rdigest
1•druchan89•9m ago•0 comments

Formal proof that a categorical phase-skip detector catches what CUSUM/GLR can't

https://www.academia.edu/164981853/Resonant_Symbolic_Operator_Calculus_RSOC_Formal_Convergence_Pr...
1•nicbogaert•10m ago•1 comments

Context Window has its own physics

https://conikeec.substack.com/p/the-context-window-has-a-physics
1•rishabhaiover•10m ago•0 comments

Show HN: Cooperation Cube – a semi-cooperative game with a rotating cube

https://cooperationcube.com
1•diasks2•12m ago•0 comments

Ask HN: How do you get users for free tool suite without annoying self promo?

1•orbydx•12m ago•0 comments

LLMs: Solvers vs. Judges

https://bensantora.com/posts/llms-solvers-vs-judges/
2•truelinux1•13m ago•1 comments

Show HN: iTerm2 tab status for Claude Code sessions – see which tab needs you

https://github.com/JasperSui/claude-code-iterm2-tab-status
1•suiyang03•15m ago•1 comments

Poll: Should Hacker News implement ActivityPub and federate?

https://cosocial.ca/@evan/116186269769918819
1•elfstudent•16m ago•0 comments

Why Not Boost?

https://twitter.com/XCSme/status/2030276189089103930
1•XCSme•18m ago•0 comments

Show HN: Free AI tools comparison engine with 300 side-by-side reviews

https://aitoolvs.com/
1•arenas2026•20m ago•0 comments

How to stop fighting with coherence and start writing context-generic trait imp

https://contextgeneric.dev/blog/rustlab-2025-coherence/
2•todsacerdoti•20m ago•0 comments

I rewatched Silicon Valley. Now it's not a comedy, it's a manual

1•Andronovman•20m ago•2 comments

The One-Person Stack

https://www.ivan.codes/blog/the-one-person-stack
4•andout_•21m ago•0 comments

Anthropic and The Pentagon

https://www.schneier.com/blog/archives/2026/03/anthropic-and-the-pentagon.html
4•aduffy•22m ago•1 comments

Gitzy is now on TestFlight A modern, native iOS Git client

https://testflight.apple.com/join/SB16NCfr
1•marc0janssen•23m ago•1 comments

My dad made the biggest jewelled egg in the world

https://www.theguardian.com/books/2026/mar/07/paul-kutchinsky-egg-obsession-destroy-marriage-fami...
2•n1b0m•24m ago•0 comments

Palantir and Anthropic AI helped the US hit 1k Iran targets in 24 hours

https://www.moneycontrol.com/europe/?url=https://www.moneycontrol.com/world/how-palantir-and-anth...
4•rainhacker•26m ago•1 comments

Show HN: OSle now has a C API and still fits in 510 bytes

https://github.com/shikaan/osle/releases/tag/16800a5
1•shikaan•26m ago•0 comments

'Mainly, you fast fooded': Monzo UK bank under fire over 'shaming' year reviews

https://www.theguardian.com/money/2026/mar/07/monzo-customer-language-year-in-monzo-review
3•lonelyasacloud•27m ago•1 comments

Tell HN: If your idea is worth stealing, AI makes it easy. NDA or not

3•NatalijaAAD•29m ago•1 comments

Show HN: I gave Claude a Stripe account and said make $1M. Day 1

https://dashboard-mocha-delta-98.vercel.app
1•Auto_Claude•29m ago•0 comments

Show HN: Torrent Preview – macOS QuickLook extension for .torrent files

https://github.com/sveinbjornpalsson/TorrentPreview
2•sveinbjornp•30m ago•0 comments

Claude Code deletes developers' production setup, including database

https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-code-deletes-developers...
3•vanburen•31m ago•0 comments

Paperclip – Open-source orchestration for zero-human companies

https://paperclip.ing/
3•microsoftedging•32m ago•0 comments

Show HN: Turn ordinary selfies into high-quality dating photos

https://www.aidatepics.com/
1•mohitvaswani•32m ago•0 comments

Dropcomments for your static site generator blog

https://dropcomments.net/
2•shozzipen•34m ago•0 comments