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

It is time to build a new internet

https://mrmarket.bearblog.dev/it-is-time-to-build-a-new-internet/
1•mrmarket•3m ago•0 comments

Gopass: The slightly more standard Unix password manager for teams

https://github.com/gopasspw/gopass
1•thunderbong•6m ago•0 comments

Shitfixer.app – helps you reframe negative experiences and find optimism

https://shitfixer.app/
1•tonytonev•9m ago•0 comments

Nx Console v18.95.0 Postmortem

https://nx.dev/blog/nx-console-v18-95-0-postmortem
1•winebarrel•9m ago•0 comments

ReCardEx – AI product photos, infographics and videos for e-commerce sellers

https://recardex.com/en
1•masteriza•11m ago•0 comments

Riot Games celebrates bricking cheat devices

https://twitter.com/riotgames/status/2057604027941302564
3•indrora•17m ago•2 comments

Ground equipment problem scrubs Starship launch attempt

https://spacenews.com/ground-equipment-problem-scrubs-starship-launch-attempt/
2•JumpCrisscross•17m ago•0 comments

White House yanked AI order after David Sacks raised industry concerns

https://www.politico.com/news/2026/05/21/trump-ai-order-sacks-00933295
1•JumpCrisscross•19m ago•0 comments

Best Practices to Produce Maintainable Code with AI [video]

https://vimeo.com/1194574163
1•Austin_Conlon•21m ago•0 comments

Show HN: Pocket TTS running in (mobile) Safari

https://ldenoue.github.io/xn-ptts/
1•ldenoue•21m ago•0 comments

Three matrix algorithms, three walk orders – interactive animations

https://algo-rhythm.dev/en/matrix/
5•bytego•27m ago•0 comments

Wolfram Language

https://www.wolfram.com/language/
2•maxall4•31m ago•0 comments

It's Time to Walk

https://www.inferterra.com/the-new-workspace-a-first-principles-exploration-of-dictation-agents-a...
1•matt_teresi•32m ago•1 comments

Guesstimate

https://en.wikipedia.org/wiki/Guesstimate
1•teleforce•34m ago•0 comments

NVSX: Adopt NVSentinel the Easy Way

https://github.com/nav-beep/nvsx
1•essekar•37m ago•0 comments

SpaceX announced Starship flyby of Mars

https://twitter.com/SPACEdotcom/status/2057603078711394402
1•decimalenough•37m ago•1 comments

AI Slop and the Vulnerability Treadmill

https://redmonk.com/kholterhoff/2026/05/05/ai-slop-vulnerability-treadmill/
1•mooreds•42m ago•0 comments

Read Meta's Layoff Email to Employees

https://www.businessinsider.com/read-meta-layoff-email-employees-2026-5
3•mooreds•42m ago•1 comments

The AI-Native Interview

https://sierra.ai/blog/the-ai-native-interview
1•mooreds•42m ago•0 comments

DApp Inspector – DevTools Panel for Web3 RPC Traffic

https://github.com/beilunyang/dapp-inspector-extension
1•beilunyang•44m ago•0 comments

Show HN: Deputies, an open source background agent

https://deputies.dev/
1•spalas•48m ago•0 comments

Samsung chip workers will get an average $340k bonus as AI profits soar

https://qz.com/samsung-chip-workers-bonus-ai-profits-052126
15•carabiner•52m ago•2 comments

Iran Moved Billions Through Binance to Fund Regime–Continuing into This Month

https://www.wsj.com/world/middle-east/iran-binance-crypto-military-e755b218
11•JumpCrisscross•55m ago•0 comments

Title: Tax season felt chaotic at my accounting firm, so I built this

https://taxassembly.com/
2•jaychooo•56m ago•2 comments

Why does it look like LLMs consistently overestimate implementation time?

2•bridgettegraham•56m ago•1 comments

Crypto and AI-Funded Super PACs Are Metastasizing

https://www.thenation.com/article/politics/crypto-ai-super-pacs-election-spending-big-tech-dark-m...
1•petethomas•1h ago•0 comments

'Broadview Six' defendants have all remaining charges dismissed

https://www.nbcchicago.com/news/local/chicago-politics/broadview-six-defendants-have-all-remainin...
2•petethomas•1h ago•0 comments

Consumer groups file complaint against Meta, TikTok and Google running scam ads

https://www.beuc.eu/press-releases/consumer-groups-file-complaints-against-meta-tiktok-and-google...
3•benoau•1h ago•0 comments

Merkel Urges EU to Keep Regulating Social Media Speech

https://reclaimthenet.org/merkel-eu-speech-regulation-censorship
1•Cider9986•1h ago•0 comments

Homemade robot fluff ball with a realistic eye

https://www.instagram.com/reel/DYnsNwlzxG5/
1•authorisedfrog•1h ago•0 comments