frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•7mo 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

Chinese Tennis Playing Robot

https://supercarblondie.com/chinese-humanoid-robot-perfect-strokes-in-tennis/
1•tromp•3m ago•0 comments

What I've done with all the extra time gained from learning the Ian Knot

https://blog.klungo.no/2025/12/31/two-years-of-the-ian-knot/
1•danielskogly•10m ago•0 comments

Late night pizzeria nearby The Pentagon has suddenly surged in traffic

https://twitter.com/PenPizzaReport/status/2007347706017251535
39•nomilk•14m ago•16 comments

XLibre XServer 25.1 Changes

https://github.com/X11Libre/xserver/wiki/XLibre-XServer-25.1-Changes
2•bmacho•16m ago•0 comments

Ask HN: Replacement for MacUpdater which reached EOL on 2026-01-01

1•croemer•17m ago•1 comments

How to Win Friends and Influence People: Unrevised Version

https://socialskillswisdom.com/
2•MrBuddyCasino•18m ago•1 comments

The Day We Touch the Source Code of Reality – Written for 100 Years Later

https://pajuhaan.medium.com/the-day-we-touch-the-source-code-of-reality-written-for-100-years-lat...
1•pajuhaan•18m ago•1 comments

Trump says Venezuela's Maduro captured after strikes

https://www.reuters.com/world/americas/trump-says-us-has-captured-venezuela-president-maduro-2026...
9•thewavelength•18m ago•0 comments

Replacement for MacUpdater which reached EOL on 2026-01-01)

https://www.corecode.io/macupdater/index.html
1•croemer•19m ago•1 comments

U.S. Captures Venezuelan President Nicolás Maduro

https://www.wsj.com/livecoverage/venezuela-strikes
6•stikit•22m ago•0 comments

Trump says Maduro 'captured and flown out' of Venezuela

https://www.france24.com/en/americas/20260103-live-venezuela-declares-state-of-emergency-after-re...
7•quotz•23m ago•1 comments

U.S. Has Captured Venezuelan President Nicolas Maduro

https://www.twz.com/news-features/explosions-ring-out-across-caracas-as-u-s-special-ops-helicopte...
7•monerozcash•24m ago•0 comments

Ask HN: How to Make the Most of an Acquisition?

1•francoispiquard•27m ago•0 comments

Show HN: Weft – A reactive and interactive Python experience

https://play.weft.sh/
2•zeapo•28m ago•1 comments

Tell HN: No continental US flights due to attack on Venezuela

6•lsb•28m ago•3 comments

Epstein Brought Race Science and Climate Culling to Silicon Valley AI Elite

https://bylinetimes.com/2025/12/05/how-epstein-channelled-race-science-and-climate-culling-into-s...
3•Krasnol•29m ago•0 comments

US captures Venezuelan leader, Trump says

https://www.nytimes.com/live/2026/01/03/world/trump-united-states-strikes-venezuela
11•Fraterkes•29m ago•7 comments

Show HN: ScrollBump – adding friction to scrolling instead of blocking it

https://www.scrollbump.com/
1•nexgea•30m ago•0 comments

America's 'Death Line' Goes Viral in China

https://www.newsweek.com/americas-death-line-goes-viral-in-china-11269490
3•zonghao•32m ago•0 comments

Solid is not so solid

https://solid-is-not-solid.com/
1•aivarsk•37m ago•0 comments

Resources, Events, Agents

https://en.wikipedia.org/wiki/Resources,_Events,_Agents
1•tosh•37m ago•0 comments

Trump bombed Venezuela, what are the implications to the tech industry?

https://www.bbc.com/news/live/c5yqygxe41pt
6•binsquare•39m ago•3 comments

Trump says Nicolás Maduro has been captured and flown out of Venezuela

https://www.ft.com/content/46ee8a0f-d421-4f7d-9514-297a576ec346
4•perihelions•40m ago•0 comments

Wpex: WireGuard packet relay for NAT traversal

https://github.com/weiiwang01/wpex
1•fanf2•41m ago•0 comments

Show HN: Boxed – Sovereign exec engine for AI agents (Vercel Sandbox inspired)

https://github.com/akshayaggarwal99/boxed
4•akshayaggarwal•42m ago•0 comments

Rocky Linux

https://rockylinux.org/
1•tosh•46m ago•0 comments

Trump claims Venezuela's Maduro captured after 'large-scale' attacks

https://www.aljazeera.com/news/liveblog/2026/1/3/live-loud-noises-heard-in-venezuelas-capital-ami...
7•taurath•48m ago•0 comments

Trump Says Maduro Captured After US Airstrikes Hit Venezuela

https://www.bloomberg.com/news/articles/2026-01-03/trump-says-venezuela-s-maduro-captured-and-flo...
26•olalonde•51m ago•17 comments

4chan and Kiwi Farms Tell Ofcom It Can't Censor and Run from Lawsuits

https://reclaimthenet.org/us-lawsuit-ofcom-online-safety-act-4chan-kiwi-farms-first-amendment
5•edgineer•55m ago•0 comments

Proposed United States Invasion of Venezuela

https://en.wikipedia.org/wiki/Proposed_United_States_invasion_of_Venezuela
2•nomilk•58m ago•0 comments