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

Teaching rhythm, not rules: free browser "timer" that helps people enjoy Dota 2

https://dotaguide.net/
1•sunshiney0992•2m ago•1 comments

Mithridatism

https://en.wikipedia.org/wiki/Mithridatism
2•thunderbong•2m ago•0 comments

The DC-ROMA II is the fastest RISC-V laptop and is odd

https://www.jeffgeerling.com/blog/2025/dc-roma-ii-fastest-risc-v-laptop-and-odd
1•ingve•8m ago•0 comments

Ask HN: Numerical Implementation in New Language?

1•keepamovin•8m ago•0 comments

Sam Altman issues 'code red' at OpenAI as ChatGPT contends with rivals

https://www.theguardian.com/technology/2025/dec/02/sam-altman-issues-code-red-at-openai-as-chatgp...
1•PaulHoule•13m ago•0 comments

Infomaniak launches a free and sovereign AI

https://euria.infomaniak.com/
1•pm-security•13m ago•1 comments

Contestants fight polar bears and snakes in new AI reality show

https://www.thetimes.com/uk/media/article/non-player-combat-ai-reality-show-mh95fkkmj
1•petethomas•15m ago•0 comments

AI Dominance Plans Threatened by Administration Own Attacks on Solar, Wind Power

https://www.bloomberg.com/news/articles/2025-12-04/trump-s-ai-dominance-plans-threatened-by-his-o...
2•zekrioca•16m ago•1 comments

Orderzup best shipping aggregator in India launching soon

1•orderzup•18m ago•0 comments

Current tech scenario in Miami and future potential?

1•samyadn12•19m ago•0 comments

Over 12,000 Startup Ideas Right Here

https://startupideasdb.com
1•suhaspatil101•20m ago•0 comments

Trump greenlights Nvidia H200 AI chip sales to China if U.S. gets 25% cut

https://www.cnbc.com/2025/12/08/trump-nvidia-h200-sales-china.html
1•mgh2•22m ago•0 comments

Swipe File: Save and Share Ad Inspirations Efficiently

https://denote.net/swipe-file
1•MiaTaylor•23m ago•0 comments

Longplayer: A thousand-year-long composition turns 25 (2024)

https://longplayer.org/news/2024/12/31/a-thousand-year-long-composition-turns-25/
1•1659447091•25m ago•0 comments

Show HN: Zonformat– 35–60% fewer LLM tokens using zero-overhead notation

https://zonformat.org
1•ronibhakta•31m ago•0 comments

The reality of living overseas [video]

https://www.youtube.com/watch?v=tvcWuqKhsGg
2•keepamovin•34m ago•1 comments

I built a tiny API that detects champion loss in B2B SaaS

https://github.com/malukutty/champion-drift-detector-api
1•bhaviav100•35m ago•1 comments

It Is Possible to Import PST Contacts into My Android Phone

1•JonaScott•35m ago•0 comments

Solving SQL Bolt

https://www.youtube.com/watch?v=QvVePlwTa14
1•implabinash•36m ago•1 comments

A.I. Videos Have Flooded Social Media. No One Was Ready

https://www.nytimes.com/2025/12/08/technology/ai-slop-sora-social-media.html
1•insane_dreamer•37m ago•2 comments

Show HN: I built a "Netflix-grade" retro game player for the browser(React+WASM)

https://github.com/muditjuneja/koin-deck-retro-player
1•beingmudit•42m ago•0 comments

My Apple notes should've been my journal

1•lolisimus•44m ago•0 comments

DHH and Open Source

https://ma.tt/2025/12/dhh-open-source/
6•software_writer•48m ago•0 comments

How Bad is Dialup Internet in 2025? [video]

https://www.youtube.com/watch?v=T-qyNFjZaQs
1•pabs3•52m ago•0 comments

Australia's social media ban for children has left big tech scrambling

https://www.bbc.com/news/articles/ce86381p70eo
3•tartoran•56m ago•0 comments

Brain activity changes throughout the day

https://news.umich.edu/how-brain-activity-changes-throughout-the-day/
1•XzetaU8•1h ago•0 comments

Forkable Swaps in AI generated food images for its catering partners

https://sf.eater.com/restaurant-news/210033/forkable-ai-generated-food-photos-catering
1•forthwall•1h ago•0 comments

Artificial Intelligence Index Report (2025) [pdf]

https://hai.stanford.edu/assets/files/hai_ai_index_report_2025.pdf
1•saikatsg•1h ago•0 comments

AI and recruitment: Are we in a race to the bottom?

https://www.bbc.com/news/articles/ced6jv76091o
1•1659447091•1h ago•0 comments

More proof of how good Gemini Live is [video]

https://www.youtube.com/shorts/XJufw4jPJ1w
2•sin4ch•1h ago•0 comments