frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•1y 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

HexCore: Low-Latency Paged KV Cache Allocator in C++20 and CUDA

https://github.com/password162156/hexcore-llm
1•XXXGhost•19s ago•0 comments

A Brief History of the Internet's Favorite Scam

https://thereader.mitpress.mit.edu/a-brief-history-of-the-internets-favorite-scam/
1•the-mitr•1m ago•0 comments

Show HN: A Handwritten Blogging Platform

https://handwritten.blog/
1•emilesilvis•2m ago•0 comments

Judge says Trump still lacks evidence for Anthropic supply-chain risk

https://techcrunch.com/2026/07/30/judge-says-trump-admin-still-lacks-evidence-for-anthropic-suppl...
1•lai0602•2m ago•0 comments

How to speed up the Rust compiler in July 2026

https://nnethercote.github.io/2026/07/31/how-to-speed-up-the-rust-compiler-in-july-2026.html
1•throawayonthe•3m ago•0 comments

Best Screen Recording Software for Mac in 2026

https://screensage.pro/blog/best-screen-recording-software-mac
2•auv1107•5m ago•0 comments

Show HN: One page personal calendar with hierarchy

2•eltonlin•6m ago•0 comments

How to plant a nuclear plant in Iran

https://www.digitaldigging.org/p/how-to-plant-a-nuclear-plant-in-iran
3•LordAtlas•6m ago•0 comments

I Migrated a 350k-Line Java/JSP Application to TypeScript in Five Days

https://gokulakrishna.co/2026/07/31/migrated-350000-line-java-jsp-application-typescript-five-days/
2•gkrishna•8m ago•0 comments

When Nintendo Sued Blockbuster

https://dfarq.homeip.net/when-nintendo-sued-blockbuster/
2•jnord•9m ago•0 comments

Beauty In My Backyard

https://worksinprogress.co/issue/beauty-in-my-backyard/
2•footest•13m ago•0 comments

Polynomial Trajectory Optimization for Quadrotors

https://www.staszewski.xyz/blog/collision-replanning/
2•kamilstaszewski•14m ago•0 comments

Show HN: ZenResume – Free, local-first ATS resume builder with AI import

https://www.zenresume.online/
1•jagadees21•14m ago•0 comments

YouTube Shorts Scraper and MCP Connector

https://apify.com/techforce.global/youtube-shorts-scraper
1•techforce_actor•16m ago•0 comments

Decode resistor color bands instantly

https://www.pockeng.com/tools/resistor.html
1•levario•16m ago•0 comments

AdaMAST: Adaptive Failure Taxonomies for Improving LLM Agents

https://multi-agent-systems-failure-taxonomy.github.io/AdaMAST/blogs/adamast_paper/
1•matt_d•17m ago•0 comments

Longtime Bay Area tech conference is leaving San Francisco after a 50-year run

https://www.sfchronicle.com/tech/article/semicon-west-moving-phoenix-22368164.php
1•iancmceachern•22m ago•0 comments

The Cities That Said Yes to Drugs

https://www.theatlantic.com/magazine/2026/09/city-drug-addiction-harm-reduction-policy/687967/
1•helsinkiandrew•22m ago•0 comments

Should Airbnb Add Ads?

1•Taikhoom2010•23m ago•0 comments

What does China's 15th '5-year plan' for renewables mean for climate change?

https://www.carbonbrief.org/qa-what-does-chinas-15th-five-year-plan-for-renewables-mean-for-clima...
1•xbmcuser•24m ago•0 comments

Tempered – AI-Powered PC optimizer that won't show a metric it can't measure

https://tempered.to/
1•AutomationGoat•26m ago•0 comments

Forgotten memories can leave silent traces in the brain

https://www.fmi.ch/news-events/articles/news.html?news=672
2•XzetaU8•29m ago•0 comments

Teen hackers tell BBC how police are helping them use their skills for good

https://www.bbc.co.uk/news/articles/cn0nqpy1rk4o
2•mmarian•30m ago•0 comments

DeepSeek-V4-Flash Update

https://api-docs.deepseek.com/updates/
13•dnhkng•31m ago•7 comments

SodaSlim Natural Weight Management Supplement for Wellness

https://finance.yahoo.com/healthcare/articles/sodaslim-releases-updated-2026-highlights-122400710...
1•Ikerphan•31m ago•0 comments

ChatGPT has been silently routing Pro to mini for several months

https://articles.fmt.kr/2026-07/oai
2•ilsubyeega•32m ago•1 comments

LinkedIn adds a button to report AI-generated 'slop'

https://techcrunch.com/2026/07/30/linkedin-adds-a-button-to-report-ai-generated-slop/
2•robin_reala•33m ago•0 comments

US Government map of Africa mislabels every country at global conference

https://www.reuters.com/world/africa/us-government-map-africa-mislabels-every-country-global-conf...
2•adg001•34m ago•0 comments

Remote

https://www.textclad.com/2026/07/30/remote/
1•kxrm•35m ago•0 comments

SAP's Big Push for Tabular AI. What It Means for Enterprises

https://pub.towardsai.net/saps-big-push-for-tabular-ai-what-it-means-for-enterprises-7dc3af2a1d8c...
1•justinvan•37m ago•0 comments