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

Elegant Types in Ruby

https://github.com/low-rb/low_type
1•x3qt•2m ago•0 comments

Multiple Indicted on Charges of Theft and Re-Sale of Restaurant Cooking Oil

https://www.justice.gov/usao-sdia/pr/multiple-chinese-nationals-indicted-charges-related-theft-an...
2•737min•4m ago•0 comments

Science sleuths raise concerns about scores of bioengineering papers

https://www.nature.com/articles/d41586-025-03870-3
2•bookofjoe•4m ago•1 comments

Show HN: AI Fiction Duel – adversarial storytelling structure for LLMs

https://aifictionduel.com/
1•pfeaster•4m ago•0 comments

Molecular Effects of Indoor Tanning

https://www.science.org/doi/10.1126/sciadv.ady4878
1•thunderbong•7m ago•0 comments

Name your projects something fun

https://substack.com/inbox/post/181413808
1•lazy_afternoons•11m ago•0 comments

Show HN: Logforth, A versatile and extensible Rust logging framework

https://github.com/fast/logforth
1•tison•11m ago•0 comments

"Gentle" Lecture on the Wigner's Semicircle Law in Python Package Leymosun

https://github.com/msuzen/leymosun/blob/main/lectures/wigner_semicircle.ipynb
1•northlondoner•13m ago•0 comments

Supervisor Jackie Fielder is about to ban all new R&D in the Mission SF

https://twitter.com/terronk/status/1999532633097712090
2•donsupreme•13m ago•0 comments

Surgery on Chromium Source Code: Replace DevTools HTTP Handler with Redis PubSub

https://www.deadf00d.com/post/chromium-pub-sub-redis.html
1•deadf00d•15m ago•0 comments

Palmeiras and Flamengo became South America's football superpowers

https://www.theguardian.com/football/2025/nov/28/how-palmeiras-and-flamengo-became-south-americas...
2•PaulHoule•16m ago•0 comments

Meta "deletes" years of conversations with friends/family

2•effectkai•16m ago•0 comments

I built this free app Word monitor, check it out

https://catchwords-app.onrender.com
1•ardi_c_cc•16m ago•0 comments

Undefinable yet Indispensable

https://aeon.co/essays/the-word-religion-resists-definition-but-remains-necessary
2•Brajeshwar•18m ago•0 comments

Building the Weir Language

https://elijahpotter.dev/articles/building-the-weir-language
1•chilipepperhott•19m ago•0 comments

Silk Road-linked Bitcoin wallets move $3M to new address

https://cointelegraph.com/news/silk-road-wallets-transfer-3m-bitcoin-new-address
1•flipped•19m ago•1 comments

Ad-Free Social Media

https://treechat.com
1•mitya777•21m ago•0 comments

Show HN: Online ASN1 DER parser and editor

https://crypto.qkation.com/asn1
1•TheBestTvarynka•22m ago•0 comments

OpenChessClub: Free and OS Chess Club Management Software

https://github.com/OpenChessClub/openchessclub
1•whatamidoingyo•24m ago•0 comments

Oracle's $300B OpenAI Deal Has Investors Worried About Its AI Spending

https://www.bloomberg.com/news/features/2025-12-12/oracle-s-300-billion-openai-deal-has-investors...
2•gmays•24m ago•0 comments

Karen Wetterhahn

https://en.wikipedia.org/wiki/Karen_Wetterhahn
3•ZeljkoS•26m ago•0 comments

Chinese Supplier Knocked Me Off So I Sued Them and Won (All 184 of Them) [video]

https://www.youtube.com/watch?v=Q2EdZvXwh0Y
2•yomismoaqui•26m ago•0 comments

Formal Axiomatization of Advaita Vedanta in Lean 4

https://github.com/matthew-scherf/Advaita
1•hamiecod•27m ago•0 comments

Ctop: Top-Like Container/Docker Monitoring Tool

https://github.com/bcicen/ctop
1•indigodaddy•28m ago•1 comments

After 20 years in hospitality, I built an AI that learns to run a restaurant

https://schedulifypro.com/
2•SenseiOS•29m ago•3 comments

A browser extension to monitor, intercept, and debug JavaScript sinks

https://github.com/kevin-mizu/domloggerpp
1•doomerhunter•32m ago•0 comments

Ask HN: What framework/tool should I use for building agents?

1•realberkeaslan•35m ago•1 comments

I built a small site to help people write birthday messages

https://wishsparkle.com/
1•dannicou•36m ago•1 comments

Trump chickens out – Magnitsky Act edition

https://www.cbsnews.com/news/us-removes-brazilian-supreme-court-judge-alexandre-de-moraes-sanctio...
2•smnthermes•36m ago•1 comments

Barnum's Law of CEOs

https://www.antipope.org/charlie/blog-static/2025/12/barnums-law-of-ceos.html
1•pavel_lishin•36m ago•0 comments