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

Anthropic's "Bombshell" Just Blew Up the AI Hype Machine [video]

https://www.youtube.com/watch?v=ccx8Z1Ieols
1•shantnutiwari•2m ago•0 comments

California Bans AI from Making Medical Decisions on Its Own

https://www.governing.com/artificial-intelligence/california-bans-ai-from-making-medical-decision...
1•randycupertino•2m ago•0 comments

Ebpfos: Compile Linux into eBPF

https://github.com/eunomia-bpf/ebpfos
1•polyrand•3m ago•0 comments

Security Analysis: What WordPress Plugins Are Attackers Looking for Nowadays?

https://noc.org/articles/what-wordpress-plugins-are-being-exploited-the-most
1•sucuri2•5m ago•0 comments

Mao Zedong, the CCP and the politics of thought control (2019)

https://china-journal.org/2019/03/10/brainwashing-the-people-mao-zedong-the-chinese-communist-par...
1•1659447091•6m ago•0 comments

Berkshire Hathaway Busted for Gas Price Manipulation the Day Warren Buffet Died

https://www.thebignewsletter.com/p/warren-buffett-was-caught-manipulating
3•toomuchtodo•8m ago•1 comments

MealChase – Restaurant Deals and Daily Specials

https://mealchase.com/
1•vitalypet•8m ago•0 comments

AI may not be a bubble. But the way we're financing it might be

https://finance.yahoo.com/technology/ai/articles/ai-may-not-bubble-way-052200550.html
1•cybermango•10m ago•0 comments

Napster is back as an AI company

https://finance.yahoo.com/technology/ai/articles/napster-back-again-time-ai-110000735.html
1•cybermango•11m ago•0 comments

TensorLean: Formal Verification of Production GPU Kernels

https://arxiv.org/abs/2612.05654
2•matt_d•14m ago•0 comments

Ex-Trump adviser John Bolton jailed for mishandling classified material

https://www.bbc.com/news/articles/cwvg2ryy4np3o
5•onemoresoop•17m ago•0 comments

CryptanalysisBench: Can LLMs do Cryptanalysis? (July 2026)

https://arxiv.org/abs/2607.18538
1•nycdatasci•17m ago•0 comments

I had some help understanding ML-KEM-768

https://claude.ai/artifact/QWvC2WTEx31s4Dh8vi3ktL
1•adriankast•18m ago•0 comments

Optimizing beyond the compiler with kernel‑checked equivalence proofs

https://tacitresearch.com/blog/proved-faster-machine-code/
1•nathan-barry•20m ago•0 comments

What do teachers do that AI tutors cannot?

https://punyamishra.com/2026/12/04/what-do-teachers-do-that-ai-tutors-cannot/
4•speckx•22m ago•2 comments

Unexpected Materials We Are Running Out Of

https://kenorland.substack.com/p/5-unexpected-materials-we-are-running
2•Tannerkine•22m ago•0 comments

Witness Encryption from Merkle Puzzles

https://eprint.iacr.org/2026/3124
2•gjvc•23m ago•0 comments

JSON with Commas and Comments

https://nigeltao.github.io/blog/2021/json-with-commas-comments.html
5•gregsadetsky•23m ago•0 comments

I lost a night's sleep over a flight 360 days away

https://businessclassdata.substack.com/p/i-lost-a-nights-sleep-over-a-flight
1•norsak•26m ago•0 comments

Confuse Some SSH Bots

https://altchan.org/sh/36
4•Bender•26m ago•3 comments

AI is making capital and labor interchangeable

https://blog.eladgil.com/p/ai-is-making-capital-and-labor-interchangeable
3•gmays•26m ago•1 comments

Find Me

https://sokospot-hfsdw9.v2.appdeploy.ai/
2•chloemin•27m ago•0 comments

Agentic Development Overdrive

2•anuptalwalkar•27m ago•0 comments

OpenAI Discloses P=BQP to Intelligence Community

https://twitter.com/MartinShkreli/status/2128941103760220336
15•k0mplex•30m ago•3 comments

Further, Not Faster: Advice for Early-Career Scientists in the Age of AI

https://bastian.rieck.me/blog/2026/further/
2•speckx•30m ago•0 comments

Adding an agent to your podcast routine with webhooks and WebMCP

https://docs.wherever.audio/posts/agents-podcast-routine/
1•aegrumet•33m ago•1 comments

Show HN: MacBlaze: Edit big cloud files on your Mac without downloading

https://macblaze.space/
1•tamilini92•34m ago•1 comments

An idea whose time has come – again (2016)

https://inroadsjournal.ca/idea-whose-time-come/
2•amai•35m ago•0 comments

MMLiNK – a pedantic web browser that never renders anything

https://mmlnk.com/
1•craigconstantin•37m ago•0 comments

Fujitsu accelerates transformer-based LLMs up to 10x with new AI architecture

https://global.fujitsu/en-global/pr/news/2026/12/04-02
2•peter_d_sherman•37m ago•0 comments