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•7mo 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: Everything Is Free – An open source, CC0 electronic album

https://github.com/ichbinsoftware/everythingisfree
1•ichbinsoftware•54s ago•0 comments

A Cypherpunk's Manifesto

https://www.activism.net/cypherpunk/manifesto.html
2•avonmach•6m ago•0 comments

Can James Cameron make another blockbuster? Even he's not sure

https://www.cnn.com/2025/12/19/entertainment/video/james-cameron-avatar
1•benkan•8m ago•0 comments

CS Books I'll be reading in 2026

https://sushantdhiman.substack.com/p/cs-books-ill-be-reading-in-2026
1•x-sushant-x•8m ago•0 comments

Italian Competition Authority Fines Apple $115M for Abusing Dominant Position

https://en.agcm.it/en/media/press-releases/2025/12/A561
2•amarcheschi•16m ago•0 comments

Tachyon: High frequency statistical sampling profiler

https://docs.python.org/3.15/library/profiling.sampling.html
1•vismit2000•16m ago•0 comments

The Humanoid Redundancy Principle

1•aniijbod•16m ago•0 comments

Getting Started with Zebra AI – Zebra AI

https://zebra-ai.com/knowledge-base/getting-started-with-zebra-ai/
1•janandonly•21m ago•0 comments

The Mozilla I want focuses on people and not AI

https://andregarzia.com/2025/04/the-mozilla-i-want-focus-on-people-and-not-ai.html
2•Vinnl•21m ago•0 comments

University threatened with legal action after protest at academic's talk (UK)

https://www.bbc.co.uk/news/articles/cwyx3y84ln9o
1•mmarian•23m ago•0 comments

Nuno Loureiro, prof and dir of MITs Plasma Science and Fusion Center, dies at 47

https://news.mit.edu/2025/nuno-loureiro-professor-director-plasma-science-and-fusion-center-dies-...
2•gjvc•24m ago•0 comments

The Eye keeps your data simple clean and secure

https://eyebase.vercel.app/home
1•kira_aziz•24m ago•0 comments

Key Transparency for the Fediverse

https://soatok.blog/2025/12/15/announcing-key-transparency-fediverse/
2•walterbell•26m ago•0 comments

I love Kubernetes, I'm all-in on GitOps – but I hated diffs (until HelmEnvDelta)

https://medium.com/@balazs.csaba.diy/i-love-kubernetes-im-all-in-on-gitops-but-i-hated-env-to-env...
1•csababalazs•30m ago•0 comments

I Spent 3 Months Researching Image-Based Attacks

https://zero-trust-web.vercel.app/
3•Raviteja_•32m ago•1 comments

Japan to support domestic AI development with $6.34B

https://english.kyodonews.net/articles/-/67255
2•giuliomagnifico•35m ago•0 comments

Em Dash in Reddit Comments, Interactive

https://intervolz.com/emdash-observer/
2•jonatron•36m ago•5 comments

Chinese Chipmakers Race to IPOs

https://www.businesstimes.com.sg/international/global/chinese-chipmakers-race-ipo-after-back-back...
1•antman•37m ago•0 comments

Europe gets serious about cutting digital umbilical chord with US big tech

https://www.theregister.com/2025/12/22/europe_gets_serious_about_cutting/
8•jjgreen•37m ago•4 comments

Switchberry – CM4 Managed Switch for PTP, GPS, NTP, and PPS

https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/715
2•RossBencina•38m ago•1 comments

A comprehensive and precise spec (2016)

https://www.commitstrip.com/en/2016/08/25/a-very-comprehensive-and-precise-spec/
1•tannhaeuser•39m ago•0 comments

Germany Shifts to Nuclear Fusion After Fukushima-Era Fission Policy

https://www.forbes.com/sites/kensilverstein/2025/12/08/germany-shifts-to-nuclear-fusion-after-fuk...
3•mpweiher•41m ago•0 comments

Tasker: Multi-Agent Development with Claude Code

https://gonzo.engineer/posts/introducing-tasker/
1•Dowwie•41m ago•0 comments

How Do You Make Money in AI?

https://chiefting.substack.com/p/how-do-you-make-money-in-ai
1•mpraz•42m ago•0 comments

The Christmas Tree that came in from the Cold

https://medium.com/luminasticity/the-christmas-tree-that-came-in-from-the-cold-c89be27ca91
1•bryanrasmussen•43m ago•0 comments

Rocus: Re-ImaginingBookmarks and History

https://rocus.io/
1•thunderbong•50m ago•0 comments

Real World Django Applications

https://github.com/ckrybus/real-world-django
1•cuu508•53m ago•0 comments

A DMCA "Bot War": Google Search Processed 5B Takedown Requests in 2025

https://torrentfreak.com/a-dmca-bot-war-google-search-processed-5-billion-takedown-requests-in-2025/
4•gslin•54m ago•0 comments

A Better Substack Alternative

https://peerlist.io/solomonlijo/project/bublr
1•SolomonLijo•57m ago•0 comments

Show HN: Ailoy – A comprehensive framework for building local AI agents

https://github.com/brekkylab/ailoy
1•jhlee525•57m ago•0 comments