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

Make Claude Code Sing

https://github.com/harajlim/vibe-sing
1•mharajli•1m ago•1 comments

Preserving Fisher-Price Pixter

https://dmitry.gr/?r=05.Projects&proj=37.%20Pixter
1•dmitrygr•1m ago•0 comments

Self

https://en.wikipedia.org/wiki/Self_(programming_language)
1•tosh•2m ago•0 comments

Why Attitudes Towards Intelligence Matter in Universities

1•AroosaKhalil•4m ago•0 comments

Strong Views on PostgreSQL VIEWs

https://boringsql.com/posts/strong-views/
1•radimm•4m ago•0 comments

Five years before I saw Smalltalk

https://lists.selflanguage.org/pipermail/self-interest/2020-November/004777.html
1•tosh•9m ago•0 comments

Agent Patterns for AI Agent Development

https://agentpatterns.ai/
1•ankitg12•9m ago•0 comments

AI Agents Have Two Souls. You Only Control One

https://auth0.com/blog/ai-agents-have-two-souls-you-control-only-one/
1•andychiare•12m ago•0 comments

Mythos Finds a Curl Vulnerability

https://daniel.haxx.se/blog/2026/05/11/mythos-finds-a-curl-vulnerability/
2•TangerineDream•15m ago•0 comments

The 1,001 Days of the Turkey

1•DIGITALIGENCE•16m ago•0 comments

Software Development Is Becoming a Factory Job

https://www.vincentschmalbach.com/software-development-is-becoming-a-factory-job/
2•vincent_s•18m ago•0 comments

Predictions about AI and software development

https://adamfletcher.com/writing/10-ai-predication-may-2026/
3•afletcher•20m ago•0 comments

Spec-Driven Development with Spec Kit and Claude Code

https://medium.com/vibecodingpub/spec-driven-development-with-spec-kit-and-claude-code-7e2957fd2c9b
2•SaeedZF•21m ago•0 comments

South Park Theme Song Remix

https://www.youtube.com/watch?v=GWmU7tW_0RQ
2•ninjahawk1•27m ago•0 comments

Donald Trump Buffalo

https://www.youtube.com/watch?v=yezUKYJpzZ8
1•riasatsk•27m ago•0 comments

Best Sugar Daddy Apps and Dating Sites of 2026

https://bestsugardaddyapps.com/
1•hankerapp•28m ago•0 comments

Biblio, a 3D bookshelf app, organise your ePub files, PDFs, or physical book

https://biblio.ink/
1•perthz•31m ago•1 comments

Resilience Engineering Papers

https://github.com/lorin/resilience-engineering
1•azhenley•32m ago•0 comments

Garry Tan's GBrain – most important idea of the year

https://twitter.com/garrytan/status/2053127519872614419
2•oger•34m ago•1 comments

Fighting Hyrum's Law in LLVM

https://maskray.me/blog/2026-05-10-fighting-hyrums-law-in-llvm
1•ingve•36m ago•0 comments

Report shows banned non-fiction books doubled over last school year in US

https://www.theguardian.com/books/2026/may/07/banned-non-fiction-books-doubles
1•doener•36m ago•0 comments

I built a Gmail cleaner that runs automatically every Monday

https://inboxclean.email
1•festivilia•38m ago•0 comments

Segue – An illustrated free vocabulary builder

https://segue.app
1•stoicfungi•45m ago•0 comments

State aware AI agent shitfest – with rules – that helps move code

https://github.com/hghallTAZ/THE_ROOM
2•hghall•51m ago•0 comments

Reimplement GitHub for Agents

https://github.com/ngaut/agent-git-service
1•ngaut•56m ago•0 comments

Designing the Right PostgreSQL Index Using Query Plans and Statistics

https://beh74.github.io/pgassistant-blog/post/query_advisor/
1•bertrandhartwig•57m ago•0 comments

Up to 256 MB FERRIT modular F-RAM storage preserves data up to 200 years

https://www.cnx-software.com/2026/05/11/up-to-256-mb-ferrit-modular-f-ram-storage-device-preserve...
3•jandeboevrie•1h ago•0 comments

Everest 2026: The Critical Logistics of the Golden Window When to Go

https://www.wfy24.com/en/article/everest-2026-golden-window-dead-zone-survival-guide
2•weatherfun•1h ago•0 comments

The Firmbyte Gap: Why the Most Valuable Connections Never Happen

https://bjro.dev/posts/the-firmbyte-gap/
2•rapnie•1h ago•0 comments

Why you're probably going to lose money on Polymarket

https://www.msn.com/en-us/money/investment/why-you-re-probably-going-to-lose-money-on-polymarket/...
1•Gaishan•1h ago•1 comments