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

Interview reveals Ed Zitron does not understand how AI works at any level

https://twitter.com/AlexanderMcCoy4/status/2100744088169447816
1•enraged_camel•28s ago•1 comments

Show HN: Roffume – Add fragrance to your resume with roff

https://github.com/sebastiancarlos/roffume
1•httbs•30s ago•0 comments

Investors warn Anthropic could struggle to sustain revenues post-IPO

https://www.ft.com/content/96d0a206-a37b-4166-b78d-b27ed24f7d57
1•1vuio0pswjnm7•2m ago•0 comments

Show HN: A browser MMO designed to be played by scripts, not people

https://space-core.at/
1•SpaceCoreDev•5m ago•0 comments

AI Journal 2: Vibe-Coding for Fun and Profit

https://devshrine.net/blog/ai-journal-2/
1•renehsz•8m ago•0 comments

Why MCP Was Always a Bad Idea

https://maharship.com/blog/why-mcp-was-always-a-bad-idea/
4•maharshi365•8m ago•0 comments

The Economics of Open-Weight Inference [pdf]

https://data.ornn.com/the-economics-of-open-weight-inference.pdf
1•adletbalzhanov•9m ago•0 comments

AI-native degree planning software for universities

https://www.coursetrees.com
1•noahfinkelstein•9m ago•1 comments

Reviving the language that brought us the Jak and Daxter Series

https://opengoal.dev/
1•birdculture•9m ago•0 comments

Exploration-Exploitation Dilemma

https://en.wikipedia.org/wiki/Exploration%E2%80%93exploitation_dilemma
1•azhenley•12m ago•0 comments

Tg-Rich-Converter: Streaming LLM Markdown and LaTeX to Telegram Bot API 10.1

https://github.com/kobaltgit/tg-rich-converter
1•kobaltGIT•13m ago•0 comments

Give, Don't Take

https://schestowitz.com/Weblog/archives/2026/09/20/give-dont-take/
1•amcclure•14m ago•0 comments

Experiments in Squatting

https://moxie.org/stories/together-two/
1•simonebrunozzi•15m ago•0 comments

The Hierarchy of Money

https://gregorygundersen.com/blog/2026/09/20/hierarchy-of-money/
2•gwgundersen•15m ago•0 comments

JEV OAS Sentinel – catch breaking API changes hidden in OpenAPI prose

https://github.com/marketplace/actions/jev-oas-sentinel
1•bookcool•16m ago•0 comments

Slapp Censorship – Pt. 190/200: Plagiarism, Back Doors, and Sabotage of Linux

https://techrights.org/n/2026/09/20/SLAPP_Censorship_Part_190_Out_of_200_Plagiarism_Back_Doors_an...
2•amcclure•16m ago•0 comments

GNU/Linux Has Grown a Lot Lately

https://techrights.org/n/2026/09/20/GNU_Linux_Has_Grown_a_Lot_Lately.shtml
1•amcclure•17m ago•0 comments

Safety Warning: Carborane Mixtures

https://www.science.org/content/blog-post/safety-warning-carborane-mixtures
1•EA-3167•21m ago•0 comments

The Problem Is Prompt Debt

https://www.dbreunig.com/2026/06/22/the-problem-is-prompt-debt.html
1•raphaelcosta•22m ago•0 comments

How workers are unlocking new ways of working

https://openai.com/index/unlocking-new-ways-of-working/
2•rdslw•23m ago•0 comments

Tensorbrife

https://www.tensorbrife.site/
2•tjjune•23m ago•1 comments

Show HN: Emetgate – a verification gate between an LLM and your source tree

https://github.com/emetgate/emetgate
2•ugurcl•24m ago•0 comments

How to Be Sovereign

1•At1C•30m ago•0 comments

Post-Quantum OpenID Connect

https://openid.net/post-quantum-openid-connect/
1•EthanHeilman•32m ago•0 comments

Geatsc – TypeScript-to-C++ Compiler

https://github.com/geastack/compiler
1•arbayi•33m ago•0 comments

One model writes the code, a different model reviews it

https://github.com/WDahah/portable-dsh-multi-agent-plugin
1•WDahah•35m ago•0 comments

Show HN: SubCrisp, a free subscription tracker that shows what cancelling saves

https://subcrisp.com/
1•dablity•35m ago•0 comments

What Is It Like to Be a Cat Tail? (2021)

https://gwern.net/blog/2021/cat-tail
1•1317•36m ago•0 comments

Planetary Boundaries Laser Talk Booklet

https://docs.google.com/document/d/1K7O1Aq2EXhZ2AJhJunAwuZ8B41nZFfGufFRJDe92jdA/edit?tab=t.0
1•debo_•38m ago•1 comments

Claude skill and Obsidian plugin to proofread your English writing

https://codomaniac.com/claude-skill-and-obsidian-plugin-to-proofread-your-english-writing/
1•piorus•40m ago•0 comments