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

Nobel Laureate in Chemistry Omar M. Yaghi joins Tsinghua University full-time

https://www.tsinghua.edu.cn/en/info/1244/14984.htm?trk=feed_main-feed-card_feed-article-content
1•osnium123•59s ago•1 comments

Americans of all ages are spending less time socializing

https://www.axios.com/2026/07/05/americans-socializing-decline
1•toomuchtodo•1m ago•0 comments

A Point Of View: How China sees a multicultural world (2012)

https://www.bbc.com/news/magazine-20083309
1•keepamovin•3m ago•0 comments

Android's Earthquake Alerts Saved My Life in Venezuela

https://www.howtogeek.com/androids-earthquake-alerts-saved-my-life-in-venezuela/
1•olgs•9m ago•1 comments

Technical Report on the Pangram AI-Generated Text Classifier (2024)

https://arxiv.org/abs/2402.14873
1•imustachyou•10m ago•0 comments

Can you run every line of code in Super Mario Bros.? [video]

https://www.youtube.com/watch?v=o0gOALTvkcc
1•medbar•11m ago•0 comments

Shrimple – A Simpler, Nicer Markdown

https://qount25.dev/Shrimple/
1•usrbinenv•14m ago•0 comments

McKinsey: Catalyzing competitiveness – Where investment happens and why

https://www.mckinsey.com/mgi/our-research/catalyzing-competitiveness-where-investment-happens-and...
1•TMWNN•19m ago•0 comments

Lord of the Roths

https://www.propublica.org/article/lord-of-the-roths-how-tech-mogul-peter-thiel-turned-a-retireme...
5•Anon84•23m ago•0 comments

Rules for Building SaaS in 2026

https://old.reddit.com/r/SaaS/comments/1unw3aj/the_18_rules_for_building_saas_in_2026/
2•nomilk•23m ago•0 comments

Show HN: Openleetcode – Run LeetCode solutions locally against open tests

https://github.com/therepanic/openleetcode/releases/tag/v1.0.1
1•therepanic•23m ago•0 comments

People Who Will Thrive in the AI Age

https://www.theatlantic.com/ideas/2026/06/ai-open-ai-anthropic/687689/
2•longhaul•24m ago•0 comments

What is Bending Spoons? The little-known AOL and Vimeo owner that's now public

https://techcrunch.com/2026/07/05/what-is-bending-spoons-everything-to-know-about-aols-acquirer/
1•jack1689•25m ago•2 comments

Understanding Postgres 19 Property Graphs

https://neovintage.org/posts/postgres-property-graphs/
3•craigkerstiens•30m ago•0 comments

GitHub Freno: cooperative, highly available throttler service

https://github.com/github/freno
1•nateb2022•31m ago•0 comments

Castro Podcasts – Things I got wrong: Support

https://www.uncommonapps.nyc/p/castro-podcasts-things-i-got-wrong-support
1•dabluck•31m ago•0 comments

Designing Market Data for Deterministic Replay

https://electronictradinghub.com/designing-market-data-for-deterministic-replay/
1•silahian•45m ago•0 comments

Show HN: A faithful MUMPS 76 anniversary implementation – the original NoSQL DB

https://github.com/rochus-keller/mumps/
2•Rochus•46m ago•1 comments

AI Costs More Than the People It Replaced

https://www.forbes.com/sites/jemmagreen/2026/07/02/ai-costs-more-than-the-people-it-replaced/
3•nreece•48m ago•0 comments

Entropyseal

https://www.entropyseal.com/
1•malgorithms•53m ago•1 comments

The Sneakerweb

https://sneakerweb.org/
11•GalaxyNova•1h ago•2 comments

The Unstoppable Force of A.I. Hype Is Meeting One Immovable Fact

https://www.nytimes.com/2026/06/30/opinion/ai-agents-steal-jobs-employment.html
3•mikeocool•1h ago•3 comments

EMF and Kids

https://ashishb.net/parenting/emf/
2•ashishb•1h ago•0 comments

Show HN: An unmetered LLM API–$6/month, no token tracking, no limits

https://yolo-auto.com/
3•yolo-auto•1h ago•0 comments

Children Adopt AI 3x Faster Than Adults – and We're Not Ready

https://hackenewhome.blogspot.com/p/ai-is-taking-over-kids-lives-unicef.html
6•odilelof•1h ago•8 comments

Midjourney: From AI slop to medical research [video]

https://www.youtube.com/watch?v=4nzzpUKhj1M
1•davgoldin•1h ago•0 comments

Disclosing information about the self is intrinsically rewarding

https://www.pnas.org/doi/10.1073/pnas.1202129109
4•highfrequency•1h ago•0 comments

Lost and Found

https://walzr.com/lost-and-found
5•walz•1h ago•1 comments

New secrets from ancient Vesuvius scrolls

https://www.cbsnews.com/news/ancient-scrolls-mount-vesuvius-eruption-ai-decoding/
4•gmays•1h ago•0 comments

GPT-5.6 Sol Ultra will be in Codex

https://twitter.com/thsottiaux/status/2073933490513752151
66•mfiguiere•1h ago•24 comments