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

Future of Vancouver's repair cafés uncertain after city cuts funding for 2026

https://www.cbc.ca/news/canada/british-columbia/city-of-vancouver-cuts-funding-repair-cafe-9.7006210
1•cf100clunk•47s ago•0 comments

Did Asteroids Invent Gum Billions of Years Ago?

https://www.universetoday.com/articles/did-asteroids-invent-gum-billions-of-years-ago
1•fcpguru•3m ago•0 comments

Thoughts on AI progress (Dec 2025)

https://www.dwarkesh.com/p/thoughts-on-ai-progress-dec-2025
1•paulpauper•8m ago•0 comments

How Much Are US Firms Using AI Tools?

https://conversableeconomist.com/2025/12/02/how-much-are-us-firms-using-ai-tools/
1•paulpauper•8m ago•0 comments

Pyramids to Columns

https://blog.andrewyang.com/p/pyramids-to-columns
1•paulpauper•8m ago•0 comments

One week left to wean Australian kids off social media platforms

https://www.themandarin.com.au/304293-one-week-left-to-wean-australian-kids-off-social-media-plat...
1•mooreds•9m ago•0 comments

High-quality, ubiquitous, and portable telemetry for effective observability

https://opentelemetry.io/
1•mooreds•12m ago•0 comments

Could a Gut Hormone Be Holding the Key to Switching on Human Fat Burning?

https://comuniq.xyz/post?t=593
1•01-_-•12m ago•0 comments

Yahoo Terms of Service

https://legal.yahoo.com/us/en/yahoo/terms/otos/index.html
1•mooreds•14m ago•1 comments

X blocks EU Commission's advertising account after €120M fine

https://www.euractiv.com/news/x-blocks-eu-commissions-advertising-account-after-e120-million-fine/
3•giuliomagnifico•14m ago•1 comments

Preparing your repo for AI development

https://www.speakeasy.com/blog/making-gram-ai-friendly
1•subomi•15m ago•0 comments

The Inverted Triangle Architecture: how to manage large CSS Projects (2017)

https://www.freecodecamp.org/news/managing-large-s-css-projects-using-the-inverted-triangle-archi...
1•ciconia•17m ago•0 comments

Is There Any Hope for Asynchronous Design? (2024)

https://semiengineering.com/is-there-any-hope-for-asynchronous-design/
3•DustinEchoes•21m ago•0 comments

Solar Saved Pakistan's Economy [video]

https://www.youtube.com/watch?v=zEL1vcA6VuI
3•thelastgallon•21m ago•0 comments

I Tried and Failed to Rebuild the 1996 Space Jam Website with Claude

https://j0nah.com/i-failed-to-recreate-the-1996-space-jam-website-with-claude/
3•thecr0w•24m ago•0 comments

India's Biggest Airline Falls into Chaos, Canceling More Than 1k Flights

https://www.nytimes.com/2025/12/05/business/india-indigo-airline-cancelations.html
2•bookofjoe•26m ago•1 comments

Prosopometamorphopsia and Facial Hallucinations [pdf]

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(14)61690-1/fulltext
1•thunderbong•26m ago•0 comments

Sega Dreamcast port of Star Fox 64

https://github.com/jnmartin84/sf64-dc
1•Venn1•28m ago•0 comments

Endangered bottlenose whale population begins to recover off Canada's east coast

https://news.mongabay.com/2025/12/a-rare-bright-spot-for-whales-decades-of-conservation-pay-off-f...
3•randycupertino•29m ago•0 comments

The Quest to Replace Passwords: a comparative evaluation of Web authn schemes

https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-817.html
2•BinaryIgor•33m ago•0 comments

Show HN: Why I built (yet another) AI writing app for macOS

https://textwisely.ai/
1•EdgarsHQ•35m ago•0 comments

MYRA stack – Modern Java FFM based libraries

https://www.roray.dev/blog/myra-stack/
1•clanky•36m ago•0 comments

Apple's chief chip architect has reportedly talked to CEO Tim Cook about leaving

https://www.tomshardware.com/tech-industry/apples-chief-chip-architect-for-the-last-decade-has-re...
1•gloxkiqcza•37m ago•1 comments

Crash, bang, wallop what a picture – Shane Black's film writing techniques

https://www.theguardian.com/film/2009/may/22/shane-black-12-rounds
1•lifeisstillgood•38m ago•0 comments

Australian teens are planning to get around their social media ban

https://www.newscientist.com/article/2507241-how-australian-teens-are-planning-to-get-around-thei...
2•ironyman•38m ago•1 comments

Semantic Compression (2014)

https://caseymuratori.com/blog_0015
3•tosh•48m ago•0 comments

What the heck is going on at Apple?

https://www.cnn.com/2025/12/06/tech/apple-tim-cook-leadership-changes
9•methuselah_in•48m ago•3 comments

Fluently AI English app review, by a qualified English teacher [video]

https://www.youtube.com/watch?v=B5hQkrOGnmY
2•runarberg•50m ago•2 comments

Show HN: SigmaTest: A no-holds, < 60KB C testrunner with memleak detection

https://github.com/Quantum-Override/sigma-test/tree/v1.0.0-release
1•thebadkraft•52m ago•1 comments

Domain Modeling Made Denumerable

https://github.com/sgoguen/DenseCheck/blob/main/docs/2025/12/02-Happy-FS-Advent.md
1•dread88•52m ago•0 comments