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

Why Were the Dabaos Late?

https://www.crowdsupply.com/baochip/dabao/updates/why-were-the-dabaos-late
1•snvzz•53s ago•0 comments

Twenty Years of Pandoc

https://pandoc.org/twenty-years-of-pandoc.html
1•fiddlosopher•1m ago•0 comments

Show HN: Jotchi, a smart scratchpad for the busy brain

https://jotchi.com/app
1•andyfilms1•1m ago•0 comments

Show HN: Lucin -static analysis for AI agents with published false-negative list

https://lucin.pages.dev/
1•Madhav23•2m ago•0 comments

How much AI can a maintainer get away with using without losing their humanity?

https://www.jvt.me/posts/2026/08/02/ai-maintainer/
1•Brajeshwar•2m ago•0 comments

Please let me phone my podcasts app

https://interconnected.org/home/2026/07/24/podcasts
1•surprisetalk•4m ago•0 comments

Ask HN: Who is hiring? (August 2026)

3•whoishiring•5m ago•8 comments

Ask HN: Who wants to be hired? (August 2026)

2•whoishiring•5m ago•16 comments

Show HN: Book Studio – Turn PDFs into a private reading library

https://github.com/mym0404/book-studio-template
1•mj_studio•5m ago•0 comments

A Good Vimrc (2014)

https://dougblack.io/words/a-good-vimrc.html
1•throwaway98797•6m ago•0 comments

Llama-Apps

https://github.com/tonyanglesey/llama-apps
1•tonyanglesey•7m ago•0 comments

Nvidia's CUDA Faces New Threats from AI Coding Agents

https://www.businessinsider.com/nvidia-cuda-new-threats-ai-coding-agents-2026-8
2•chrsw•7m ago•0 comments

Flock's CEO Faced Me After Its Cameras Led to My Wrongful Stop

https://www.thedrive.com/podcast/flocks-ceo-wants-zero-wrongful-stops-i-wasnt-the-first
5•f154hfds•8m ago•0 comments

Shots: Codex and MCP Plugin for Making App Store Screenshots

https://shots.run
2•Jonovono•9m ago•1 comments

Obidos is going Open Source

https://github.com/spenego/Obidos
1•spenegosoftware•9m ago•1 comments

An Alternative to X402

https://github.com/programmaman/d402
1•programmaman•11m ago•0 comments

AI Listings Have Made Apartment Hunting More Debasing

https://defector.com/ai-listings-have-made-apartment-hunting-even-more-debasing
1•martey•11m ago•0 comments

Honey, I shrunk the embeddings: Matryoshka vs. PCA

https://dylancastillo.co/posts/matryoshka-vs-pca
1•dcastm•12m ago•0 comments

Indirected Reality – Language, Truth, and LLMs

https://queue.acm.org/detail.cfm?id=3819081
1•vinhnx•12m ago•0 comments

Iau Finance – Free and Open-Source Bloomberg-Style Terminal for Cats

https://github.com/jz1656-izback/miau-finance-now-free
1•jz1656•14m ago•1 comments

Show HN: Send a Packet Around the World

https://ringaroundtheworld.com/
1•jgoldberg5706•15m ago•0 comments

The clever hack I used to translate my Résumé

https://axel.leroy.sh/blog/clever-hack-translating-resume
1•speckx•15m ago•0 comments

TSA Privatization Returns Airport Security to a Dangerous Past

https://prospect.org/2026/08/03/tsa-privatization-airport-security-911-trump-bush/
5•hn_acker•15m ago•0 comments

Artist Statement Generator

https://www.artybollocks.com/generator.html
1•bookofjoe•19m ago•0 comments

Clickbait, engagement, and credibility in YouTube's medical ecosystem

https://www.nature.com/articles/s41746-026-03046-x
3•wertyk•19m ago•1 comments

LLM policy for drivers/staging/ going forward

https://lore.kernel.org/all/2026080354-skater-urgent-31b2@gregkh/
1•ahlCVA•19m ago•0 comments

Show HN: Christopher Nolan's Hymn to Athena

https://jackcushman.org/writing/hymn-to-athena/
1•JackC•20m ago•0 comments

Show HN: One Thing at a Time – a todo app that hides your list

https://onethingatatime.app/
2•sumtsui•21m ago•0 comments

Can a robotics startup survive by pivoting from hardware to data scraping?

1•hjkofj•22m ago•0 comments

DeepSeek v4 flash and cheap intelligence

https://www.0xsid.com/blog/cheap-tokens-are-great
3•ssiddharth•22m ago•0 comments