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

Ask HN: Founder is claiming my 2-year RAG architecture as his AI's Featured Work

1•2dogsanerd•3m ago•0 comments

PrivAI – private AI search that runs locally

https://chatpdf-server-shtq.onrender.com/
1•Blockbanana•4m ago•1 comments

How to try Google Chrome vertical tabs

https://9to5google.com/2026/01/19/google-chrome-vertical-tabs-beta/
1•tosh•8m ago•0 comments

Apple Rankings

https://applerankings.com/
1•thunderbong•13m ago•0 comments

Alysa Liu Won Olympic Gold, but She Would've Been Fine Either Way

https://www.teenvogue.com/story/alysa-liu-olympic-gold-teen-vogue-cover-interview-2026
1•Tomte•14m ago•0 comments

What does it take for male friendship to thrive?

https://www.csmonitor.com/Books/Book-Reviews/2026/0313/who-needs-friends-andrew-mccarthy-male-fri...
2•Tomte•15m ago•0 comments

Palantir CEO on Iran, AI Weapons and America's Advantage: A16Z American Dynamism [video]

https://www.youtube.com/watch?v=Wj6ttdIeBnE
1•keepamovin•16m ago•0 comments

Agents prefer structured queries over natural language when given the choice

3•snoren•19m ago•1 comments

Solo founder launching my first product on producthunt can I get some support

1•dattapt•19m ago•0 comments

Trump administration to be paid $10B for brokering TikTok deal

https://www.theguardian.com/technology/2026/mar/14/tiktok-trump-administration-10bn
1•gizzlon•20m ago•0 comments

Zirco.ai – AI employee for dental front desk operations

1•vosidov-msaid•24m ago•0 comments

I built an AI hedge fund panel that debates any stock

https://ainvest-jnpzmtom62rulztvu24d6c.streamlit.app/
1•lovvoong•26m ago•0 comments

Biased AI writing assistants shift users' attitudes on societal issues

https://www.science.org/doi/10.1126/sciadv.adw5578
2•tobr•30m ago•0 comments

Built by Americans. Captured by Foreigners

https://twitter.com/chiefengineerce/status/2032927887943417991
4•MrBuddyCasino•32m ago•1 comments

Show HN: Real-Time Visualization of Anthropic's Toy Models of Superposition

https://github.com/danra/toy_models
1•danra•33m ago•0 comments

Centurion – K8s-style resource scheduler for AI coding agents (open source)

https://github.com/spacelobster88/centurion
1•xinhat•36m ago•1 comments

Flowcus: Visualize your task management workflow

https://getflowcus.app
1•ahamez•38m ago•0 comments

Ray Dalio: I fear we're entering the most dangerous phase of the 'Big Cycle'

https://fortune.com/2026/03/14/ray-dalio-big-cycle-debt-crisis-political-disorder-world-order/
4•ako•39m ago•1 comments

SpiceCrypt: A Python library for decrypting LTspice encrypted model files

https://github.com/jtsylve/spice-crypt
1•luu•43m ago•0 comments

Python → native x86-64, no runtime, no GIL, NO LLVM

https://github.com/AndreeSalazar/PyDead-BIB
2•QDanteX•46m ago•1 comments

Apple's MacBook Pro 14 cannot handle the M5 Max

https://www.notebookcheck.net/Apple-s-MacBook-Pro-14-cannot-handle-the-M5-Max.1249861.0.html
2•virgildotcodes•52m ago•0 comments

Anything Will Lase If You Hit It Hard Enough

https://maximumeffort.substack.com/p/anything-will-lase-if-you-hit-it
1•dblack12705•52m ago•1 comments

China is wrestling with a novel phenomenon: inherited wealth

https://www.economist.com/briefing/2026/03/12/china-is-wrestling-with-a-novel-phenomenon-inherite...
2•Jiahang•57m ago•0 comments

China's hereditary elite is taking shape

https://www.economist.com/leaders/2026/03/12/chinas-hereditary-elite-is-taking-shape
1•Jiahang•58m ago•0 comments

What Your AI Tool Selection Says About You (Programmer Edition)

https://effective-programmer.com/what-your-ai-tool-selection-says-about-you-programmer-edition-54...
2•naveed125•1h ago•2 comments

Vibe Create Hardware

https://www.blueprint.am/
1•David-Feldt•1h ago•1 comments

StorageReview Sets New Pi Record: 314T Digits on a Dell PowerEdge R7725

https://www.storagereview.com/review/storagereview-sets-new-pi-record-314-trillion-digits-on-a-de...
1•y1n0•1h ago•0 comments

Ask HN: Med student interested in bci startups..where do I start?

1•Sxouterred•1h ago•1 comments

OpenClaw for Your Dad

https://picnicos.com/
2•basiclaser•1h ago•4 comments

Show HN: OpenClaw-superpowers – Self-modifying skill library for OpenClaw agents

https://github.com/ArchieIndian/openclaw-superpowers
8•Arkid•1h ago•0 comments