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: When I submit my "Show HN" still toonew?

1•krishSingaria•4m ago•1 comments

The debt beneath the AI build out

https://om.co/2026/03/09/the-debt-beneath-the-dream/
1•rwmj•6m ago•0 comments

ChinaDocs – Official Government Documents of the People's Republic of China

https://www.chinadocs.org/
1•dluan•8m ago•0 comments

Harmandeep Singh Kandhari: Championing Discipline-Driven Fitness

1•harmankandhari•13m ago•0 comments

Starlink Militarization and Its Impact on Global Strategic Stability

https://interpret.csis.org/translations/starlink-militarization-and-its-impact-on-global-strategi...
3•msuniverse2026•20m ago•0 comments

Claude Code: 32K issues, 49% bot-closed – one bug cluster's lifecycle

https://gist.github.com/azkore/934e5387579efb17e1080402efedf13d
2•azcore•22m ago•1 comments

Ask HN: Is Another Editor Needed?

1•gethly•24m ago•0 comments

Chern Number

http://albi3ro.github.io/M4/QAHE.html
1•marysminefnuf•28m ago•0 comments

Megadev: A Development Kit for the Sega Mega Drive and Mega CD Hardware

https://github.com/drojaazu/megadev
2•XzetaU8•30m ago•0 comments

PowerSchool: Entry vs. Execution

1•Olsberg•35m ago•0 comments

'You are all worse than each other': anti-regime Iranians turn on Trump

https://www.theguardian.com/world/2026/mar/14/anti-regime-iranians-turn-on-trump-us
4•prmph•36m ago•0 comments

Fooorma: Open-Source Procedural Art Studio

https://github.com/elenatorro/fooorma
1•elenathor•39m ago•1 comments

China 15th 5 Year Plan (Official English Translation)

https://www.news.cn/politics/20260313/085af5de5a4b4268aa7d87d90817df2f/c.html
1•hunglee2•42m ago•0 comments

Age Verification Lobbying: Dark Money, Model Legislation, Institutional Capture

https://tboteproject.com
31•mefengl•42m ago•3 comments

Ask HN: How do you guys deal with enshittification mentally?

2•dvrp•43m ago•1 comments

James Nachtwey: War Photographer (2001) [video]

https://www.youtube.com/watch?v=FUiohIC1dYU
1•doener•46m ago•1 comments

Chinadocs: Public Database of Official Gov Documents of PRC

https://www.chinadocs.org/?v=2966bda86bca80f39001000c49fb5fee
1•hunglee2•47m ago•0 comments

Show HN: TriGame – Guess the area of a triangle made by cities

https://6kotnk.github.io/TriGame/
1•6Kotnk•48m ago•0 comments

Underwater data center powered by tidal energy proposed off the coast of Maine

https://www.quoddytides.com/proposed-tidal-project-would-power-underwater-ai-data-center/
1•giuliomagnifico•48m ago•0 comments

Show HN: Connections Game in 195 Languages

https://apps.apple.com/us/app/lingopop-language-learning/id6759921592
1•pnhoang•48m ago•0 comments

Psi-Commit – Cryptographic Commitments Anchored to Bitcoin via OpenTimestamps

https://psicommit.com
1•RayanROghabian•49m ago•1 comments

Room 641A

https://en.wikipedia.org/wiki/Room_641A
2•mxmilkiib•49m ago•0 comments

Show HN: HN Buddy – a Hacker News Chrome extension

https://github.com/karnagebitcoin/HN-Buddy
1•a1n•49m ago•0 comments

LearnCro Mobile and web application for learning the Croatian language– level B1

https://b1.ffzg.hr/
1•taubek•50m ago•0 comments

Send a Beautiful Digital Bouquet

https://digibouquet.net/
1•td2375671•51m ago•1 comments

Show HN: Markitdown in Go

https://github.com/conductor-oss/markitdown
4•opiniateddev•51m ago•0 comments

Show HN: ProjectFalcon – First Native Java at Protocol Implementation

https://github.com/JohannaWeb/ProjectFalcon
1•JohannaWeb•51m ago•0 comments

Give Agents Maximum Freedom. The less you assume, the more it works

https://browser-use.com/posts/agent-freedom
1•gregpr07•52m ago•0 comments

Star Wars Bounty Hunter Names – Mercenary Name Guide and Generator for Fans

https://starwarsnamegenerator.com/blog/bounty-hunter-names-ideas
1•Jaxon_Varr•52m ago•1 comments

Show HN: Vector databases are the wrong primitive for AI agents

https://github.com/brainfish-ai/ReasonDB
1•ajainvivek•52m ago•1 comments