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

Drone Swarms Packed into Unassuming Containers Sought by DARPA

https://www.twz.com/news-features/drone-swarms-packed-into-unassuming-containers-sought-by-darpa
1•breve•16s ago•0 comments

Yarbo's promise to fix the robot mower that ran me over

https://www.theverge.com/tech/926989/yarbo-robot-lawn-mower-hack-company-update-security-promise
2•gnabgib•1m ago•0 comments

Getting Arrested in Japan

https://sundaicity.com/blogs/getting-arrested-in-japan
1•bane•2m ago•0 comments

Show HN: Pitch Is Just Rhythm Sped Up [video]

https://www.youtube.com/watch?v=q9bFUocrm70
1•ersinesen•4m ago•0 comments

Matt Pietrek

https://en.wikipedia.org/wiki/Matt_Pietrek
1•stefan_•4m ago•0 comments

The Death of the Roadmap

https://debarshibasak.github.io/readables/blogs/death-of-roadmap.html
2•debarshri•6m ago•0 comments

Keats, Letters

https://sites.ualberta.ca/~dmiall/Tintern07/KeatsLet.htm
1•highfrequency•9m ago•0 comments

Rust but Lisp

https://github.com/ThatXliner/rust-but-lisp
2•thatxliner•12m ago•2 comments

Qwench is a terminal typing game for Linux, Windows, Mac. Built with Crossterm.

https://github.com/BitPusher16/qwench
1•carodgers•12m ago•1 comments

War.gov/UFO/ UFO file download reference repo

https://github.com/dopper/nts-ufos
1•dopper•14m ago•0 comments

London's BT Tower to get rooftop swimming pool

https://www.theregister.com/offbeat/2026/05/09/londons-bt-tower-to-get-rooftop-swimming-pool/5237337
1•samizdis•15m ago•0 comments

The 90 Day disclosure policy is dead

https://blog.himanshuanand.com/2026/05/the-90-day-disclosure-policy-is-dead/
2•unknownhad•15m ago•0 comments

Blog Post Tells the Time

https://alexsci.com/blog/this-blog-post-tells-the-time/
1•saeedesmaili•19m ago•0 comments

Show HN: Free OSS transcription app I made and found it's faster than wispr flow

https://mumbli.app/
2•fireharp•21m ago•0 comments

The Rise of Emotional Surveillance

https://www.theatlantic.com/culture/2026/05/worker-surveillance-emotion-ai/687029/
4•iugtmkbdfil834•25m ago•1 comments

Web Server on a Nintendo Wii

http://wii.sjmulder.nl/
1•adunk•26m ago•0 comments

Hugging Face's Clem Delangue: Stop Comparing Engines to Cars

https://www.turingpost.com/p/clem-delangue-hugging-face-ai-builders
1•gmays•26m ago•0 comments

Japan is deploying ultra-cheap cardboard drones built for swarm warfare

https://www.tomshardware.com/tech-industry/japan-is-deploying-ultra-cheap-cardboard-drones-built-...
2•_____k•27m ago•1 comments

Geography Is Four-Dimensional

https://sive.rs/4d
1•ColinWright•34m ago•0 comments

Feedback on my local-first AI assistant project?

https://github.com/joshuatic/voxel
1•joshuatic•37m ago•1 comments

Lies, damned lies, and Elastic's benchmarks

https://www.gouthamve.dev/lies-damned-lies-and-elastics-benchmarks/
1•gouthamve•43m ago•0 comments

A hacker ran me over with a robot lawn mower

https://www.theverge.com/tech/925696/yarbo-robot-lawn-mower-hack-remote-control-camera-access-mqtt
2•gnabgib•43m ago•0 comments

Does it scale? Who cares (2011)

https://jacquesmattheij.com/does-it-scale-who-cares/
1•downbad_•46m ago•1 comments

IRGC to generate revenue from undersea internet cables in Strait of Hormu

https://twitter.com/IranIntl_En/status/2053206979330392414
1•us321•48m ago•0 comments

Trump Media and Technology Group lost $406M in first three months of 2026

https://www.theguardian.com/us-news/2026/may/09/trump-media-and-technology-group-loses-406m-first...
4•vinni2•50m ago•2 comments

An Excerpt from "Go the Fuck to College" by Adam Mansbach

https://www.fatherly.com/parenting/go-the-fck-to-college-essay-adam-mansbach
1•johntfella•54m ago•1 comments

Consumer AI's ARPU Problem

https://twitter.com/SashaKaletsky/status/2051366803897766236
1•gmays•54m ago•0 comments

Can I Copyright a Song I Made with AI?

https://www.musicologize.com/can-i-copyright-a-song-i-made-with-ai/
2•speckx•57m ago•1 comments

ScalaTimes – A Free, Once-Weekly Scala News Flash

https://scalatimes.com
1•TheWiggles•57m ago•0 comments

Show HN: Sigma Guard – deterministic contradiction checks for graph memory

1•invariantjason•1h ago•0 comments