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

A Glimpse into the Future of Software Development

https://saturnino.substack.com/p/out-of-the-loop
1•lrsaturnino•7m ago•0 comments

Fixing a 20-year-old bug in Enlightenment E16

https://iczelia.net/posts/e16-20-year-old-bug/
2•snoofydude•9m ago•0 comments

When Oil Gets Expensive, Cities Get Better [video]

https://www.youtube.com/watch?v=eXNLaHsKMz8
1•CHB0403085482•9m ago•0 comments

Saying Goodbye to Agile

https://lewiscampbell.tech/blog/260414.html
1•matrixhelix•10m ago•0 comments

Agents as Scaffolding for Recurring Tasks

https://lethain.com/agents-as-scaffolding/
1•gpi•14m ago•0 comments

ZFS: Tutorial for Storage on External Drives

https://jenpeterson.net/zfs-blog/
1•bariumbitmap•16m ago•0 comments

The Economic Value of Eliminating Cancer

https://www.nber.org/papers/w35052
2•paulpauper•25m ago•0 comments

The Economist Is Putting Names (and Faces) to Its Magazine

https://www.nytimes.com/2026/04/13/business/media/economist-magazine-videos.html
1•paulpauper•26m ago•0 comments

The tech jobs bust is real. Don't blame AI (yet)

https://www.economist.com/finance-and-economics/2026/04/13/the-tech-jobs-bust-is-real-dont-blame-...
1•axiomdata316•26m ago•1 comments

Avatar: Aang: The Last Airbender Surfaces Online Months Before Paramount+ Debut

https://www.cartoonbrew.com/feature-film/avatar-aang-last-airbender-leaks-online-259953.html
1•Cider9986•28m ago•0 comments

Show HN: Firefox Sidebar Local LLM

https://github.com/skorotkiewicz/firefox-ai
1•modinfo•30m ago•0 comments

Show HN: Fz.ax – Four thousand weeks of your life, as hexagons

https://fz.ax
1•momentmaker•32m ago•0 comments

Feature Request: Support Agents.md. #6235

https://github.com/anthropics/claude-code/issues/6235
1•gz09•34m ago•0 comments

A tax revolt is under way in America

https://economist.com/united-states/2026/04/14/a-tax-revolt-is-under-way-in-america
1•andsoitis•37m ago•1 comments

Show HN: Why Rotating Vectors Makes Compression Beautiful

https://demos.connectai.blog/quantization_blog.html
1•linux_devil•37m ago•0 comments

Photocatalytic Water Splitting

https://en.wikipedia.org/wiki/Photocatalytic_water_splitting
2•wolfi1•38m ago•0 comments

Deriving the Y Combinator (2008)

https://blog.jcoglan.com/2008/01/10/deriving-the-y-combinator/
1•aragonite•49m ago•0 comments

Will Elon Musk ever be forced to explain what he did inside DOGE?

https://www.cnn.com/2026/04/13/politics/elon-musk-doge-lawsuits-avoid-deposition-questions
9•1659447091•51m ago•3 comments

The disappearance of old Tokyo businesses

https://www.tokyotimes.org/the-disappearance-of-old-tokyo-businesses/
1•razorbeamz•52m ago•0 comments

Show HN: Honeytree – Grow a forest in your terminal while you code

https://github.com/Varun2009178/honeytree
1•varunn29•53m ago•0 comments

Krafton CEO used ChatGPT in failed bid to avoid paying US$250M bonus

https://www.theguardian.com/technology/2026/mar/18/subnautica-2-publisher-krafton-ceo-reinstated-...
3•doppp•56m ago•1 comments

Moanpoint: Maps TrackPoint pressure to audio output

https://github.com/nicolasgutierrezdev/moanpoint
1•neptunianalien•58m ago•0 comments

Decline in U.S. overdose deaths threatened by changing street drug supply

https://text.npr.org/nx-s1-5783750
1•1659447091•59m ago•0 comments

New AI capabilities are coming to Google Vids, powered by Lyria 3 and Veo 3.1

https://blog.google/products-and-platforms/products/workspace/google-vids-updates-lyria-veo/
3•spaghettifythis•1h ago•1 comments

The Stern-Gerlach Experiment (1967)[video]

https://www.youtube.com/watch?v=AcTqcyv-V1I
1•nill0•1h ago•0 comments

Show HN: BSCS Bench – College CS Curriculum AI Benchmark

https://www.bscsbench.com/
1•charlielockyer•1h ago•0 comments

Bessent: Order requiring banks to collect citizenship information in process

https://thehill.com/homenews/administration/5830266-trump-executive-order-banking-system-citizens...
1•KnuthIsGod•1h ago•0 comments

The Complete Briggs and Stratton Buckboard Flyer Build [video]

https://www.youtube.com/watch?v=xzYwGcX3CwA
1•pillars•1h ago•0 comments

GPT-5.4 Pro solves Erdős Problem #1196

https://twitter.com/i/status/2044051379916882067
2•fratellobigio•1h ago•1 comments

Create a Blog on GitHub with Markdown in 15-Minutes

https://joeldare.com/create-a-blog-on-github-with-markdown-in-15-minutes
1•codazoda•1h ago•0 comments