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

Nightborne – A Neill Blomkamp Sci-Fi Film. AI (4K) [video]

https://www.youtube.com/watch?v=8Wbtt2JxP7g
1•mxfh•3m ago•0 comments

Screenshot Editor Tool (SuperSnap) – 5 Free Lifetime Keys

https://supersnap.net
1•daniel_at08•5m ago•1 comments

China's Moonshot pauses Kimi subscriptions amid hot demand, IPO push

https://www.reuters.com/legal/transactional/chinas-moonshot-pauses-kimi-subscriptions-amid-hot-de...
2•JumpCrisscross•6m ago•1 comments

Connect Your AI Agent to Any API in Plain English (No Code)

https://quickchat.ai/post/connect-ai-agent-to-any-api
1•piotrgrudzien•7m ago•0 comments

What Happened to Le Chat? Mistral's Vibe Rebrand, Tested (2026)

https://mrkt30.com/what-happened-to-le-chat-mistrals-vibe-rebrand-tested-2026/
1•technewssss•11m ago•0 comments

From Proton to Posteo: Embracing the Underdog

https://moonwriting.blog/from-proton-to-posteo-embracing-the-underdog
1•g-b-r•12m ago•0 comments

The Travelers

https://www.seatlr.com/
1•alihadi965•12m ago•0 comments

Tree-of-Life and Evolution of Code

http://replicated.live/blog/worktree
1•gritzko•12m ago•0 comments

Environmental Performance Index (EPI) 2026

https://epi.yale.edu/indicator/2026/EPI
2•omkar-foss•14m ago•1 comments

Show HN: Trust Vault – encrypted file vaults with flexible key management

https://github.com/namelesscorp/tvault
1•midaef•16m ago•0 comments

The 'Bad Blood' Between Polymarket's Shayne Coplan and Kalshi's Tarek Mansour

https://www.nytimes.com/2026/07/19/technology/polymarket-kalshi-rivalry-coplan-mansour.html
1•thm•16m ago•0 comments

Spinning drone hides in plain sight

https://news.northwestern.edu/stories/2026/07/new-spinning-drone-hides-in-plain-sight
2•_kb•17m ago•1 comments

Airport Simulator

https://airport.apunen.com/
2•apunen•17m ago•0 comments

An autonomous AI agent that sells its own API access via x402 payment protocol

https://money-agent-production-a0a9.up.railway.app/api/summarize
1•TIMU619•18m ago•2 comments

Building an AmigaOS Development Environment in 2026

https://turtleware.eu/posts/Building-an-AmigaOS-Development-Environment-in-2026.html
2•jackdaniel•22m ago•1 comments

GitHub's 2FA is to become mandatory on September 2, 2026

4•itvision•24m ago•0 comments

How to Build a JavaScript Runtime with SpiderMonkey

https://twitter.com/i/status/2075570299576397910
1•opentestudox•27m ago•0 comments

AI-Native Companies Have Tiny Staffs and Fewer Bosses

https://www.wsj.com/tech/ai/ai-companies-staffing-c9029343
2•bryan0•27m ago•0 comments

I rewrote node-semver in Rust and benchmarked it honestly

https://github.com/dilukangelosl/rs-semver
3•dilukangelo•30m ago•0 comments

Engineering management after the cost of code collapsed

https://karimjedda.com/engineering-management-after-cost-of-code-collapse/
2•ilovefood•32m ago•0 comments

Gadget-free RCE in Fastjson 1.2.83

https://twitter.com/k_firsov/status/2078872293745570032
1•fragmede•32m ago•0 comments

Unnormalized Linear Transformer

https://people.idsia.ch/~juergen/1991-unnormalized-linear-transformer.html
1•tosh•32m ago•0 comments

Show HN: I built a deterministic arena where AI agents fight using code

https://www.agentduel.app/b/cru8E9nG
1•agentduel•33m ago•0 comments

Ask HN: How to Do SEO?

1•cyrbuzz•34m ago•0 comments

Airbus Takes Flight from AWS

https://www.theregister.com/columnists/2026/07/20/airbus-takes-flight-from-aws-what-happens-next-...
3•bbg2401•36m ago•0 comments

Slop Clogs Open Channels

https://doerpmund.com/musings/death-of-open-channels
1•felixdoerp•36m ago•0 comments

A Hidden Infrastructure

https://a-hidden-infrastructure.spun.earth/story/a-hidden-infrastructure
1•jjp•39m ago•0 comments

Setting the cursor: trading delayed correction against delay itself

https://deimos28.substack.com/p/setting-the-cursor
1•deimos_28•49m ago•0 comments

InteractInk

https://interactink.vercel.app/interactink.html
1•squeezes•50m ago•0 comments

Open Source Will Eat AI

https://www.openenergytransition.org/posts/ai-coding-agents-should-optimize-for-less-owned-code
1•lyoncy•53m ago•0 comments