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

60-second zero-login silence gift personalized by name (?for=Name)

https://webdeploy-sable.vercel.app/reset.html?for=HN&lang=en&ref=hn
1•eliancoheron•1m ago•0 comments

What local AI setups run on your hardware? (206 real builds)

https://localusecases.com/
1•oddsidequest•2m ago•0 comments

We Fail to Build Software – BSC 2026 [video]

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

Tora

https://tora-app-kyl7a.ondigitalocean.app/
1•MoOsama76•3m ago•0 comments

WebM vs. MP4: How to Choose the Right Video Format

https://www.red5.net/blog/webm-vs-mp4/
1•mondainx•5m ago•0 comments

Text, Filters, and Now Vectors in One Postgres Index

https://www.paradedb.com/blog/filter-aware-vector-search
2•philippemnoel•6m ago•0 comments

Qwen4-35B-A3B, 300 tok/s at 200K context on a single RTX 4090

https://github.com/spk-c/ninfer-all-rtx4090
2•slpdev•7m ago•0 comments

One-person companies gain ground as AI reshapes entrepreneurship in China

https://en.people.cn/n3/2026/1202/c90000-20525148.html
2•daureg•9m ago•0 comments

Astra Low Performances for ML

https://twitter.com/luciobaio/status/2129271113318580728
2•luciobaiocchi•10m ago•1 comments

Families who can't sleep near a New Jersey data center are now suing Microsoft

https://www.techspot.com/news/114837-families-who-cant-sleep-near-new-jersey-data.html
2•ViktorRay•11m ago•1 comments

Using AI to Back-Port a 2026 Swift App to Mac OS X Tiger

https://ben1777.substack.com/p/using-ai-to-back-port-a-2026-swift
1•webworker•15m ago•1 comments

The Next Way to Talk to A.I. Might Be Not Talking at All

https://www.nytimes.com/2026/12/01/technology/tacit-ai-dictation.html
1•bookofjoe•17m ago•1 comments

Yes, P-256 is probably cooked

https://www.int08h.com/post/how-cooked-are-your-keys/
2•int08h•20m ago•1 comments

AI Agents Enable Mass Profiling: Matching PIs at 18x Lower Cost

https://arxiv.org/abs/2612.02638
3•datascientist•23m ago•0 comments

Ask HN: AI was supposed to give us time to think, do you have it?

1•franze•24m ago•1 comments

Bill Emmott: Wrongdoing in Nvidia scandal is not the threat to US nat'l security

https://mainichi.jp/english/articles/20261203/p2g/00m/0op/024000c
1•giuliomagnifico•24m ago•0 comments

Kennel – an IDE for the AI era v3.0.0 is relaeased

https://github.com/eranif/kennel
1•Kennel•25m ago•1 comments

Baby first in England to be diagnosed with SMA through newborn screening

https://www.itv.com/news/central/2026-12-01/baby-diagnosed-with-rare-condition-at-eight-days-than...
1•thunderbong•26m ago•0 comments

I Went to a Shrimp Welfare Protest

https://psychotechnology.substack.com/p/i-went-to-a-shrimp-welfare-protest
1•eatitraw•26m ago•0 comments

Joint statement from OpenAI and Anthropic on recent advances in cryptography

https://openai.com/index/joint-statement-recent-advances-cryptography/
16•kuberwastaken•27m ago•2 comments

QNET Blockchain: An open-source post-quantum Layer 1 project

https://github.com/AIQnetLab/QNet-Blockchain
1•lordwatezydseer•32m ago•0 comments

Joint statement from OpenAI and Anthropic on recent advances in cryptography

https://openai.com/index/joint-statement-recent-advances-cryptography/
75•robbiet480•33m ago•47 comments

AI and Literary Language Syllabus

https://twitter.com/anecdotal/status/2129256075581128897
1•HR01•33m ago•0 comments

Joint statement from Anthropic and OpenAI on recent advances in cryptography

https://www.anthropic.com/news/joint-statement-cryptography
69•aghuang•35m ago•14 comments

Commentary on the Law of Prize and Booty (Hugo Grotius, 1603) [pdf]

https://oll-resources.s3.us-east-2.amazonaws.com/oll3/store/titles/1718/1350_LFeBk.pdf
2•indigodaddy•35m ago•1 comments

Find and fix context propagation gaps in distributed systems

https://contextpropagation.io/
1•jaguar75•36m ago•0 comments

Google Public DNS

https://dns.google
2•jpalomaki•37m ago•0 comments

WebMCP

https://developer.chrome.com/docs/ai/webmcp
1•tosh•38m ago•0 comments

I trained AI on 37M CS2 chats [video]

https://www.youtube.com/watch?v=NadOCVWr05Y
1•Bender•38m ago•0 comments

Polish your GitHub profile with free widgets

https://gitpassport.com/widgets
1•onmyway133•38m ago•1 comments