frontpage.
newsnewestaskshowjobs

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 all: TacUNS – A free Android firewall I built solo over weekends

https://play.google.com/store/apps/details?id=com.tacu.nsfwzerotrust&hl=en_US
1•Tacuns•2m ago•0 comments

Austral

https://austral-lang.org/
2•tosh•2m ago•0 comments

Paste a meeting transcript, get a 30-60-90 day plan (runs locally, no LLM)

https://everpaula.github.io/marketplace-ops-toolkit/operating-plan-generator.html
1•notreve•2m ago•0 comments

Your AI Needs Scar Tissue

https://dev.to/gauzzastrip/your-ai-coding-agent-needs-scar-tissue-4g66
1•stevendeluth•2m ago•0 comments

Snap Launches $2,195 'Specs' Augmented Reality Glasses

https://www.macrumors.com/2026/06/16/snap-specs-ar-glasses/
1•bookofjoe•2m ago•0 comments

Mleak – mail metadata osint – latest release

https://addons.thunderbird.net/az/thunderbird/addon/mleak-mail-metadata-osint/
2•dash0r•3m ago•0 comments

Australian Trusted Logistics

https://www.tways.com.au
1•reidgyz•4m ago•0 comments

I Did the Animorphs Covers – By David Mattingly

https://myadventuresasanillustrator.substack.com/p/how-i-did-the-animorphs-covers
1•pavel_lishin•4m ago•0 comments

Apple collects every tap to deliver App Store personalized recommendations

https://xcancel.com/mysk_co/status/2064401062224879888
1•microflash•4m ago•0 comments

Autocatalytic Set

https://en.wikipedia.org/wiki/Autocatalytic_set
1•-_-•5m ago•0 comments

Beijing's New Message to Its Citizens: Your Money Belongs at Home

https://www.nytimes.com/2026/06/16/business/chinese-investors-restrictions.html
1•mikhael•6m ago•0 comments

How We Shipped Git-flow-next 1.0 Almost Entirely with AI

https://git-flow.sh/blog/posts/how-we-shipped-git-flow-next-1-0-with-ai/
2•speter•6m ago•0 comments

Setting the Standards Free

https://www.smpte.org/setting-the-standards-free
2•M2Ys4U•7m ago•0 comments

How Waterproof Is Oura Ring 5?

https://ouraring.com/blog/is-oura-ring-5-waterproof/
1•ilreb•7m ago•0 comments

"Mythos" at Home, and It's Called Aisle

https://stanislavfort.substack.com/p/mythos-at-home-and-its-called-aisle
3•goobreee•9m ago•0 comments

Translating with AI Does Not Trigger AI Detectors

https://translateabook.com/blog/ai-translation-does-not-trigger-ai-detectors
2•yoble•9m ago•0 comments

New Human Verification System for R/indiehackers

https://old.reddit.com/r/indiehackers/comments/1pk2rzb/new_human_verification_system_for_our_subr...
2•mmarian•10m ago•0 comments

Georgia is losing farmland fast. Is a state conservation fund enough to save it?

https://grist.org/food-and-agriculture/georgia-is-losing-farmland-fast-is-a-state-conservation-fu...
2•speckx•10m ago•0 comments

We got our AI code reviewer to run your code

https://www.greptile.com/blog/trex-code-execution
2•dakshgupta•11m ago•0 comments

Show HN: OctoPunk – a full-featured, AI-integrated GitHub client

https://www.octopunk.io/blog/introducing-octopunk
3•ldelossa•11m ago•0 comments

UChicago freezes PhD admissions to most humanities programs

https://www.hpherald.com/evening_digest/u-of-c-freezes-ph-d-admissions-to-most-humanities-program...
4•throw0101c•12m ago•2 comments

Agentic coding deserves more than a chat box bolted onto VS Code

https://github.com/evanklem/polypore
3•evanklem2004•13m ago•0 comments

Amazon Bedrock Managed Knowledge Base

https://aws.amazon.com/blogs/aws/introducing-amazon-bedrock-managed-knowledge-base-for-faster-mor...
2•ilreb•14m ago•0 comments

The technology and labour behind electronic death registration

https://www.cambridge.org/core/journals/medical-history/article/reengineering-us-death-data-colle...
2•danso•15m ago•0 comments

Solve Everything: Achieving Abundance by 2035 (AI's Impact)

https://www.solveeverything.org/
2•rramadass•15m ago•0 comments

Judge Rules Blacked.com Can Sue Meta for Scraping Its Porn

https://www.404media.co/judge-rules-blacked-com-can-sue-meta-for-scraping-its-porn/
2•pavel_lishin•15m ago•0 comments

Show HN: Artifacta – Durable storage for agent outputs

https://artifacta.io
2•jnakano89•15m ago•0 comments

Revert camera sound implementation in 26Q2

https://android.googlesource.com/platform/frameworks/base/+/e78bddb354dc719b8efe437030e4e5869e5ca...
2•zb3•15m ago•1 comments

Why do these Castro gay bars have TSA-style face scanners?

https://sf.gazetteer.co/why-do-these-castro-gay-bars-have-tsa-style-face-scanners
4•pavel_lishin•16m ago•0 comments

French physicist and media star loses doctorate after plagiarism investigation

https://www.science.org/content/article/french-physicist-and-media-star-loses-doctorate-after-pla...
6•bookofjoe•16m ago•0 comments