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

Microsoft Plugs Nearly 1000 Security Holes

https://krebsonsecurity.com/2026/09/microsoft-plugs-nearly-1000-security-holes/
1•jnord•47s ago•0 comments

A Doctor Sued 700 Patients for Debts; 81 Were Arrested. Now He's a Senator

https://www.nytimes.com/2026/09/08/us/politics/roger-marshall-obgyn-doctor-debts.html
2•rawgabbit•3m ago•1 comments

NASA's Nancy Grace Roman Space Telescope: Why It's So Cool

https://www.windriver.com/blog/NASA-Nancy-Grace-Roman-Space-Telescope
2•ohjeez•4m ago•0 comments

Show HN: SagaShield – ACID transactions and security guardrails for AI agents

https://github.com/sebastianmechno-sys/sagashield
1•esseba-dev•5m ago•0 comments

Danny McBride's Solution to the Masculinity Crisis

https://www.newyorker.com/books/page-turner/danny-mcbrides-solution-to-the-masculinity-crisis
1•petethomas•7m ago•0 comments

A Single-Tower Multimodal-Native Multilingual Foundation Encoder (By H)

https://arxiv.org/abs/2609.01657
1•bitboyro•10m ago•0 comments

The Oldest Architecture in Computing

https://www.allthingsdistributed.com/2026/09/the-oldest-architecture-in-computing.html
1•jonbaer•11m ago•0 comments

The Editorial Mindset – By Troy Howard

https://blog.thoward37.me/articles/the-editorial-mindset/
1•thoward37•11m ago•1 comments

A Universe of My Own

https://catbee.ca/universe/
1•behohippy•11m ago•1 comments

Show HN: Owned. Own a piece of the world and make it visible

https://owned.bennytaccardi.com/
1•axeowl123•12m ago•0 comments

Show HN: Genotype: language that compiles to idiomatic TS, Rust and Python

https://genotype-lang.org/
1•kossnocorp•12m ago•0 comments

The 40 Year Old Kernel Bug (iOS, macOS, XNU, etc.)

https://yuvalino.com/how-can-you-not-be-romantic-about-unix-domain-sockets
2•Orlan•12m ago•0 comments

The Story of a Hyperbaric Weld

https://medium.com/@francis.hermans4/the-story-of-a-hyperbaric-weld-bfd80a13cf00
1•scrumper•13m ago•1 comments

Teaching NumPy's ufuncs new tricks

https://labs.quansight.org/blog/teaching-numpys-ufuncs-new-tricks
1•ngoldbaum•16m ago•0 comments

Magic mushroom compound may prevent chemotherapy pain

https://www.science.org/content/article/magic-mushroom-compound-may-prevent-chemotherapy-pain?tm_...
2•gmays•16m ago•0 comments

Rustuna: A Faster Optuna Implementation in Rust

https://medium.com/optuna/announcing-rustuna-cc82a6815bf7
1•jonbaer•17m ago•0 comments

Show HN: I built an interactive Harry Potter learning playground for my son

https://casamagia.org/en/
1•emot•18m ago•0 comments

Yen makes dash across ¥153, raising possibility that trend has turned

https://www.japantimes.co.jp/business/2026/09/08/markets/yen-153/
1•mikhael•19m ago•0 comments

Super Smash Bros Melee is 100% decompiled

https://decomp.dev/doldecomp/melee
2•thekevintang•21m ago•0 comments

Block Applies to Establish Builders Bank and Trust

https://www.wsj.com/finance/banking/block-applies-to-establish-builders-bank-trust-3c6c9556
1•jaredwiener•26m ago•0 comments

Tokyo's Shinjuku Ward to ban minpaku in residential areas and near schools

https://www.japantimes.co.jp/news/2026/09/07/japan/shinjuku-ward-minpaku-ban/
1•mikhael•27m ago•1 comments

My Nix Config Is Intimate

https://www.scd31.com/posts/nix-files-are-intimate
2•birdculture•27m ago•0 comments

Hakken: Predicting future discoveries to fill gaps in today's knowledge

https://arxiv.org/abs/2609.04494
2•anigbrowl•28m ago•0 comments

Onboard device storage is kept low for these reasons

https://circuitbored.com/viewtopic.php?t=248
3•winternett•30m ago•0 comments

The AI-Native SDLC Playbook

https://claude.com/blog/the-ai-native-sdlc-playbook
2•rldjbpin•31m ago•0 comments

Show HN: Routi Bot – AI bots with their own desktops on your Mac

https://github.com/narralabs/routi/
4•westoque•31m ago•0 comments

Mid-conversation system messages and tool changes

https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages
1•azhenley•32m ago•0 comments

Show HN: Free scanning app with ML crops, front/back pairing, and stitching

https://timelinescan.com/frontback-scanner/
1•HoserHoser•32m ago•0 comments

Large Language Models Develop Novel Social Biases Through Adaptive Exploration

https://openreview.net/challenge?redirect=%2Fforum%3Fid%3Dpc7fqaOcAH
13•paimapi•33m ago•2 comments

The AI-Native SDLC Starts with Your Infrastructure

https://metalbear.com/blog/ai-native-sdlc-infrastructure/
1•ioanarebeca•35m ago•0 comments