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•1y 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

Show HN: Online Block Blast Solver – helps you find the best move when stuck

https://onlineblockblastsolver.com/
1•huzaifasinan•1m ago•0 comments

The Magnetic Shadow Effect [video]

https://www.youtube.com/watch?v=MuvuxHXLzls
1•thunderbong•3m ago•0 comments

Box Drawing

https://en.wikipedia.org/wiki/Box_Drawing
1•tosh•4m ago•0 comments

After centuries of trying, we've yet to arrive at a perfect way to map colour [video]

https://aeon.co/videos/after-centuries-of-trying-weve-yet-to-arrive-at-a-perfect-way-to-map-colour
1•the-mitr•7m ago•0 comments

Is This the Dawn of the Tokenpocalypse?

https://techcrunch.com/2026/06/07/is-this-the-dawn-of-the-tokenpocalypse/
3•pseudo-usama•9m ago•0 comments

How to Spot Greenwashing Claims When You Travel

https://www.wired.com/story/how-to-spot-greenwashing-when-you-travel/
2•joozio•9m ago•0 comments

Show HN: Free 26-Source Financial Data API with Free Inference

https://bluedoor.sh/apis/financial-data
2•ahshucks•10m ago•0 comments

Altshiftx_vested_100

https://altshiftx.tech/pricing
2•Magna_Dev•11m ago•1 comments

Training an LLM in Swift, Part 2: macOS built-in frameworks

https://www.cocoawithlove.com/blog/macos-ml-frameworks.html
2•cl3m•16m ago•0 comments

Why the Future Doesn't Need Us (2000)

https://web.archive.org/web/20160210081017/http://www.wired.com/2000/04/joy-2/
2•reasonableklout•17m ago•0 comments

How much of Thermo Fisher's antibody data has been manipulated?

https://reeserichardson.blog/2026/05/28/how-much-of-thermo-fishers-antibody-data-has-been-manipul...
3•mhrmsn•19m ago•0 comments

Condition Number

https://en.wikipedia.org/wiki/Condition_number
3•tosh•21m ago•0 comments

The Small-Business Owners Managing Whole Armies of A.I. Employees

https://www.nytimes.com/2026/06/04/magazine/ai-agents-openclaw-small-business.html
2•littlexsparkee•21m ago•0 comments

Show HN: A hand-wired keyboard for animals with opposable thumbs

https://github.com/Roshanjossey/adipoli
2•sudo_bangbang•22m ago•0 comments

Software buyout deals collapse to lowest level since pandemic after AI rout

https://www.ft.com/content/c7db2d6e-8dec-4de0-9f1c-f73f7e905387
3•thm•24m ago•0 comments

SlimTide Fake vs. Real: Don't Buy Until You Read This Alert

https://act.autismspeaks.org/site/TR/TeamUp/TeamUp-InReview?pg=personal&px=6757942&fr_id=7462
2•watyzaru•25m ago•0 comments

Encyclopedia of 500+ Longevity Evidence Reviews

https://lifespan.io/forever-healthy-foundation-launches-evipedia-ai/
2•negura•28m ago•0 comments

Lev Vygotsky

https://en.wikipedia.org/wiki/Lev_Vygotsky
2•XzetaU8•29m ago•0 comments

They're required to tell you how to beat them

https://julienreszka.com/blog/they-re-required-to-tell-you-how-to-beat-them/
5•julienreszka•32m ago•0 comments

Do not distracted website blocker Chrome extension

https://chromewebstore.google.com/detail/do-not-distracted/gacffmmkpjfmepihjjhhlhleepjlmbaj
2•kd149•34m ago•1 comments

I built Vitra a local‑first desktop app that turns Oura data into daily guidance

https://www.indiehackers.com/post/i-built-vitra-a-local-first-desktop-app-that-turns-oura-data-in...
2•MrPFT•35m ago•0 comments

The Most Surprising Economic Success Story Is North Korea

https://www.wsj.com/world/asia/north-korea-economy-success-e80f7062
3•jmsflknr•37m ago•0 comments

The missing layer in autonomous command systems is decision validity, not speed

https://vulpesetleo.substack.com/p/the-kill-chain-has-a-thinking-problem
5•hnjm•37m ago•1 comments

Ask HN: How do I whitelist commands in Antigravity?

4•madprops•40m ago•0 comments

Anthropic and OpenAI should not be allowed to go public, says Ed Zitron

https://www.youtube.com/watch?v=zbKDmkJPVvI
4•doener•40m ago•0 comments

StepFun IPO

https://www.wsj.com/tech/ai/chinese-ai-startup-stepfun-set-to-file-for-hong-kong-ipo-3e436976
4•bent123•41m ago•0 comments

The Mythmaker at Anthropic

https://om.co/2026/06/07/the-myth-the-mythos-and-the-man/
4•tobolek•44m ago•0 comments

How to Train Your Goblin

https://goblins.mchen.workers.dev/
4•rrampage•57m ago•0 comments

Show HN: FinMind AI – an AI copilot for investing and daily finances

https://finmindai-moneyverse.vercel.app/
3•heroboy•1h ago•0 comments

Show HN: One API Key for 45 AI Models – Pay per Token, OpenAI Compatible

https://modelhub-api.com
3•Eolab•1h ago•0 comments