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

Dormant Bitcoins Moving

https://pubkey.health/
1•larrysalibra•1m ago•0 comments

Package Conflict Management and Build System Documentation

https://ziglang.org/devlog/2026/#2026-12-04
1•tosh•7m ago•0 comments

Portal – see how your system fits together as agents change it

https://getportal.build/
1•fredagsfys•12m ago•0 comments

Local models are good enough now

https://www.potluria.com/blog/local-models-are-good-enough-now
4•potluri•16m ago•0 comments

Flutter 3.50

https://flutter.dev/blog/whats-new-in-flutter-3-50
1•k9294•17m ago•0 comments

Show HN: Explore the Galaxy Connected by Trail System

https://milkywaylocal.com/en/
1•jins__earth•17m ago•0 comments

Breaking SMM with [the] slowest instruction ever [video]

https://www.youtube.com/watch?v=O43cvXUmQ80
1•peter_d_sherman•18m ago•0 comments

Show HN: Injectguard – offline prompt-injection scanner for text AI agents read

https://github.com/engineer948/injectguard
1•aicardinal239•18m ago•0 comments

One Mathematical Operator to Evolve Them All: EML Meets Genetic Programming

https://www.researchgate.net/publication/407558031_Evolutionary_minimalism_a_comparative_analysis...
1•swogger•20m ago•1 comments

I made a free tool to learn drawing by turning 3D forms and following steps

https://tech-dex.github.io/headstart/head-guide.html
1•matarael•24m ago•1 comments

EasySeam – One mouse and keyboard for many PCs, even at login/UAC

https://easyseam-site.pages.dev/en/
1•acquleo•24m ago•0 comments

YouTube Is Cutting AI-Generated Music Out of Subscription Money It Pays Artists

https://blog.youtube/news-and-events/youtube-ai-music-artist-protections/
1•DeepLogin•26m ago•0 comments

Invitation to Debauchery

https://cinemasojourns.com/2026/12/05/invitation-to-debauchery/
1•jjgreen•29m ago•0 comments

TODOs JJ Style

https://bwc9876.dev/blog/jj_todo/
1•birdculture•29m ago•0 comments

I Asked an RSA Inventor If AI Could Break His Encryption [video]

https://www.youtube.com/watch?v=F_amnD9Hw80
1•binyu•30m ago•0 comments

Best free tool to remove GIF background

https://gifnobg.com/
1•andriymtv•31m ago•0 comments

Gareth C.C. Chang (1943-August 27, 2024) member of the Apple Board of Directors

https://apple.fandom.com/wiki/Gareth_Chang
1•Bluestein•31m ago•0 comments

U.S. Space Force design system

https://www.rocketcom.com/portfolio/astro-ux-design-system/
2•ssernikk•36m ago•0 comments

Show HN: Y U No Build?! Ask for software you want, build the software they want

1•vfuzzy•41m ago•0 comments

Show HN: Decorate My Tree Online – Zero-login Christmas tree locked until Dec 25

https://decoratemytreeonline.com/
1•visiohex•58m ago•0 comments

After 7 years in court, Meta says 9 million claims belong in arbitration

https://www.reuters.com/legal/government/after-7-years-court-meta-says-9-million-claims-belong-ar...
3•gwu78•1h ago•1 comments

Sleep timing is associated with lunar gravity

https://www.pnas.org/doi/10.1073/pnas.2612981123
2•doener•1h ago•0 comments

VNULL-rs – We only care about speed

https://github.com/Flova/vNULL-rs
1•flova•1h ago•0 comments

Nokia Composer in 512 Bytes

https://zserge.com/posts/nokia/
1•sph•1h ago•0 comments

I don't use a mobile phone – Umberto Eco [video]

https://www.youtube.com/watch?v=WE0LD7bXkZo
1•maremmano•1h ago•0 comments

P-256 and the Cost of Compatibility

https://dottedmag.net/blog/p256-system-level-conflict/
3•dottedmag•1h ago•0 comments

Bliss lies on the other side of crushing, crushing boredom

https://www.henrikkarlsson.xyz/p/boredom
1•jger15•1h ago•0 comments

Scams, Lawsuits and Data Centers: The Man Married to Alice Huang

https://www.nytimes.com/2026/12/04/business/alice-huang-husband-nvidia.html
2•gwu78•1h ago•0 comments

Show HN: Mu – A self hosted personal workspace

https://micro.mu?v=2.23.0
2•asim•1h ago•0 comments

How Userspace CUDA Programs Communicate with Nvidia GPUs on Linux

https://shubham0204.github.io/blogpost/programming/cuda-executable-ioctl
1•shubham0204•1h ago•1 comments