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

Building an I-beam building in Far West, Nepal

https://niteshpant.com/essays/beams-of-steel-dhangadhi
1•niteshpant•42s ago•1 comments

Spiked '60 Minutes' Segment Spreads Online

https://www.hollywoodreporter.com/tv/tv-news/spiked-60-minutes-segment-posted-online-airs-canada-...
1•dweinus•1m ago•1 comments

Personalized "For You" Feed for Preprints

https://www.researchhub.com/popular
1•Tardigrade10•5m ago•0 comments

Amazon blocks 1,800 job applications from suspected North Korean agents

https://www.bbc.com/news/articles/c3e0kw80wwzo
2•dabinat•10m ago•0 comments

America Has to Feel Fair

https://substack.com/app-link/post
1•barry-cotter•10m ago•0 comments

Is Data Curation the New Feature Engineering?

https://www.elicited.blog/posts/is-data-curation-new-feature-engineering/
1•justanotheratom•11m ago•1 comments

Show HN: Efpix – A flood protocol with E2EE and metadata protection

https://arxiv.org/abs/2509.08248
1•shinymonitor•11m ago•0 comments

Data centres coming for what's left of Australia's green export superpower dream

https://www.crikey.com.au/2025/12/23/data-centres-renewable-energy-projects-sun-cable/
1•defrost•13m ago•0 comments

Olaf: Bringing an Animated Character to Life in the Physical World [video]

https://www.youtube.com/watch?v=-L8OFMTteOo
1•gmays•15m ago•0 comments

Anna's Archive Backed Up Spotify, Plans to Release 300TB Music Archive

https://torrentfreak.com/annas-archive-backed-up-spotify-plans-to-release-300tb-music-archive/
2•gslin•15m ago•0 comments

In a surprise announcement, Tory Bruno is out as CEO of United Launch Alliance

https://arstechnica.com/space/2025/12/in-a-surprise-announcement-tory-bruno-is-out-as-ceo-of-unit...
1•class3shock•16m ago•0 comments

Show HN: A smile filter that adds a natural-looking smile

https://www.ailabtools.com/features/smile-filter/
1•minimk•19m ago•1 comments

The LocalNetworkAccessAllowedForUrls policy you never deployed

https://patchmypc.com/blog/the-localnetworkaccessallowedforurls-policy-you-never-deployed/
1•rref•20m ago•0 comments

Granular Convection

https://en.wikipedia.org/wiki/Granular_convection
1•thunderbong•24m ago•0 comments

The Secret Behind TikTok That The US Can’t Buy

https://www.youtube.com/watch?v=LYtIRoUO6OI
2•java-man•25m ago•0 comments

Llmon – The First Web Adversarial AI Firewall

https://llmon.dev
1•jfolkins•26m ago•1 comments

Bolmo: Byteifying the Next Generation of Language Models

https://arxiv.org/abs/2512.15586
1•mcyc•42m ago•0 comments

People who wish for the end of developers

1•haebom•46m ago•1 comments

DataFlow: Using LLMs to Build Reproducible, End-to-End Data Pipelines

https://huggingface.co/papers/2512.16676
1•Mey0320•52m ago•1 comments

814M Tokens for <$500 with Cursor

https://i.imgur.com/xmqslal.png
1•danielandrews43•54m ago•1 comments

FCC Updates Covered List to Include Foreign UAS and UAS Critical Components [pdf]

https://docs.fcc.gov/public/attachments/DOC-416839A1.pdf
14•Espressosaurus•59m ago•1 comments

Elementary OS 8.1 Available Now

https://blog.elementary.io/os-8-1-available-now/
4•NN708•1h ago•0 comments

Archivists Posted the 60 Minutes Cecot Segment Bari Weiss Killed

https://www.404media.co/archivists-posted-the-60-minutes-cecot-segment-bari-weiss-killed/
20•m-hodges•1h ago•0 comments

Top lawmaker asks White House to address open-source software risks

https://www.cybersecuritydive.com/news/open-source-security-tom-cotton-letter-white-house/808379/
2•WaitWaitWha•1h ago•0 comments

NYT reporter sues Google, xAI, OpenAI over alleged copyright infringement

https://www.reuters.com/legal/government/new-york-times-reporter-sues-google-xai-openai-over-chat...
4•alephnerd•1h ago•0 comments

In Defense of Curiosity

https://davidbau.com/archives/2025/12/09/in_defense_of_curiosity.html
1•sksq96•1h ago•0 comments

Codex vs. Claude Code (Today)

https://build.ms/2025/12/22/codex-vs-claude-code-today/
2•mergesort•1h ago•1 comments

Color Schemes

https://observablehq.com/@d3/color-schemes
2•ramoz•1h ago•0 comments

Epstein Files Browser

https://epstein-files-browser.vercel.app/?collection=VOL00002
3•sksq96•1h ago•0 comments

135•jtgeibel•1h ago