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

Century-Old Cleaning Chemical Linked to 500% Increased Risk of Parkinson's Desea

https://scitechdaily.com/century-old-cleaning-chemical-linked-to-500-increased-risk-of-parkinsons...
1•myth_drannon•18s ago•0 comments

FAA Scraps Civil and Criminal Penalties for Flying Drones Near ICE Vehicles

https://www.404media.co/faa-scraps-civil-and-criminal-penalties-for-flying-drones-near-ice-vehicles/
2•pavel_lishin•4m ago•1 comments

FireImg, A new tool for streamlining image generation

https://www.fireimg.com/demo/
1•mjnestor•4m ago•0 comments

Linux? In My Web Browser? – How to Bring Up the Linux Kernel

https://werwolv.net/posts/linux_in_my_browser/
1•WerWolv•6m ago•0 comments

Good Software Doesn't Double Check

https://www.boristhebrave.com/2026/04/17/good-software-doesnt-double-check/
1•speckx•8m ago•0 comments

Juggling by Numbers

https://www.numberphile.com/videos/juggling-by-numbers
1•ColinWright•9m ago•1 comments

A Visual History of Programming Languages

https://sheets.works/data-viz/every-language
1•birdculture•10m ago•0 comments

NeoGeo AES+: SNK announces reissue of retro console without emulation

https://www.heise.de/en/news/NeoGeo-AES-SNK-announces-reissue-of-retro-console-without-emulation-...
2•doener•10m ago•0 comments

The Case for Fixing Everything

https://www.technologyreview.com/2026/04/17/1135408/book-review-stewart-brand-fixing-everything-m...
1•Brajeshwar•11m ago•0 comments

Charts of the Week: Are Tech Stocks Cheap?

https://www.a16z.news/p/charts-of-the-week-is-tech-cheap
1•7777777phil•12m ago•0 comments

Voight-Kampff-Neo

https://klaxzy.net/var/log/202603-voight-kampff-neo.html
1•klaxzygen•16m ago•0 comments

Scientists have successfully measured the instantaneous power of black hole jet

https://www.nature.com/articles/s41550-026-02828-3
1•modinfo•19m ago•0 comments

Back When Smoking Was Rewarded

https://creativepro.com/scanning-around-gene-back-when-smoking-was-rewarded/
2•austinallegro•21m ago•0 comments

CachyOS Is Now the Most Popular Desktop Distro on ProtonDB

https://boilingsteam.com/cachy-os-is-now-the-most-popular-distro-on-proton-db/
3•clircle•21m ago•1 comments

Extinct Cousin Loved Eating Grass [video]

https://www.youtube.com/watch?v=QD7E-gf74w0
1•gmays•21m ago•0 comments

Age verification is a mess but we're doing it anyway

https://www.theverge.com/policy/913038/age-verification-flaws
1•speckx•22m ago•0 comments

We Disagree on a Lot. But We Know This Law Must Change

https://www.nytimes.com/2026/04/17/opinion/section-702-surveillance-safe-act.html
1•Cider9986•22m ago•0 comments

American farmers bet on solar. Then Trump changed the rules

https://grist.org/food-and-agriculture/american-farmers-bet-on-solar-then-trump-changed-the-rules/
2•speckx•22m ago•0 comments

EuroLLVM 2026 Round Table Summary: MLIR Canonicalization

https://discourse.llvm.org/t/eurollvm-2026-round-table-summary-mlir-canonicalization/90588
1•matt_d•23m ago•0 comments

The American consumer market is larger than the EU and China's combined

https://en.wikipedia.org/wiki/List_of_largest_consumer_markets
3•jjmarr•26m ago•0 comments

xAI has Released Grok 4.3 (beta)

https://twitter.com/techdevnotes/status/2045072883206991973
5•sergiotapia•27m ago•0 comments

Robots learn: A brief, contemporary history

https://www.technologyreview.com/2026/04/17/1135416/how-robots-learn-brief-contemporary-history/
1•Brajeshwar•27m ago•0 comments

MoqBoy: Anarchy Gameboy Player

https://moq.dev/blog/moq-boy/
1•kixelated•27m ago•0 comments

Gen Z is 10 times more accepting of violence against speakers than Boomers

https://expression.fire.org/p/gen-z-is-10-times-more-accepting
3•delichon•28m ago•0 comments

Our Longing for Inconvenience

https://www.newyorker.com/culture/essay/our-longing-for-inconvenience
2•giraffe_lady•29m ago•0 comments

Show HN: Waputer – The WebAssembly Computer

https://waputer.app
1•marcandrysco•29m ago•0 comments

Show HN: Bookmark Tool in Common Lisp

https://github.com/ediw8311xht/cl-bookmark-tool
1•landdate•31m ago•0 comments

The Puppetmaster reveals his form

https://asimpleman333.github.io/Aurora2/
2•rogmash•32m ago•0 comments

Manage agent skills with GitHub CLI

https://github.blog/changelog/2026-04-16-manage-agent-skills-with-github-cli/
1•dangoor•34m ago•0 comments

Playdate won't have games using AI-generated assets

https://www.gamedeveloper.com/production/panic-won-t-release-playdate-titles-that-use-some-forms-...
3•glimshe•35m ago•0 comments