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

How Render Workflows powers our internal data pipeline

https://render.com/blog/how-render-workflows-powers-our-internal-data-pipeline
1•anurag•42s ago•0 comments

The Root of the Root of All Evil – Casey Muratori [video]

https://www.youtube.com/watch?v=hpj6r6CjJf8
1•throwaway17_17•1m ago•1 comments

Graze Joins Flipboard

https://graze.leaflet.pub/3mtypcuxxc22p
1•Kye•3m ago•0 comments

Reviewing AI Media: "Everything That Hurt You" by Eliezer Yudkowsky

https://johnqpulp.substack.com/p/reviewing-ai-media-everything-that
1•JohnQPulp•4m ago•0 comments

U.S. State Department Pauses Immigrant Visa Applications

https://www.wsj.com/politics/policy/u-s-state-department-pauses-immigrant-visa-applications-25b31b23
1•sss111•4m ago•0 comments

A Ruby type checker has found 15 bugs in Discourse, Rails, Zammad and Ruby-lsp

https://aryrabelo.com/en/itaruby/
1•SchwKatze•5m ago•0 comments

Modern humans evolved from an 80-20 mixture of two deep streams

https://www.johnhawks.net/p/modern-humans-evolved-from-an-80
1•alchemist1e9•5m ago•0 comments

Celebrities Die in E's

https://ssp.impulsetrain.com/celebrities.html
2•millipede•6m ago•0 comments

CoMaps: The Offline App That Guided Rescuers Without a Signal in Venezuela

https://hotosm.org/en/news/comaps-the-offline-app-that-guided-rescuers-without-a-signal-in-the-ve...
2•gedankenstuecke•7m ago•0 comments

I Built a 130 KB WebAssembly Agent Harness That Runs in Browsers and Terminals

https://medium.com/@Koukyosyumei/i-built-a-130-kb-webassembly-coding-agent-harness-that-runs-in-b...
1•syumei•7m ago•0 comments

Benchmarking Qwen3.8 27B quantizations: 4-bit holds up, 1-bit collapses

https://quesma.com/blog/qwen38-27b-quantizations-benchmarked/
1•stared•7m ago•0 comments

The Annals Challenge

https://xenaproject.wordpress.com/2026/08/13/the-annals-challenge/
1•paulpauper•8m ago•0 comments

Show HN: Caniuse for spreadsheet functions, every LibreOffice result executed

https://canispreadsheet.com/
1•aflabs•8m ago•0 comments

Kubernetes v1.37: Garhwal

https://kubernetes.io/blog/2026/08/26/kubernetes-v1-37-release/
2•zbentley•8m ago•0 comments

My life in plain text, revisited: Planova and one Markdown file per day

https://rvier.fr/posts/my-life-in-plain-text-using-planova-EN
1•brvier•10m ago•0 comments

NOOA – Nvidia-Labs Object Oriented Agents

https://github.com/NVIDIA-NeMo/labs-OO-Agents
1•kristianpaul•12m ago•0 comments

Meta reaches $17B settlement in trial over teen social media addiction

https://apnews.com/article/meta-trial-instagram-settlement-97d342f2a33d835eda2356c5e1af9e37
2•josephwegner•13m ago•1 comments

Flash flood on Nepal-Tibet border

https://www.theguardian.com/world/2026/aug/26/major-casualties-feared-after-flash-floods-along-ne...
1•skilled•13m ago•0 comments

The sperm whale 'phonetic alphabet' revealed by AI

https://www.bbc.com/future/article/20240709-the-sperm-whale-phonetic-alphabet-revealed-by-ai
1•smusamashah•14m ago•0 comments

Sam Altman tells TIME that OpenAI will achieve AGI by the end of this year

https://twitter.com/deredleritt3r/status/2092608013563560184
2•CharlesW•15m ago•0 comments

The Effect of Artificial Intelligence Technology on the Returns to Human Capital

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7330818
1•Make_YC_GA•18m ago•0 comments

Sometimes the Best Prompt Is /New

https://allaboutcoding.ghinda.com/sometimes-the-best-prompt-is-new/
2•speckx•18m ago•1 comments

#1 on BABILong at 10M, our own gaming audit published

https://spnc.ai/blog/living-memory
1•lvrzhn•18m ago•0 comments

Find and Organize screenshots with Private, Local AI in one place

https://ringlochid.me/imagesage/index.html
1•ringlochid•19m ago•0 comments

Show HN: I get 25 deeply researched ideas from 19 agents with one single prompt

https://github.com/ringlochid/oh-my-subagents
1•ringlochid•21m ago•0 comments

Stop Killing the Internet: No Digital ID and No Age Verification

https://eci.ec.europa.eu/066/public/#/screen/home
2•flexagoon•21m ago•1 comments

Windows Kernel Substring Search

https://github.com/adanil-code/KmStrSearch
1•adanil_•22m ago•0 comments

I Used Grok Bot Like SpaceXAI Told Us To. It Put Us on a $72,000/Mo Run Rate

https://twitter.com/lifeofjer/status/2092659107383898237
1•jeremyccrane•23m ago•0 comments

Gemini 3.5 Transcribe

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5-transcribe/
1•wmchen•24m ago•0 comments

The Download: the Kids issue arrives, and Bill Gates reveals his AI fears

https://www.technologyreview.com/2026/08/26/1143000/the-download-kids-issue-launch-bill-gates-ai-...
1•joozio•25m ago•0 comments