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•8mo 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

A wheel menu for all your shortcuts on Mac

https://www.wheelcmd.com/
1•nickljr•1m ago•0 comments

Kangaroo takes out Tour Down Under peloton

https://www.abc.net.au/news/2026-01-25/kangaroo-crashes-into-tour-down-under-peloton-as-jay-vine-...
1•Tomte•1m ago•0 comments

Genetic Data from over 20k U.S. Children Misused for 'Race Science'

https://www.nytimes.com/2026/01/24/us/children-genetics-race-science.html
2•DustinEchoes•2m ago•1 comments

A P-O-X On Both Your Houses: Reverse Engineering a 20 year RF protocol

https://zach-ennenga.medium.com/a-p-o-x-on-both-your-houses-reverse-engineering-a-20-year-rf-prot...
1•bsilvereagle•2m ago•0 comments

Show HN: Constela – JSON DSL for AI-generated UI with compile-time validation

1•yuu1ch13•4m ago•0 comments

Show HN: Netfence – Like Envoy for eBPF Filters

https://github.com/danthegoodman1/netfence
2•dangoodmanUT•4m ago•0 comments

Show HN: Open Computer-Animated Multivariable Calculus Course in 6 Languages

https://calculus.academa.ai/
2•sinaatalay•10m ago•0 comments

Show HN: Free PDF Editor by TechRex – client-side PDF editing, OCR, compression

https://pdffreeeditor.com/
1•Maaz-Sohail•15m ago•0 comments

Alex Honnold

https://en.wikipedia.org/wiki/Alex_Honnold
1•marklit•15m ago•0 comments

UN Declares That the World Has Entered an Era of 'Global Water Bankruptcy'

https://www.smithsonianmag.com/smart-news/united-nations-declares-that-the-world-has-entered-an-e...
25•pseudolus•16m ago•6 comments

Show HN: AI powered daily tracker of the US slide into authoritarianism

https://www.worstdaysofar.com/
2•locallyoptimal•18m ago•0 comments

How to Become a Hacker

http://www.catb.org/esr/faqs/hacker-howto.html
1•srid•19m ago•0 comments

OpenAI rolling out age prediction for ChatGPT consumer plans

https://www.cnbc.com/2026/01/20/open-ai-age-prediction-chatgpt.html
2•gmays•19m ago•2 comments

Anesthetic Requirement is Increased in Redheads (2004)

https://lww.com/_layouts/1033/OAKS.Journals/Error/JavaScript.html
1•mellosouls•21m ago•0 comments

Bitwise conversion of doubles using only FP multiplication and addition

https://dougallj.wordpress.com/2020/05/10/bitwise-conversion-of-doubles-using-only-floating-point...
1•vitaut•23m ago•0 comments

Back to the Roots with Internet Relay Chat

https://rz01.org/irc/
3•exitnode•23m ago•1 comments

GNU C Library 2.43 released

https://lwn.net/Articles/1055757/
1•gtirloni•26m ago•0 comments

'Rescued men still owe hotel bill three weeks later'

https://www.bbc.co.uk/news/articles/c9vx0jrnmejo
5•mellosouls•28m ago•2 comments

Motivation acts as a camera lens that shapes how memories form

https://www.psypost.org/motivation-acts-as-a-camera-lens-that-shapes-how-memories-form/
2•mustaphah•29m ago•0 comments

Zoot Suit Riots

https://en.wikipedia.org/wiki/Zoot_Suit_Riots
2•JojoFatsani•29m ago•0 comments

Show HN: Ask CLI – A simple, open-source tool to get command-line help

1•david-minaya•32m ago•0 comments

Claude Code: Merging Slash Commands into Skills

https://x.com/trq212/article/2014836841846132761
2•mustaphah•33m ago•1 comments

Wine-Staging 11.1 Adds Patches for Enabling Recent Photoshop Versions on Linux

https://www.phoronix.com/news/Wine-Staging-11.1
2•LorenDB•35m ago•0 comments

The "Discombobulator": Unpacking the Physics of the Weapon That Captured Maduro

https://medium.com/@jcanchola1264/the-discombobulator-unpacking-the-physics-and-the-risks-of-the-...
5•mojosam•37m ago•3 comments

Show HN: Personal AI that understands code and emotions on 8GB RAM

https://twitter.com/enludus/status/2015329162165403683
1•Enludus•37m ago•0 comments

Goomics – Google's corporate culture revealed through internal comics [pdf]

https://goomics.net/img/book/goomics_vol_2_first_five_chapters.pdf
3•wallflower•38m ago•0 comments

How AI Is Learning to Think in Secret

https://nickandresen.substack.com/p/how-ai-is-learning-to-think-in-secret
2•cubefox•38m ago•1 comments

Supply Chain Explorer

https://chipexplorer.eto.tech
1•wallflower•38m ago•0 comments

2025 Globalscape: Race for Compute

https://www.accel.com/globalscape
1•gmays•42m ago•0 comments

Gen Z is Nostalgic for the Photo Aesthetic of 2016

https://petapixel.com/2026/01/25/gen-z-is-nostalgic-for-the-photo-aesthetic-of-2016/
1•gbugniot•42m ago•0 comments