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

High-Quality Chaos

https://daniel.haxx.se/blog/2026/04/22/high-quality-chaos/
1•spiffyk•2m ago•0 comments

Suggest backup pocket computer while traveling

1•pavelevst•3m ago•0 comments

Show HN: Canopy – A2UI implemenation in Go targeted towards macOS/AkkPit

1•artpar•5m ago•0 comments

Local LLM for Private Companies

1•ahendest•9m ago•0 comments

Cutting Costs, Not Corners by moving out of big tech

https://knuthellan.com/cutting-costs-not-corners-how-we-migrated-our-ai-document-pipeline-from-aws
1•khellan•11m ago•0 comments

The semantic layer is for humans, not machines

https://getcassis.com/blog/the-semantic-layer-is-for-humans-not-machines
2•matthieu_bl•11m ago•0 comments

Externalization in LLM Agents: Unified Review of Memory and Harness Engineering

https://arxiv.org/abs/2604.08224
2•MemTensor•12m ago•0 comments

GBC/GBA Emulator in Rust

https://github.com/Sessa93/gbrust/tree/main
1•andre9317•14m ago•1 comments

Show HN: Floors – DJ mix discovery built around a music knowledge graph

https://floors.music/
1•mattbyrom•16m ago•0 comments

I got over my AI skepticism in data engineering

https://getbruin.com/blog/ai-skepticism-in-data-engineering/
3•arsalann•16m ago•0 comments

Share browser recordings on Cloudflare Pages from the command line

1•keepamovin•16m ago•0 comments

Do you want the US to "win" AI?

https://geohot.github.io//blog/jekyll/update/2026/04/23/us-win-ai.html
2•mefengl•19m ago•0 comments

Base Mac Mini Sold Out from Apple Online Store

https://www.macrumors.com/2026/04/22/base-mac-mini-sold-out-from-apple-online-store/
2•7777777phil•20m ago•0 comments

I LOVE YOU

https://en.wikipedia.org/wiki/ILOVEYOU
1•keepamovin•22m ago•0 comments

Cortex Auth – Rust secrets vault for AI agents (exec-based injection)

https://github.com/davideuler/cortex-auth
1•davideuler•22m ago•1 comments

Trust Me, I'm a Shortcut

https://www.wietzebeukema.nl/blog/trust-me-im-a-shortcut
3•wietze•31m ago•0 comments

Bitwuzla: Satisfiability Modulo Theories (SMT) Solver

https://github.com/bitwuzla/bitwuzla
1•tosh•34m ago•0 comments

"Bot or Human?" Is the Wrong Question for the Modern Web

https://blog.cloudflare.com/past-bots-and-humans/
1•emot•35m ago•0 comments

Image Generators Are Generalist Vision Learners

https://arxiv.org/abs/2604.20329
1•mohsen1•36m ago•0 comments

What you can do in a decade

https://twitter.com/swyx/status/2047217611880984935
1•tosh•37m ago•0 comments

AI and Teaching

https://eiexchange.com/content/ai-and-teaching-the-brave-new-world
1•walterbell•39m ago•0 comments

Show HN: We built an OCR server that can process 270 dense images/s on a 5090

https://github.com/aiptimizer/TurboOCR
5•pfdomizer•39m ago•2 comments

Writing a C Compiler, in Zig

https://ar-ms.me/thoughts/c-compiler-1-zig/
2•tosh•39m ago•0 comments

Subscription bombing attacks: patterns, dark web services, and mitigations

https://cacm.acm.org/practice/subscription-bombing-email-under-attack/
1•gannimo•40m ago•0 comments

Show HN: AI Applyd – score, rewrite, auto-apply via cloud browser

https://aiapplyd.com/
1•sneefle•41m ago•0 comments

A new logical model for artificial gravity cores: from pest control to railguns

https://gist.github.com/ryouta19931007
1•hamutarou•44m ago•0 comments

Programming as Theory Building – Peter Naur

https://gist.github.com/onlurking/fc5c81d18cfce9ff81bc968a7f342fb1
1•jonnonz•45m ago•0 comments

FIU Student Arrested After Joking About Netanyahu on WhatsApp

https://www.youtube.com/watch?v=o1Zsb1IijYY
15•enaaem•48m ago•0 comments

Meta layoff wave impacting 8000 jobs

https://www.usatoday.com/videos/news/2026/04/20/meta-layoffs-impacting-8000-employees/89697461007/
2•tcp_handshaker•51m ago•1 comments

Is Starlink a Secret Radar Constellation? [video]

https://www.youtube.com/watch?v=jbp3kdJZ1_A
3•msuniverse2026•58m ago•0 comments