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

13-year-old boy has become the first person to be cured of a deadly brain cancer

https://www.upworthy.com/boy-cured-of-dipg-ex1
1•thunderbong•1m ago•0 comments

Jimmy Kimmel Should Have Strong Odds at the Supreme Court

https://www.politico.com/news/magazine/2025/09/18/jimmy-kimmel-supreme-court-first-amendment-laws...
2•JumpCrisscross•3m ago•0 comments

R7912 and 7912AD Transient Waveform Digitizers

https://vintagetek.org/7912-high-speed-digitizer/
1•stmw•7m ago•0 comments

Ig Nobel Prize Ceremony (2025)

https://improbable.com/2025/09/18/today-the-2025-ig-nobel-prize-ceremony/
1•zdw•8m ago•0 comments

A Neurobiological Framework for Solving the Execution Problem

https://atnself.com/blog/post/the-central-thesis-of-autonomous-self/
1•mxgzx•9m ago•0 comments

Good Times in River City: Bridgetown 2.0 Is Here

https://www.bridgetownrb.com/release/bridgetown-v2-river-city-released/
1•mooreds•11m ago•0 comments

2025 Ig Nobel Prize Winners

https://arstechnica.com/science/2025/09/meet-the-2025-ig-nobel-prize-winners/
4•sohkamyung•13m ago•0 comments

Ask HN: Walled garden dwellers: What keeps you there?

5•FlyingAvatar•16m ago•1 comments

Dark patterns killed my wife's Windows 11 installation

https://www.osnews.com/story/143376/dark-patterns-killed-my-wifes-windows-11-installation/
3•greatquux•16m ago•0 comments

Show HN: Bffgen – A Go CLI to generate secure Back end-for-Front end APIs

https://github.com/RichGod93/bffgen
1•richgodusen•18m ago•0 comments

Show HN: PlanAway – this app will get your trips out the group chat

https://planaway.xyz/
1•mehrajhasan•26m ago•1 comments

M7.8 earthquake in Kamchatka; 0.2M Tsunami Warning in Japan

https://www.jma.go.jp/bosai/map.html#3/47.695/134.912/&elem=warn&contents=tsunami&lang=en
1•timr•26m ago•2 comments

Classic recessive-or-dominant gene dynamics may not be so simple

https://news.stanford.edu/stories/2025/09/classic-recessive-dominant-gene-dynamics-pesticide-resi...
2•hhs•29m ago•0 comments

Montblanc Digital Paper – Handwriting, Reimagined [video]

https://www.youtube.com/watch?v=V257AKpGPhs
1•llm_nerd•30m ago•1 comments

Jawboning

https://www.merriam-webster.com/dictionary/jawboning
1•rolph•36m ago•0 comments

Loews Theaters Welcomes You (1985) [video]

https://www.youtube.com/watch?v=vZo7nns4YGk
1•austinallegro•41m ago•0 comments

Want to piss off your IT department? Are the links not malicious looking enough?

https://phishyurl.com/
9•jordigh•41m ago•1 comments

A Group of Socialists Created a Hit Game That Tore Them Apart

https://www.nytimes.com/interactive/2025/09/17/arts/disco-elysium-zaum-estonia.html
1•psawaya•42m ago•1 comments

Nvmath-Python: Nvidia Math Libraries for the Python Ecosystem

https://github.com/NVIDIA/nvmath-python
3•gballan•43m ago•0 comments

Show HN: Build AI chat interfaces with Melony

https://github.com/ddaras/melony
1•ddaras•48m ago•0 comments

Roast my startup – Make Roomba Play with Kids/Dogs/Cats, bring you toilet paper

2•iliaov•49m ago•1 comments

Solid-state EV batteries on the way – Mercedes' partner plans deliveries by 2025

https://electrek.co/2025/09/18/solid-state-ev-batteries-on-track-for-2025-says-mercedes-partner/
6•breve•53m ago•0 comments

AI tools are making the world look weird

https://strat7.com/blogs/weird-in-weird-out/
3•gaaz•54m ago•0 comments

"Tending and Befriending" Is the 4th Survival Strategy

https://www.psychologytoday.com/ca/blog/building-resiliency-to-trauma/202303/tending-and-befriend...
2•srid•54m ago•0 comments

Intellectual Jokes That Teach

https://linch.substack.com/p/intellectual-jokes
2•LinchZhang•54m ago•1 comments

The Self-Betrayal Heuristic (SBH)

1•dgeep•55m ago•0 comments

Budget Cuts Paralyse Austrian DPA: NGO Complaint to the EU Commission

https://noyb.eu/en/budget-cuts-paralyse-austrian-dpa-ngo-complaint-eu-commission
2•latexr•57m ago•0 comments

California electric vehicle drivers will lose carpool lane privileges

https://www.latimes.com/california/story/2025-09-10/california-ev-drivers-will-lose-carpool-lane-...
5•PaulHoule•59m ago•1 comments

The grind tactic in Lean 4 [video]

https://www.youtube.com/watch?v=pxpIzxrLkHA
1•matt_d•1h ago•0 comments

Increased vCPU for Workers Builds on paid plans

https://developers.cloudflare.com/changelog/2025-09-07-builds-increased-cpu-paid/
1•NicoJuicy•1h ago•0 comments