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

Captalism Can't Handle AI

1•sedan_baklazhan•1m ago•0 comments

Grokipedia v0.3 Just Released

https://twitter.com/elonmusk/status/2105543421712843238
1•soltanov•2m ago•0 comments

Production-ready software development at the speed of thought

https://www.osequi.com/studies/speed-of-thought/speed-of-thought.html
1•csbartus•3m ago•0 comments

Electrobun – cross-platform desktop apps, ships at about a megabyte

https://blackboard.sh/electrobun/
1•modinfo•3m ago•0 comments

How Zuckerberg shaped Trump’s AI industry pledge

https://www.semafor.com/article/09/30/2026/how-zuckerberg-shaped-trumps-ai-industry-pledge
1•thm•3m ago•0 comments

Show HN: AI workspaces for teams with human-AI interfaces

https://github.com/ailaflow/ailaflow
1•b4rtazz•5m ago•0 comments

Our Latest research paper (preprint) on loops and graph is live on ArXiv

https://arxiv.org/abs/2609.27871
1•vpbhardwaj•8m ago•0 comments

One Auto API

https://www.oneautoapi.com/
1•oaa-sean•8m ago•0 comments

OpenAI whines that Chinese model stole its IP that it stole from everybody else

https://www.theregister.com/security/2026/09/30/irony-alert-openai-whines-that-chinese-model-stol...
3•jjgreen•8m ago•0 comments

AI Coding Startup Cognition Hits $1B in Annualized Revenue

https://www.bloomberg.com/news/articles/2026-09-25/ai-coding-startup-cognition-hits-1-billion-in-...
1•ronfriedhaber•8m ago•0 comments

Free online calculators. The answer in one step

https://freefastcalculator.com
1•pb193105•9m ago•0 comments

Hugging Face & Open Source for Science Fund

https://os4science.org/news/hugging-face-open-source-for-science-fund/
1•JohnHammersley•13m ago•0 comments

Barclays scales Claude to upgrade operations and improve client experience

https://www.anthropic.com/news/barclays-scales-claude
1•surprisetalk•13m ago•0 comments

A fast, zero-config CLI to audit your projects for Dependency Confusion

https://github.com/omni-line/omni-audit
1•libertas_quae_s•15m ago•0 comments

The Gap Between the Rich and the Rich Is Getting Wider

https://www.wsj.com/economy/the-gap-between-the-rich-and-the-very-very-rich-is-getting-wider-5f76...
1•JumpCrisscross•15m ago•0 comments

Nura (PostmarketOS): The road to daily-drivable mainline phones

https://nura.eco/blog/2026/09/29/road-to-main-category/
1•birdculture•16m ago•0 comments

Five ways publishers are rethinking audience engagement

https://www.niemanlab.org/2026/09/how-publishers-are-rethinking-audience-engagement-five-takeaway...
1•giuliomagnifico•16m ago•0 comments

Financing the AI Buildout

https://www.brookings.edu/articles/financing-the-ai-buildout/
1•dgellow•17m ago•1 comments

Snapdragon Sound Elite Gen 2

https://www.qualcomm.com/audio/products/snapdragon-sound-elite-gen-2
1•ksec•18m ago•0 comments

A laser just photographed objects through six feet of concrete

https://newatlas.com/technology/pics-muon-laser-reveal-unseeable/
1•geox•18m ago•0 comments

SB&R – Chained Referral Campaign for Online Brands

https://apps.shopify.com/sb-r
1•HMNayak•18m ago•0 comments

RAM supply set to worsen, says Micron, as CEO celebrates 'much higher' prices

https://www.theregister.com/systems/2026/10/01/ram-supply-set-to-worsen-says-micron-as-ceo-celebr...
1•mdp2021•20m ago•0 comments

Learning Steganography Is Easy, Learning Steganographic Reasoning Is Hard

https://arxiv.org/abs/2609.39838
1•sbulaev•21m ago•0 comments

Clausewitz on Operation Epic Fury

https://www.justsecurity.org/147675/clausewitz-operation-epic-fury/
1•bryanrasmussen•22m ago•0 comments

The Cost of Vibe-Coding Games [video]

https://www.youtube.com/watch?v=5cbonpAgR5A
1•i2talics•22m ago•0 comments

In Search of Northanger Abbey: Farleigh Hungerford Castle

https://englishhistoryauthors.blogspot.com/2026/08/in-search-of-northanger-abbey-farleigh.html
1•bryanrasmussen•23m ago•0 comments

OpenAI halved the allowance of the $200 plan to 10x

3•k9294•23m ago•1 comments

Pebble Round 2 starts shipping

https://repebble.com/blog/pebble-round-2-starts-shipping
1•smig0•24m ago•0 comments

Landon – a lean and easy landing page builder

https://landon.click
1•pathwaysdigital•25m ago•1 comments

By far the best QA automation tool for iOS app?

https://midscenejs.com/
1•danielhitome•26m ago•1 comments