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

Bashkit got official browser target. No rust compilation needed

https://www.npmjs.com/package/@everruns/bashkit-wasm
1•chalyi•3m ago•0 comments

Campaign Diagrams: Visualizing the March Through the Phases of a Workload

https://arxiv.org/abs/2607.15225
1•Jimmc414•3m ago•0 comments

Netflix Paid $587M for Ben Affleck's AI Startup InterPositive

https://variety.com/2026/film/news/netflix-paid-587-million-ben-affleck-ai-interpositive-1236815111/
1•ortusdux•4m ago•0 comments

What is usage-based billing? Tokens, credits, and outcomes, explained in STE100

https://arnon.dk/what-is-usage-based-billing-tokens-credits-and-outcomes-explained-in-simplified-...
1•arnon•9m ago•0 comments

Show HN: How much profit does your employer make per employee?

https://yourfairshare.info
2•IESAI_ski•9m ago•0 comments

M-Chips: M7 with up to 1.5 TB – and why Apple is skipping the M6

https://www.heise.de/en/news/M-Chips-M7-with-up-to-1-5-TB-and-why-Apple-is-skipping-the-M6-113628...
1•danboarder•10m ago•1 comments

The CIA Operative Who Spied on the U.A.E.–and Played a Role in Its AI Win

https://www.wsj.com/world/middle-east/cia-spy-united-arab-emirates-ai-49d909a8
1•NN88•11m ago•1 comments

Why Elixir Is the Best Language for LLMs (and What the Benchmarks Show)

https://codemyspec.com/blog/why-elixir-is-the-best-language-for-llms
1•ksec•14m ago•0 comments

Designing a 4D Digital Archive for Ikebana

https://ishiguro-lab.org/projects/designing-a-4d-digital-archive-for-ikebana/
1•ohjeez•15m ago•0 comments

Lark: a parsing toolkit for Python

https://github.com/lark-parser/lark
1•saikatsg•15m ago•0 comments

Git email patch review addon for Thunderbird

https://mccd.space/git/thunderbird-patch-review/file/README.html.html
1•elashri•16m ago•0 comments

Dictionaries and Tables

https://www.defconq.tech/docs/concepts/dictionariesTables
1•mpweiher•23m ago•0 comments

Thermal Design for Spaceflight (NASA, 2022) [pdf]

https://ntrs.nasa.gov/api/citations/20230003714/downloads/Thermal%20Design%20for%20Spaceflight.pp...
2•jason_s•25m ago•0 comments

Em dashes are fucking amazing

https://psychotechnology.substack.com/p/em-dashes-are-fucking-amazing
4•lr0•25m ago•0 comments

Textmode Overlay – live ASCII rendering for browser video and canvas

https://extension.textmode.art/
1•eclypz•32m ago•0 comments

Female Promotions and the Academic Pipeline: Evidence from a Natural Experiment

https://cepr.org/publications/dp21325
1•paulpauper•35m ago•0 comments

Socialists should embrace luxury apartments

https://www.ft.com/content/d15171ec-6665-40c6-99df-6962bcf4c761
1•paulpauper•35m ago•1 comments

Huginn: An AI Agent Activity Console

https://github.com/tohuw/huginn
1•tohuw•35m ago•2 comments

AgentSpec: Testing framework for AI agents (Jest for non-deterministic behavior)

https://github.com/Ozperium/agentspec
1•pawfromoz•36m ago•1 comments

Generative AI Can Harm Teaching

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7007339
1•rekabis•37m ago•1 comments

Xi Jinping Delivers Keynote Speech at World AI Conference 2026 in Shanghai [video]

https://www.youtube.com/watch?v=0Pbv5_7t1GQ
5•verdverm•39m ago•0 comments

A Note from Bethesda Game Studios

https://bethesda.net/en/article/7wrffyXajE4BmCLJVpOkcN/a-note-from-bethesda-game-studios
2•agluszak•41m ago•1 comments

Crosswords but using a graph instead of a grid

https://constellate.day/
1•imtoosly•43m ago•1 comments

FFmpeg gets 1.372x faster RGB24-to-RGBA conversion with AVX-512

https://www.phoronix.com/news/FFmpeg-AVX-512-1.372x
2•logickkk1•43m ago•0 comments

Self-Hosted Dynamic DNS

https://akr.am/blog/posts/self-hosted-dynamic-dns
3•Brajeshwar•46m ago•0 comments

Less Is More: Why Audio on SoundCloud Looks Different

https://developers.soundcloud.com/blog/less-is-more-why-soundcloud-low-passes-its-aac-transcodings/
10•1317•47m ago•1 comments

(Ab)Using Overload Sets to Create Ad-Hoc Template APIs in D

https://blog.dlang.org/2026/07/19/abusing-overload-sets-to-create-ad-hoc-template-apis/
2•WalterBright•48m ago•1 comments

A Tribute to Lorenzo Kristov: Designing the Grid from the Community Up

https://energyempirepodcast.substack.com/p/a-tribute-to-lorenzo-kristov-designing
1•mooreds•49m ago•0 comments

I have built a full-page screenshot tool with a built-in editor

https://chromewebstore.google.com/detail/scrollshot-pro-–-full-pag/lpelhlcjkdegabhilgaapjbneolg...
1•zzivic•49m ago•0 comments

Hackers abuse ViPNet software to target Russian govt agencies

https://www.bleepingcomputer.com/news/security/hackers-abuse-vipnet-software-to-target-russian-go...
1•sbulaev•50m ago•0 comments