frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

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

Before and After October 7, 2023

https://medium.com/freedomofthought/before-and-after-october-7-2023-a2e604ff5b37
1•raynchad•1m ago•0 comments

Show HN: R3 – Review locally and send structured feedback to your coding agent

https://github.com/hyperlogue/r3
1•rickye26•7m ago•1 comments

LSU physicists create first room-temperature quantum material

https://www.lsu.edu/science/news/2026/07/rt-quantum-material.php
1•thunderbong•10m ago•0 comments

The Accidental Discovery of Phencyclidine [video]

https://www.youtube.com/watch?v=DGvnAqk5iAg
1•binyu•11m ago•0 comments

Smart People in AI Published a Plan a They Expect to Be Ignored

https://writing.sidharthkakkar.com/p/very-smart-people-in-ai-published
1•sikakkar•11m ago•1 comments

Claude Fable produced a counterexample to the Jacobian Conjecture

https://xcancel.com/__alpoge__/status/2079028340955197566
2•loubbrad•14m ago•1 comments

Tech Workers Face Evaporating Financial Security as AI Transforms Industry

https://www.adn.com/nation-world/2026/07/19/the-biggest-winners-of-the-american-economy-fear-they...
2•nlpnerd•20m ago•0 comments

Graphjin

https://graphjin.com/
1•handfuloflight•20m ago•0 comments

India's first privately-developed rocket reaches orbit on dramatic debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
3•sohkamyung•21m ago•1 comments

The 2000s called. They want their digital camera back

https://www.npr.org/2026/07/18/nx-s1-5896117/retro-digital-camera-analog-reboot
4•megamike•24m ago•1 comments

./Alien_worker.sh

https://github.com/maxitg/alien-worker
1•p135246•26m ago•1 comments

Salt: Salience-Aware Lexical Trie for Long-Context Compression

https://github.com/oteomamo/SALT
1•omamo•30m ago•0 comments

Big Tech Is Now Targeting Native American Land for Data Centers

https://www.nytimes.com/2026/07/09/us/data-centers-native-american-tribes.html
4•reaperducer•31m ago•0 comments

Copyright Is Not Enough

https://www.thedial.world/articles/news/copyright-law-ai-intellectual-property
1•colinprince•31m ago•0 comments

See inside insects with an electron microscope and a femtosecond laser [video]

https://www.youtube.com/watch?v=NwhVJ7cv9B4
3•pillars•32m ago•0 comments

Dart Framework – Systems Thinking Skill for AI Agents

https://github.com/asofyan/dart-framework
1•handfuloflight•34m ago•0 comments

Project Architecture – Developer's Guide to Building Scalable Software

https://medium.com/@ruwanaamarasinghe/project-architecture-essentials-8b3b9107ca44
2•andsoitis•40m ago•0 comments

I automated my PC's chores with a tool that's been in Windows for 20 years

https://www.makeuseof.com/automated-pcs-boring-chores-tool-in-windows-20-years/
2•ripe•43m ago•0 comments

An Interview with Eve Maler

https://ciamweekly.substack.com/p/an-interview-with-eve-maler
1•mooreds•44m ago•0 comments

Delete Your Data with Drop

https://privacy.ca.gov/
5•mooreds•45m ago•0 comments

CommandBoard – Your productivity toolkit in Markdown files

https://github.com/sinai-doron/md-todo-list
1•workworksleep•46m ago•0 comments

The Better Network That Lost: Why Token Ring Died

https://www.youtube.com/watch?v=8TRelDpcLHs
1•cable2600•46m ago•0 comments

US health agency says cyclospora finding at produce company was false positive

https://www.cbc.ca/news/world/cyclospora-false-positive-taylor-farms-9.7276107
6•nianderwallace•48m ago•3 comments

Super Productivity: Focus tools in one open-source app, offline and private

https://super-productivity.com/
1•1d22a•48m ago•0 comments

Chinese firm seeks compensation over British Steel nationalisation

https://www.bbc.com/news/articles/cwyj4ppqn41o
1•onemoresoop•49m ago•2 comments

Ask HN: What paid AI tools are worth it for creative tech projects?

2•frausty•54m ago•2 comments

NoWreck-A deterministic verifier for AI coding assistants

https://github.com/AstralXVoid/NoWreck/
1•AstralXVoid•54m ago•0 comments

Smart City Discovery

https://www.readability.com/how-smart-city-discovery-helps-people-find-better-places-faster
1•Alfredlovin•57m ago•0 comments

Security engineer ports hashcat to Game Boy Advance – 727 hashes/second

https://www.tomshardware.com/video-games/nintendo/security-engineer-ports-password-cracker-hashca...
1•sbulaev•58m ago•0 comments

Silicon Valley Has Lost Its Biggest Advantage

https://www.theatlantic.com/technology/2026/07/data-center-ai-heavy-industry/687990/
4•sbulaev•58m ago•1 comments