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

Pickling Compute

https://blog.val.town/pickling
1•stevekrouse•59s ago•0 comments

Continuous Architectural Memory

https://github.com/blas0/Severance
1•blas0•1m ago•1 comments

Bicameral Right to Read Act Would Boost Federal Investment in Literacy Programs

https://www.ala.org/news/2025/12/bicameral-right-read-act-would-boost-federal-investment-literacy...
1•hn_acker•1m ago•0 comments

Researcher finds Chinese KVM has undocumented microphone,communicates with China

https://www.tomshardware.com/tech-industry/cyber-security/researcher-finds-undocumented-microphon...
2•mohi-kalantari•1m ago•0 comments

Paramount hostile bid for Warner Bros., challenging offer by Netflix

https://apnews.com/article/paramount-warner-bros-discovery-netflix-trump-347540ae7a4f83fced833fe8...
2•josephwegner•3m ago•0 comments

A 400-Year-Old Ring That Unfolds to Track the Movements of the Heavens

https://www.openculture.com/2025/11/a-400-year-old-ring-that-unfolds-to-track-movements-of-the-he...
2•PaulHoule•3m ago•0 comments

Valknut: Code Intelligence for Agents

https://sibylline.dev/products/valknut/
2•CuriouslyC•3m ago•0 comments

Gpui-component v0.5.0 released: dividers, more charts, settings component

https://github.com/longbridge/gpui-component/releases/tag/v0.5.0
2•klaussilveira•3m ago•0 comments

Thaura – Your Ethical AI Companion – Thaura

https://thaura.ai/home
2•lladnar•4m ago•0 comments

Bird-of-paradise inspires darkest fabric ever made

https://news.cornell.edu/stories/2025/12/bird-paradise-inspires-darkest-fabric-ever-made
2•belter•4m ago•0 comments

A Bidding War for Warner Bros

https://www.bloomberg.com/opinion/newsletters/2025-12-08/a-bidding-war-for-warner-bros
2•feross•5m ago•0 comments

Show HN: I built a bookmarks assistant that sends updates on your saved links

https://tryeyeball.com/
2•quinto_quarto•5m ago•0 comments

How Did Microsoft Fumble the AI Ball So Badly?

https://schneidenba.ch/microsoft-fumbled-the-ai-ball/
3•schneidenbach•5m ago•0 comments

Eddie Slovik

https://en.wikipedia.org/wiki/Eddie_Slovik
5•jethronethro•6m ago•0 comments

The Missing Manual for Hybrid Search in PostgreSQL

https://www.paradedb.com/blog/hybrid-search-in-postgresql-the-missing-manual
2•jamesgresql•6m ago•1 comments

Las Vegas is in trouble. Everyone has a theory about why. Now I do, too

https://slate.com/business/2025/11/las-vegas-travel-sphere-hotel-donald-trump.html
2•walterbell•7m ago•0 comments

The Risk of Being Kidnapped by a Stranger?

https://letgrow.org/crime-statistics/
1•pcaharrier•7m ago•0 comments

Golang's Big Miss on Memory Arenas

https://avittig.medium.com/golangs-big-miss-on-memory-arenas-f1375524cc90
1•birdculture•8m ago•0 comments

Which of my HN comments get upvoted?

2•sema4hacker•11m ago•1 comments

THEA1200 is a full-size working Amiga replica

https://www.theregister.com/2025/11/14/thea1200_fullsize_amiga_replica/
2•rbanffy•11m ago•0 comments

Commento.io Has Been Down

https://commento.io
2•hakunin•12m ago•2 comments

Trials Avoid High Risk Patients and Underestimate Drug Harms

https://www.nber.org/papers/w34534
1•bikenaga•15m ago•1 comments

Cybercrims arrested, accused of plotting 'violence-as-a-service'

https://www.theregister.com/2025/12/08/european_cops_arrest_193/
1•Bender•15m ago•0 comments

IBM Z17 Time Synchronization Resiliency Enhancements – Planet Mainframe

https://planetmainframe.com/2025/10/ibm-z17-time-synchronization-resiliency-enhancements/
3•rbanffy•15m ago•1 comments

Android Zero-Days Patched in December 2025 Security Update

https://www.securityweek.com/androids-december-2025-updates-patch-two-zero-days/
1•Bender•16m ago•0 comments

$60M Wyoming Rare Earth Plant to Challenge China Nears Full Operation

https://cowboystatedaily.com/2025/12/03/60-million-wyoming-rare-earth-plant-to-challenge-china-ne...
2•Bender•16m ago•1 comments

GitHub Notifications triggered by spam accounts are now correctly hidden

https://github.blog/changelog/2025-12-04-notifications-triggered-by-spam-accounts-are-now-correct...
3•sdko•19m ago•2 comments

The Manifestation of Name Stereotypes in Facial Appearance [pdf]

https://www.apa.org/pubs/journals/releases/psp-pspa0000076.pdf
1•jerlendds•20m ago•0 comments

Paramount Launches Offer to Acquire Warner Bros

https://ir.paramount.com/news-releases/news-release-details/paramount-launches-all-cash-tender-of...
1•stack_framer•21m ago•1 comments

Has the cost of building software just dropped 90%?

https://martinalderson.com/posts/has-the-cost-of-software-just-dropped-90-percent/
2•martinald•22m ago•0 comments